Closed MugeSo closed 9 years ago
Why do you need to capture the input type (parameter.in) in the key? Wouldn't parameters existing under the same path require unique names anyway?
Because the swagger spec says:
The list MUST NOT include duplicated parameters. A unique parameter is defined by a combination of a name and location.
Parameters property of Path Item Object should also be used for validation. And it can be overridden by parameters property of operation object.
https://github.com/swagger-api/swagger-spec/blob/master/versions/2.0.md#pathItemObject