Open AndwareSsj opened 7 years ago
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
You're right, I should make tag match swagger protocol, will do it next version. Also thank you for your suggestion about the DSL.
tag
I wish to change gen json way. make version route usefully in swagger doc. for example:
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: