-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Adding authentication definitions to generated swagger files #428
Comments
I had the same issue and I've been monkey patching. |
@boosh, right now we don't support this since we don't emit OpenAPIv3 definitions. You're welcome to monkey patch it, or to take this opportunity to extend on the work of Ivan and help us by adding support for the subset of OpenAPIv3 you're interested in using. If you want some pointers on that I'm happy to help! |
This exists in v2 as well: https://swagger.io/docs/specification/2-0/authentication/api-keys/ We'd need to add |
I hope this is what you had in mind :-) |
My API requires authentication for all endpoints. This is defined in a
config.yml
file that I feed into Google Cloud Endpoints.I generated a swagger spec from my service's .proto file, and then generated a javascript library for use on the web.
Do you have any plans to support swagger's API keys definitions, or should we monkey-patch them into generated libraries ourselves (if that's even an optionI)?
The text was updated successfully, but these errors were encountered: