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
I want to get an analog
responses: '400': desctiprion: "Parse error"
But with code below i just get "Bad request" in description
apiRouting { route("example/create") { throws( HttpStatusCode.BadRequest, ExceptionExampleDto("Cannot parse"), { ex: Error -> ExceptionExampleDto(ex.message!!) }) { ... } }
Is it possible?
The text was updated successfully, but these errors were encountered:
the description is generated from the status code IIRC, try to create a new status code with HttpStatusCode(400, "Parse error")
HttpStatusCode(400, "Parse error")
Sorry, something went wrong.
No branches or pull requests
I want to get an analog
But with code below i just get "Bad request" in description
Is it possible?
The text was updated successfully, but these errors were encountered: