Skip to content

Revise parameter handling for snippets

Latest
Compare
Choose a tag to compare
@ErikWittern ErikWittern released this 13 Jul 18:46

This version brings major improvements to handling parameters in snippets, thanks to amazing work by @michaelgwelch! It includes:

  • Properly handle examples (#81)
  • Support for "exploding" parameters that with arrays / objects (#83)
  • Resolve $ref nodes for header parameters (#84)
  • Properly lookup parameter values both at path and then at path.method for all types of parameters (#85)
  • Added support for cookie parameters, label and matrix style path parameters, space and pipe delimited query parameters, resolving references in example schemas

All above cases are supported by a solid suite of tests. Thanks again, @michaelgwelch!!!