openapi-schema-pydantic icon indicating copy to clipboard operation
openapi-schema-pydantic copied to clipboard

feat: Add parameter location enum.

Open mike-oakley opened this issue 2 years ago • 0 comments

Adds a ParameterLocation enum. This:

  • Improves validation by rejecting invalid keywords which don't match the spec at parse-time.
  • Improves developer experience, allows IDE autocompletion to show allowed values.
  • Improves downstream generation library experience by allowing iteration over the allowed values.

mike-oakley avatar May 13 '22 15:05 mike-oakley