Skip to content

Commit

Permalink
Missing securitySchemes section added in 2024-05-01-preview AzureOpen…
Browse files Browse the repository at this point in the history
…AI spec (Azure#29210)
  • Loading branch information
VitaliyKurokhtin authored and Francisco-Gamino committed Jun 5, 2024
1 parent 1fcc627 commit fca3729
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11056,6 +11056,24 @@
],
"description": "Occurs when a stream ends."
}
},
"securitySchemes": {
"bearer": {
"type": "oauth2",
"flows": {
"implicit": {
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/authorize",
"scopes": {}
}
},
"x-tokenInfoFunc": "api.middleware.auth.bearer_auth",
"x-scopeValidateFunc": "api.middleware.auth.validate_scopes"
},
"apiKey": {
"type": "apiKey",
"name": "api-key",
"in": "header"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7511,3 +7511,16 @@ components:
- event
- data
description: Occurs when a stream ends.
securitySchemes:
bearer:
type: oauth2
flows:
implicit:
authorizationUrl: https://login.microsoftonline.com/common/oauth2/v2.0/authorize
scopes: {}
x-tokenInfoFunc: api.middleware.auth.bearer_auth
x-scopeValidateFunc: api.middleware.auth.validate_scopes
apiKey:
type: apiKey
name: api-key
in: header

0 comments on commit fca3729

Please sign in to comment.