Expose ParameterInfo for Minimal Actions API Explorer (#36439) (#36547)
* Expose ParameterInfo for Minimal Actions API Explorer
Populate the ParameterDescriptor for Minimal Actions parameters with
a type that implements IParameterInfoParameterDescriptor so that any
custom attributes on the parameter can be inspected.
Relates to #36438.
* Remove file-scoped namespace
Addresses review feedback.
Co-authored-by:
Martin Costello <martin@martincostello.com>
显示
- src/Mvc/Mvc.ApiExplorer/src/EndpointMetadataApiDescriptionProvider.cs 11 个添加, 3 个删除...ApiExplorer/src/EndpointMetadataApiDescriptionProvider.cs
- src/Mvc/Mvc.ApiExplorer/src/EndpointParameterDescriptor.cs 14 个添加, 0 个删除src/Mvc/Mvc.ApiExplorer/src/EndpointParameterDescriptor.cs
- src/Mvc/Mvc.ApiExplorer/test/EndpointMetadataApiDescriptionProviderTest.cs 42 个添加, 0 个删除...plorer/test/EndpointMetadataApiDescriptionProviderTest.cs
想要评论请 注册 或 登录