API description provider not lifting Container type of properties #56764
Labels
area-minimal
Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc
feature-openapi
Milestone
Is there an existing issue for this?
Describe the bug
This bug comes from an issue we face using Swashbuckle. Analyzing the issue domaindrivendev/Swashbuckle.AspNetCore#2658, Swashbuckle is not capable of documenting the properties of a class that is used with AsParameters, because when checking the documentation Swashbuckle looks for the Container type and is not present in the documentation of the MetadataType
Expected behavior
To have documentation about the ContainerType to be able to set this documentation with Swashbuckle.
More info in microsoft/OpenAPI.NET#1712
cc:@captainsafia
Expected Behavior
Provide the ContainerType of the properties that come from a AsParameters class
Steps To Reproduce
Create an endpoint with AsParameter class and check if the ContainerType is present
Exceptions (if any)
No response
.NET Version
Dotnet8
Anything else?
No response
The text was updated successfully, but these errors were encountered: