Forum Discussion

thomasleesai's avatar
thomasleesai
New Contributor
7 years ago
Solved

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...
  • RonRatovsky's avatar
    7 years ago

    Path parameters have to be required (following the spec) - add

    required: true

    to your parameter definitions, and the errors would go away.