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

Accept requiresAuth annotations on REST interfaces, too. #1939

Merged
merged 2 commits into from Sep 27, 2017

Conversation

s-ludwig
Copy link
Member

Previously only classes were inspected, leading to authentication parameters being wrongly qualified as body parameters in the client generator (which just gets the interface).

Previously only classes were inspected, leading to authentication parameters being wrongly qualified as body parameters in the client generator (which just gets the interface).
This avoids the need to put an actual "authenticate" method inside of the interface.
@s-ludwig s-ludwig mentioned this pull request Sep 27, 2017
@s-ludwig s-ludwig merged commit a7dfe6e into master Sep 27, 2017
@s-ludwig s-ludwig deleted the rest_auth_on_interfaces branch October 2, 2017 16:30
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.

None yet

2 participants