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

Disabling swagger-generator on non-development environments. #21

Closed
Aristona opened this issue Mar 13, 2018 · 3 comments · Fixed by #22
Closed

Disabling swagger-generator on non-development environments. #21

Aristona opened this issue Mar 13, 2018 · 3 comments · Fixed by #22

Comments

@Aristona
Copy link
Contributor

Hi,

Is there any way to disable this module in non-development environments?

@theoomoregbee
Copy link
Owner

not implemented, you can check this
http://stackoverflow.com/a/21612024/486547
balderdashy/sails#1077

@Aristona
Copy link
Contributor Author

Can we put a parameter into your package, such as: disabled: true? If it's possible, I can work on a PR.

@theoomoregbee
Copy link
Owner

yea cool, np, also update the readme so others can easily use 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

Successfully merging a pull request may close this issue.

2 participants