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

How to add security description object? #91

Closed
manmat opened this issue Aug 21, 2019 · 2 comments
Closed

How to add security description object? #91

manmat opened this issue Aug 21, 2019 · 2 comments
Labels

Comments

@manmat
Copy link

manmat commented Aug 21, 2019

I need to include a security description to my OpenAPI doc that gets generated. Is there a preferred way to do this? if not, how do I add custom structure to the documentation on the top level? I want to achieve something as seen here: https://cloud.google.com/endpoints/docs/openapi/authenticating-users-firebase

@lafrech
Copy link
Member

lafrech commented Aug 21, 2019

Please don't multipost.

The docs lack an example for this.

The security documentation at the top-level of the spec can be passed at instantiation or as a parameter.

This might help:

@manmat
Copy link
Author

manmat commented Aug 22, 2019

Ok, thanks for the reply. I tried these and they worked fine.

@manmat manmat closed this as completed Aug 22, 2019
commonism referenced this issue in jotelha/aiopenapi3 Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants