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

Feature swagger auto generate option #43

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

thiagoarioli
Copy link
Contributor

Prevent Swagger documentation generate on CRUD

@JKHeadley
Copy link
Owner

JKHeadley commented Sep 3, 2017

@thiagoarioli Looks great! However it looks like setting enableReadSwagger to false doesn't remove the getAll association endpoint, are you seeing that?

Also, what do you think about an enableSwagger option that can disable swagger for all endpoints in the model?

@JKHeadley
Copy link
Owner

Nevermind, I see you added the option in the association definition, which makes more sense.

@thiagoarioli
Copy link
Contributor Author

So have some parameter that doesn't work? The get All scope you have to pass enableReadSwagger false on the association.

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 this pull request may close these issues.

2 participants