Closed
Description
The responses generated from a controller advice are currently added to every operation. However in some cases it is impossible to get this error/response on a certain operation. Therefore I would suggest to only add all generic responses if no @ApiResponse
annotation is present on an operation. If there are @ApiResponse
annotations on an operation I would only extend this config with the generated generic response so one could configure which of the generic responses are shown for which operation.