Fix security schemes in OpenAPI definitions (#1772)
This commit is contained in:
parent
ee1a169121
commit
efe72d3b26
98 changed files with 653 additions and 246 deletions
|
@ -33,7 +33,8 @@ paths:
|
|||
and [`/sync`](/client-server-api/#get_matrixclientv3sync) APIs.
|
||||
operationId: joinRoomById
|
||||
security:
|
||||
- accessToken: []
|
||||
- accessTokenQuery: []
|
||||
- accessTokenBearer: []
|
||||
parameters:
|
||||
- in: path
|
||||
name: roomId
|
||||
|
@ -126,7 +127,8 @@ paths:
|
|||
and [`/sync`](/client-server-api/#get_matrixclientv3sync) APIs.
|
||||
operationId: joinRoom
|
||||
security:
|
||||
- accessToken: []
|
||||
- accessTokenQuery: []
|
||||
- accessTokenBearer: []
|
||||
parameters:
|
||||
- in: path
|
||||
name: roomIdOrAlias
|
||||
|
@ -229,4 +231,7 @@ servers:
|
|||
default: /_matrix/client/v3
|
||||
components:
|
||||
securitySchemes:
|
||||
$ref: definitions/security.yaml
|
||||
accessTokenQuery:
|
||||
$ref: definitions/security.yaml#/accessTokenQuery
|
||||
accessTokenBearer:
|
||||
$ref: definitions/security.yaml#/accessTokenBearer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue