-
Notifications
You must be signed in to change notification settings - Fork 329
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
Showing
2 changed files
with
80 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters