Closed mschout closed 4 years ago
In OAS3, requestBody properties can have a default like this:
default
requestBody: required: true content: application/json: schema: type: object properties: foo: type: string default: bar
Where if foo is not given in the request body, the value bar must be used instead.
foo
bar
Fixes #176
It does not seem as this code handle defaults deep inside a document.
Either way, please see the comment on #176.
In OAS3, requestBody properties can have a
default
like this:Where if
foo
is not given in the request body, the valuebar
must be used instead.Fixes #176