-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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 securitySchemes in openapi spec #10652
Conversation
This only affects documentation for go clients, but for some other languages like typescript and java, it is used a feature gate to generate the actual client code. The go client documentation right now is not generated correctly, which will be fixed by OpenAPITools/openapi-generator#7312. |
New sections have appeared in the reference documentation. I think it's worth hiding them because we have other documentation that is more precise. |
openapi-generator relies on this component to generate auth code in some of the clients.
c56025d
to
22073f4
Compare
@jhtimmins Can I ask for a review? |
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.
This looks good. Does it warrant adding docs?
Edit: Nvm. Docs for this are handled elsewhere.
@@ -553,6 +553,7 @@ def _get_rst_filepath_from_path(filepath: str): | |||
'spec': OPENAPI_FILE, | |||
'opts': { | |||
'hide-hostname': True, | |||
'no-auto-auth': True, |
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.
What is no-auto-auth
used for?
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.
See: #10652 (comment)
openapi-generator relies on this component to generate auth code in
some of the clients.
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.