Fix security schemes in OpenAPI definitions (#1772)

This commit is contained in:
Kévin Commaille 2024-04-09 18:12:30 +02:00 committed by GitHub
parent ee1a169121
commit efe72d3b26
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
98 changed files with 653 additions and 246 deletions

View file

@ -30,7 +30,8 @@ paths:
rooms and parent events are not covered by this endpoint.
operationId: getSpaceHierarchy
security:
- accessToken: []
- accessTokenQuery: []
- accessTokenBearer: []
parameters:
- in: path
name: roomId
@ -216,4 +217,7 @@ servers:
default: /_matrix/client/v1
components:
securitySchemes:
$ref: definitions/security.yaml
accessTokenQuery:
$ref: definitions/security.yaml#/accessTokenQuery
accessTokenBearer:
$ref: definitions/security.yaml#/accessTokenBearer