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
Right now, it is possible to add description to response types by using WithOpenApi:
WithOpenApi
.WithOpenApi(options => { options.Responses["400"].Description = "Describe what would cause this."; return options; });
though I think a more concise way of doing it seems to be missing here, like on MVC:
✏️ Minimal APIs are looking awesome!!
The text was updated successfully, but these errors were encountered:
Possible dupe of #39927
Sorry, something went wrong.
Triage: Closing as a dupe.
No branches or pull requests
Description
Right now, it is possible to add description to response types by using
WithOpenApi
:though I think a more concise way of doing it seems to be missing here, like on MVC:

✏️ Minimal APIs are looking awesome!!
The text was updated successfully, but these errors were encountered: