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
So, if a method is annotated with multiple @ApiResponse annotations that define the same responseCode, it is not clear what should happen. It would be nice if that was prevented by the library.
The text was updated successfully, but these errors were encountered:
The response code it the key in a map, e.g.
See also https://swagger.io/docs/specification/v3_0/describing-responses/
So, if a method is annotated with multiple
@ApiResponse
annotations that define the sameresponseCode
, it is not clear what should happen. It would be nice if that was prevented by the library.The text was updated successfully, but these errors were encountered: