Skip to content

add the swagger_endpoint_guard to both documentation endpoints #737

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

Merged
merged 1 commit into from
Jan 8, 2019

Conversation

urkle
Copy link
Contributor

@urkle urkle commented Jan 3, 2019

adds the swagger_endpoint_guard to both documentation endpoints.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.0009%) to 99.213% when pulling ac48889 on urkle:fix-swagger-endpoint-guard into c7c93b6 on ruby-grape:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+0.0009%) to 99.213% when pulling ac48889 on urkle:fix-swagger-endpoint-guard into c7c93b6 on ruby-grape:master.

@coveralls
Copy link

coveralls commented Jan 3, 2019

Coverage Status

Coverage increased (+0.0009%) to 99.213% when pulling 69fd941 on urkle:fix-swagger-endpoint-guard into c7c93b6 on ruby-grape:master.

@urkle urkle force-pushed the fix-swagger-endpoint-guard branch 3 times, most recently from 9a96a67 to 8ba9870 Compare January 3, 2019 22:45
@urkle urkle force-pushed the fix-swagger-endpoint-guard branch from 8ba9870 to 69fd941 Compare January 3, 2019 22:51
@dblock
Copy link
Member

dblock commented Jan 4, 2019

I feel like this changes behavior and breaks backwards compatibility. What are the consequences of this change? Does this need README and/or UPGRADING edits?

@LeFnord
Copy link
Member

LeFnord commented Jan 8, 2019

think it only completes/corrects behaviour, so for both grape-swagger endpoints it will be checked if an gurad clause exists … @urkle, please correct me, if I'm wrong

@dblock
Copy link
Member

dblock commented Jan 8, 2019

I see, it's just a fix. Let's just merge it.

@dblock dblock merged commit b35b14f into ruby-grape:master Jan 8, 2019
@urkle urkle deleted the fix-swagger-endpoint-guard branch January 9, 2019 09:36
LeFnord pushed a commit to LeFnord/grape-swagger that referenced this pull request Feb 9, 2019
add the swagger_endpoint_guard to both documentation endpoints
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.

4 participants