Skip to content
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

Add support for referencing synonym routes #59

Closed
jwyuen opened this issue May 21, 2014 · 2 comments
Closed

Add support for referencing synonym routes #59

jwyuen opened this issue May 21, 2014 · 2 comments

Comments

@jwyuen
Copy link

jwyuen commented May 21, 2014

What I mean by this is sometimes you have two different routes that are essentially the same thing. For example:

GET class/{classId}/student/{studentId}

GET student/{studentId}

Instead of duplicating api doc code, you could just reference the other existing route.

fehguy added a commit that referenced this issue Sep 8, 2014
@webron
Copy link
Member

webron commented Sep 19, 2014

@jwyuen - there's a problem here, specifically with your example. Your example shows that the first path has two path params and the second one has a single path param. How would you refer one to the other?

@webron
Copy link
Member

webron commented Mar 5, 2015

Closing this in favor of #213. Feel free to provide more information there.

@webron webron closed this as completed Mar 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants