thomasleesai
7 years agoNew Contributor
Parameters - "path" not working
I'm getting a validation error stating that the "in" property for a parameter can only be "Cookie, Header, or Query". Based on the documentation I thought "path" should also be an option. On occasion, the document will validate and not show any errors, but after additional changes, the incorrect validation errors will show again.
Here is a link to the document in question:
https://app.swaggerhub.com/apis/saiglobal/compliance360-employee/2.0.0
Path parameters have to be required (following the spec) - add
required: true
to your parameter definitions, and the errors would go away.