-
Notifications
You must be signed in to change notification settings - Fork 18
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
Add missing global 'security' declaration to openapi.proto #120
Add missing global 'security' declaration to openapi.proto #120
Conversation
Gonna have a look at this today. Thanks for putting it up! |
How does it differ from what's right above it? https://github.com/authzed/api/pull/120/files#diff-2c89108fef442d02f29499535203f20595b6fdd3cff830a5b3fd40e979eece0bR34-R41 |
Hmm... the thing I'm getting hung up on is that there's two |
No I think this is totally fine - even if not being really straight forward at fist. The official docs unfortunately use yaml for examples already. So you have essentially two elements:
In the Even if that looks unfamiliar, it is confirmed working. So you might want to take a look here: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution, I have two comments, otherwise LGTM
@tstirrat15 Could you also please review - I am not able to request that and it seems like a second review is required. |
Yep, this makes sense now. Thank you! |
Before I merge this I'm going to try pulling it into authzed-go as a SHA and see if the openapi definition makes sense. |
I checked this out and it looks good. I'm going to go ahead and merge this, and then I'll do the work to pull it into authzed-go. |
Fixes ApiKeyAuth method being used by clients generated via OpenAPI generator.
Original idea: authzed/authzed-go#255