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

Use original swagger file instead of embed it in a go file #1

Open
thoriqsatriya opened this issue Aug 1, 2018 · 2 comments
Open

Comments

@thoriqsatriya
Copy link

thoriqsatriya commented Aug 1, 2018

Don't you think it's better if the swagger files are the original swagger files, instead of embedded into go files?
And I think it's better if we can specify where to look the swagger file (specify the swagger-file directory path in the project).

The reason is sometimes we need to modify some of swagger files, for example theme color, icon and title.
What do you think?

And also, what's the license of this repo?

Thank you

@thoriqsatriya thoriqsatriya changed the title Use raw swagger file instead of embed it in a go file Use original swagger file instead of embed it in a go file Aug 1, 2018
@easonlin404
Copy link
Member

I agree with you It's more flexible if you want to modified the swagger files. We will add new method that can specify swagger files directory path.

@bluntdel
Copy link

How is it going ? @easonlin404
We need add some params like "sn" to all my post request,so we need modify swagger.js
How can we realize it ?

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

3 participants