We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, we are not able to define headers for responses.
It would be good to have such possibility, the same as we can do it for requests.
The text was updated successfully, but these errors were encountered:
0d81c03
It's now possible as follows:
responses = { @OpenApiResponse( status = "400", content = @OpenApiContent(from = EntityDto[].class), headers = { @OpenApiParam(name = "X-Error-Message", description = "Error message", type = String.class) } ) }
You can use 6.0.1-SNAPSHOT or wait for the next stable release :)
Sorry, something went wrong.
dzikoysk
No branches or pull requests
Currently, we are not able to define headers for responses.
It would be good to have such possibility, the same as we can do it for requests.
The text was updated successfully, but these errors were encountered: