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
required | boolean | Determines whether this parameter is mandatory. If the parameter location is "path", this property is REQUIRED and its value MUST be true. Otherwise, the property MAY be included and its default value is false.
In the specification for OpenAPI 3.x I noticed that path parameters must have required: true
I would like to suggest, that path parameters could also be optional e.g.
server.com/path/required/optional/optional
My implemented web service contains a path parameter which is optional
In my yaml I will state required: false
The text was updated successfully, but these errors were encountered:
required | boolean | Determines whether this parameter is mandatory. If the parameter location is "path", this property is REQUIRED and its value MUST be true. Otherwise, the property MAY be included and its default value is false.
In the specification for OpenAPI 3.x I noticed that path parameters must have required: true
I would like to suggest, that path parameters could also be optional e.g.
server.com/path/required/optional/optional
My implemented web service contains a path parameter which is optional
In my yaml I will state required: false
The text was updated successfully, but these errors were encountered: