How can I return empty InternalServerError? Without any message/body? #680
Unanswered
danechitoaie
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I currently have something like this:
This makes DeleteResponse::InternalServerError be visible in JSON spec and Swagger UI docs. Is there any way I can omit that?
Or how to modify the handler to return different InternalServerError (not from the DeleteResponse enum) that has only status code and no body?
Beta Was this translation helpful? Give feedback.
All reactions