You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to avoid code duplication, it could be interesting to have ApiResponses and ApiResponse annotations on class or interface. Furthermore, it would be interesting to add such annotation on exceptions since it's quite common to map an exception to a specific HTTP response. Methods throwing annotated exception would be automatically documented.
Obviously it would imply some drawbacks such as a more scattered code documentation.
I didn't find any issue or discussion in the google group on this topic. If it was discussed before, feel free to tell me what was the conclusion and close the issue.
The text was updated successfully, but these errors were encountered:
In order to avoid code duplication, it could be interesting to have ApiResponses and ApiResponse annotations on class or interface. Furthermore, it would be interesting to add such annotation on exceptions since it's quite common to map an exception to a specific HTTP response. Methods throwing annotated exception would be automatically documented.
Obviously it would imply some drawbacks such as a more scattered code documentation.
I didn't find any issue or discussion in the google group on this topic. If it was discussed before, feel free to tell me what was the conclusion and close the issue.
The text was updated successfully, but these errors were encountered: