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

aspiration changed #16

Open
AndwareSsj opened this issue Jan 25, 2017 · 1 comment
Open

aspiration changed #16

AndwareSsj opened this issue Jan 25, 2017 · 1 comment

Comments

@AndwareSsj
Copy link

AndwareSsj commented Jan 25, 2017

I wish to change gen json way. make version route usefully in swagger doc. for example:

version:v1
http://127.0.0.1:4000/v1/swagger

version:v2
http://127.0.0.1:4000/v2/swagger

v1 is swagger json file and v2 is swagger json file.

so we can redefine swagger doc "tag", and make it rich to custom like it:

desc "user" do
  tag "user"
end
@falood
Copy link
Member

falood commented Jan 25, 2017

You're right, I should make tag match swagger protocol, will do it next version.
Also thank you for your suggestion about the DSL.

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