Skip to content

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