Hi, all,
In my project, I have some classes which they all have dependencies
with each other. Like Menu and MenuItem.
When I config log level to DEBUG, start project, then a lot of log will
print in console and it seems it will never stop.
Log:
[DEBUG] [2016-11-10
10:00:45][springfox.documentation.schema.DefaultModelDependencyProvider]Adding
type Lcom/test/domain/IOfferSkuData; for parameter offerSku
[DEBUG] [2016-11-10
10:00:45][springfox.documentation.schema.DefaultModelDependencyProvider]Recursively
resolving dependencies for type Lcom/test/domain/IOfferSkuData;
[DEBUG] [2016-11-10
10:00:45][springfox.documentation.schema.DefaultModelDependencyProvider]Adding
type Lcom/test/domain/IOfferingData; for parameter offering
[DEBUG] [2016-11-10
10:00:45][springfox.documentation.schema.DefaultModelDependencyProvider]Recursively
resolving dependencies for type Lcom/test/domain/IOfferingData;
Configuration:
public Docket api() {
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(withClassAnnotation(Controller.class))
.build()
.apiInfo(apiInfo());
}
<!-- Enables swagger-ui-->
<mvc:resources mapping="swagger-ui.html"
location="classpath:/META-INF/resources/"/>
<mvc:resources mapping="/webjars/**"
location="classpath:/META-INF/resources/webjars/"/>
<!-- Include a swagger configuration-->
<bean name="swaggerConfig" class="com.xcrm.igo.all.SwaggerConfig"/>
Anyone knows about this issue?
Thank you.
--
You received this message because you are subscribed to the Google Groups
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.