jlagerweij / swagger-springweb-maven-plugin

Maven plugin to generate Swagger JSON files to use in the Swagger UI.
4 stars 1 forks source link

getLog().info(format("Found %d services.", service.getApis().size())); #5

Open EasonFeng5870 opened 9 years ago

EasonFeng5870 commented 9 years ago

Found 0 services.

Hi, May I ask is this plugin only can generate service.json for my personal springweb ?

can I generate the service.json if my project isn't spring-web project or how?

Thanks very much!

Best Regards, Eason Feng

jlagerweij commented 9 years ago

The project searches for @Controller annotated classes in the configured packages in baseControllerPackage setting. It then uses the RequestMapping annotation of spring-web to find services and creates the service.json.

Please note: This project will no longer be updated.