Skip to content
New issue

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

Custom error message on swagger-ui #10323

Open
infoShare opened this issue Feb 26, 2025 · 0 comments
Open

Custom error message on swagger-ui #10323

infoShare opened this issue Feb 26, 2025 · 0 comments

Comments

@infoShare
Copy link

Is it possible to add a way to display custom error message on the swagger ui ?

https://github.com/swagger-api/swagger-ui/blob/master/dist/swagger-ui-bundle.js

Image

Image

There was such possibility on HTTP/1.1 using statusText property but this field is not supported on HTTP/2.

https://developer.mozilla.org/en-US/docs/Web/API/Response/statusText

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant