Skip to content

Commit

Permalink
add securitySchemes in openapi spec
Browse files Browse the repository at this point in the history
openapi-generator relies on this component to generate auth code in
some of the clients.
  • Loading branch information
Qingping Hou committed Sep 1, 2020
1 parent f40ac9b commit 9016b55
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions airflow/api_connexion/openapi/v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2745,6 +2745,15 @@ components:
# Reusable callbacks
callbacks: {}

securitySchemes:
BasicAuth:
type: http
scheme: basic
GoogleOpenIdAuth:
type: http
scheme: bearer
bearerFormat: JWT

# The API will provide support for plugins to support various authorization mechanisms.
# Detailed information will be available in the plugin specification.
security: []
Expand Down

0 comments on commit 9016b55

Please sign in to comment.