Open fabMrc opened 9 years ago
+1
I also have the same problem, json is generated but without any API detected
I've also tryed adding
<swaggerApiReader>com.github.kongchen.swagger.docgen.reader.SpringMvcApiReader</swaggerApiReader>
but it's also not working.
Anyone can help? :) :+1:
Ok finally I get the working example. @fabMrc and @mrvijaytiwari please check simple sample of working plugin with Spring MVC annotations on this fork:
https://github.com/khipis/swagger-maven-example
:cookie:
+1
Nice I am waiting to use it without swagger specific annotation (only spring mvc) is it possible ?
If you use Spring Boot you have to make sure that your @RequestMapping
uses the value
attribute instead of path
. Otherwise, no API is detected.
See: #467
I try without any success to generate static files from swagger maven plugin.
Document.html and json are generated but without any API detected
I have my rest controller annotated like bellow