-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implicit Path Parameters #120
Comments
@jwest-apigee while convenient for human creation, that's going to create issues in tooling. |
FYI here is a sample we are working on: https://github.com/LXlagent3/Usergrid-API/blob/master/AdminUser.yaml where the verbosity (albeit better than 1.2) makes it quite long. In this case it is a hierarchical path pattern where orgId and appId are repeated on almost every path. |
Also, from #107, this would enable defining path parameters at the At some point we should revisit whether to diverge YAML and JSON to better support human authorship. It may be that the current approach is reasonably descriptive now, and it might remain compatible with that future, more convenient expression. |
guys, implicit params aren't going to happen in this release. But see here: |
Awesome, you beat us to it :) Jeff West | Products | apigee | m: +1.214.450.9378 | twitter @jeffreyawest @apigee | Skype jeffrey.a.west On Aug 29, 2014, at 12:23 PM, Tony Tam [email protected] wrote:
|
Honestly, I think having the UI create path params automatically would be a good way to go. It's not a spec issue per se but a "workflow automation" |
Closing this now. If this is something to take into account for a future version of the spec, please reopen at https://github.com/wordnik/swagger-spec. |
Breaking out this topic from issue #107.
In the absence of a supported truly hierarchical path approach it would be helpful to have implicit path parameters. Building on #/parameters in #107:
I propose the following, continue supporting the current parameter approach(es), including #107, unchanged. In the case of resolving the definition of path parameters:
@earth2marsh @fehguy thoughts?
Example below
The text was updated successfully, but these errors were encountered: