-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Allow OpenAPI's response descriptions to be set using Minimal API #57963
Comments
Is there any workaround for this? |
You could use the |
Hi @martincostello ! I know you do a lot of work with ASP.NET Core and OpenAPI. I'd like to ask you what we can do about this source-incompatibility problem. I would love to create a PR for this issue, but I could only present an API proposal when I know how I could work around the mentioned problem. Could you help me figure this out? |
I think that's something for the ASP.NET Core to give a steer on, as they'd have to approve any API additions to make this work. |
/cc @captainsafia |
I've decided to close this issue as my design proposal contains more information and context: #58724 |
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
I am currently working on #55656 to add better OpenAPI
description
support to API responses using[ProducesResponseType]
and other related attributes with MVC (Controllers).As you can see in the comments, that issue excludes Minimal API support. Quoting @captainsafia :
Describe the solution you'd like
This feature request extends Minimal API's OpenAPI's
Produces..
and other methods to accept a new optional, null-by-defaultdescription
parameter.Additional context
No response
The text was updated successfully, but these errors were encountered: