Closed RafaeLeal closed 4 years ago
In the OpenAPI-Specification 2.0 (same as Swagger 2.0) you can nest parameters like this:
{ "paths": { "/api/pets/{id}": { "get": { "method": "get", "parameters": [ { "name": "watch", "type": "string", "in": "query" } ] }, "parameters": [ { "name": "id", "type": "string", "in": "path", "required": true } ] } } }
But martian is only looking into parameters inside get (or any other http verb)
martian
parameters
get
Reference: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#pathItemObject
Hi,
Thank you for this, a very welcome addition.
In the OpenAPI-Specification 2.0 (same as Swagger 2.0) you can nest parameters like this:
But
martian
is only looking intoparameters
insideget
(or any other http verb)Reference: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#pathItemObject