-
Notifications
You must be signed in to change notification settings - Fork 23
Params should not be required by default #52
Comments
Where is this not happening? |
We have a yaml file that doesn't have the property specified, but a127 is requiring the parameter to be there, unless required is explicitly set to false. |
What's the pertinent part of your Swagger file and what is the actual failure message? You might need to use |
Here is the error when the property 'required' is missing from the yaml: { This is what's in the yaml: On Mon, Feb 8, 2016 at 3:50 PM, Jeremy Whitlock [email protected]
Scott Ko | Engineering | apigee http://apigee.com/ | m: |
This has been fixed but I don't see how this is happening in a127. This is an error in sway (that was fixed) but sway isn't used by a127. |
I'm also receiving this error |
Unless explicitly stated, a param should not be required by default. In the markdown it states:
required |
boolean
| Determines whether this parameter is mandatory. If the parameter isin
"path", this property is required and its value MUST betrue
. Otherwise, the property MAY be included and its default value isfalse
.The text was updated successfully, but these errors were encountered: