swagger-maven-plugin icon indicating copy to clipboard operation
swagger-maven-plugin copied to clipboard

toggle an option to automatically generate swagger annotations on jax-rs annotated classes

Open nddipiazza opened this issue 2 years ago • 1 comments

see this issue here: https://stackoverflow.com/questions/76804907/given-an-existing-jersey-jax-rs-application-is-there-a-way-to-generate-openap

basically - we have older code we want a contract on it without having to modify a ton of course code with annotations.

I propose we create an option to allow automatically adding the swagger annotations on any jax-rs @Path annotated methods such that you get a nice swagger specification generated without having to touch any source code from an older legacy project.

you can then do contract first development with incurring very little cost.

nddipiazza avatar Jul 31 '23 17:07 nddipiazza