You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The MVC Framework converts a 200 response with "null" response body into a 204 No Content response. Currently only the 200 response is shown in the generated OpenAPI.
Expected Behavior
When the return type of the action method is nullable, the operation should also define a 204 response.
Is there an existing issue for this?
Describe the bug
The MVC Framework converts a 200 response with "null" response body into a 204 No Content response. Currently only the 200 response is shown in the generated OpenAPI.
Expected Behavior
When the return type of the action method is nullable, the operation should also define a 204 response.
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
9.0.100-rc.1.24452.12
Anything else?
Discovered while investigating #58617
The text was updated successfully, but these errors were encountered: