OpenApi: The IEndpointParameterMetadataProvider is not used for Controllers #58178
Closed
1 task done
Labels
area-minimal
Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc
feature-openapi
Is there an existing issue for this?
Describe the bug
I want to generate a OpenApi json for my Controller based Api.
I have the following controller Code:
The XmlPlaceholder class looks like this:
The generated OpenAPI json looks like this:
Expected Behavior
I would expect the same behavior as for minimal apis.
There the metadata is used and produces the following output:
Steps To Reproduce
https://github.com/DavidBal/-Demo_IEndpointParameterMetadataProvider_for_Controller/tree/master
Exceptions (if any)
No response
.NET Version
9.0.100-rc.1.24452.12
Anything else?
The text was updated successfully, but these errors were encountered: