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
You can achieve the expected behaviour by adding the default property in the Parameter Object instead of the Schema Object but then OpenAPI 3.0 validation complains that you cannot use schema and default together. Indeed in the OpenAPI 3.0 specs there is no default in the Parameter Object.
The text was updated successfully, but these errors were encountered:
Demonstration API definition
petstore-expanded-defaultinschema.yaml
Expected Behavior
Current Behavior
Context
You can achieve the expected behaviour by adding the
default
property in the Parameter Object instead of theSchema Object
but then OpenAPI 3.0 validation complains that you cannot useschema
anddefault
together. Indeed in the OpenAPI 3.0 specs there is nodefault
in the Parameter Object.The text was updated successfully, but these errors were encountered: