swagger-samples icon indicating copy to clipboard operation
swagger-samples copied to clipboard

No example of how to port class-level @Api to Swagger 2.0

Open jacek99 opened this issue 5 years ago • 0 comments

One of the most frustrating aspects of Swagger 2 annotations is the removal of the class-level @Api annotation, which was logical, clear and easy to understand.

Can you please update the Petstore example to clearly show how to group related REST operations together. I looked at the Resource classes and there are no annotations at the class level whatsoever.

jacek99 avatar Feb 19 '20 22:02 jacek99