Closed codyaray closed 4 years ago
We have a param that looks like this:
{ name: 'email', in: 'query', required: false, schema: { '$ref': '#/components/schemas/SearchFilter' }, example: 'marty.mcfly@example.com', description: 'Filter the results by a partial search of email.' }
We just need to dereference the schema if its provided this way.
Added a unit test case too. Unfortunately none of the existing samples have this usage, so I just inlined one.
@codyaray I think this is now addressed by https://github.com/ErikWittern/openapi-snippet/pull/39
If not, we can reopen this.
We have a param that looks like this:
We just need to dereference the schema if its provided this way.
Added a unit test case too. Unfortunately none of the existing samples have this usage, so I just inlined one.