<artifactId>swagger-springmvc</artifactId>
<version>1.0.0</version>
Created a bean which does:
private SpringSwaggerConfig springSwaggerConfig;
@Autowired
public void setSpringSwaggerConfig(SpringSwaggerConfig springSwaggerConfig) {
this.springSwaggerConfig = springSwaggerConfig;
}
@Bean
public SwaggerSpringMvcPlugin customImplementation()
{
return new SwaggerSpringMvcPlugin(this.springSwaggerConfig).apiInfo(apiInfo())
.includePatterns("api/path*");
}
private ApiInfo apiInfo() {
ApiInfo apiInfo = new ApiInfo("Swagger",
"APIs for Swagger",
"http://google.com", "con...@google.com",
"Private, Confidential", "");
return apiInfo;
}Have added Api documentation to a few endpoints and trying to access localhost:8080/api-docsgetting this:<apiVersion>1.0</apiVersion><swaggerVersion>1.2</swaggerVersion><apis/><authorizations/>APIs came as empty, can someone help me?Thanks.
You’re using an ancient version of a product. Google for Springfox and start using that instead.
--
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 swagger-swaggers...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggersocket+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Swagger" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/swagger-swaggersocket/qZF-eULhy_8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to swagger-swaggersocket+unsub...@googlegroups.com.
I can’t say. Springfox is a community project and not one that we can support. Better refer to their document and file a ticket on the project if needed.
--
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggers...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Swagger" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/swagger-swaggersocket/qZF-eULhy_8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to swagger-swaggers...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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 swagger-swaggers...@googlegroups.com.