Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* issue #172: spec/buggy Path/Operation handling Current code expect Path object to contain only method/Operation declaration. Path object may contain $ref, summary, description, servers and parameters entries. If available, this entries are default values to apply children Operation. This fix drops unused entries ($ref, summary, description, servers) and merge parameters: * unicity based on name/in unicity * Operation value takes precedence This fix allows to parse spec file attached with #172 * issue #172: fix regression for $ref params Parameter may be a ``{ '$ref': '...' }``. We need to use $ref, name, in attributes for processing parameter list merging. * issue #172: added testcase and fix Path and methods parameters are merged to handle completion. Merge process is fixed to allow completion when parameters are configured only at path level.
- Loading branch information