cyprieng / swagger-parser

Give useful informations about your swagger files
MIT License
62 stars 59 forks source link

added support for path-level parameters #10

Closed dtao closed 8 years ago

dtao commented 8 years ago

According to the spec Path Item Objects can include parameters:

http://swagger.io/specification/#pathItemObject

"A list of parameters that are applicable for all the operations described under this path. These parameters can be overridden at the operation level, but cannot be removed there."

This commit adds support for this scenario and modifies the existing tests to provide coverage for it.

cyprieng commented 8 years ago

Thanks for the contribution ! Can you just fix the test for python 2.6 ?

flavianh commented 8 years ago

Bump @dtao

dtao commented 8 years ago

Yes, I'll fix for Python 2.6.

cyprieng commented 8 years ago

Thanks !