Hello Swagger Community,
I am facing a problem that refers to the @ApiOperation annotation. The swagger core tells us to use the notes for example requests and responses:
The notes allows you to give significantly more details about the operations (e.g. you can include request samples and responses here). swagger core on github
I think it's not good for readable code. I have to write many stuff in the notes, for example special dependencies, behaviour of the resource and like swagger said: body exaamples, and not only in JSON... A java REST resource where the most of the java code are "notes"? Not very nice...
So, annotations have to be static. Has someone an idea to outsource the notes of the annotation?
Thank you very much!
Kind regards, Fabian