Skip to content

Set required parameter attribute in OpenAPI metadata #35081

@captainsafia

Description

@captainsafia

By default, OpenAPI assumes that all parameters are optional parameters.

https://swagger.io/docs/specification/describing-parameters/

We don't currently propagate any information that says required: true for parameters that are required in an endpoint

This builds on top of the work done in #32375

Metadata

Metadata

Assignees

Labels

area-minimalIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcfeature-minimal-actionsController-like actions for endpoint routingold-area-web-frameworks-do-not-use*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions