Merge pull request #3327 from lukaslihotzki/unique-ids

OpenAPI: fix key_backup
pull/3368/head
Alexey Rusakov 3 years ago committed by Richard van der Hoff
commit 3bf7e48e13

@ -0,0 +1 @@
Fix key_backup operation IDs in OpenAPI spec.

@ -375,7 +375,7 @@ paths:
summary: Store a key in the backup. summary: Store a key in the backup.
description: |- description: |-
Store a key in the backup. Store a key in the backup.
operationId: postRoomKeysKeyRoomIdSessionId operationId: putRoomKeysBySessionId
security: security:
- accessToken: [] - accessToken: []
parameters: parameters:
@ -443,10 +443,10 @@ paths:
tags: tags:
- End-to-end encryption - End-to-end encryption
get: get:
summary: Retrieve a key from the backup summary: Retrieve a key from the backup.
description: |- description: |-
Retrieve a key from the backup. Retrieve a key from the backup.
operationId: getRoomKeysKeyRoomIdSessionId operationId: getRoomKeysBySessionId
security: security:
- accessToken: [] - accessToken: []
parameters: parameters:
@ -488,10 +488,10 @@ paths:
schema: schema:
"$ref": "definitions/errors/rate_limited.yaml" "$ref": "definitions/errors/rate_limited.yaml"
delete: delete:
summary: Delete a key from the backup summary: Delete a key from the backup.
description: |- description: |-
Delete a key from the backup. Delete a key from the backup.
operationId: deleteRoomKeysKeyRoomIdSessionId operationId: deleteRoomKeysBySessionId
security: security:
- accessToken: [] - accessToken: []
parameters: parameters:
@ -551,8 +551,8 @@ paths:
put: put:
summary: Store several keys in the backup for a given room. summary: Store several keys in the backup for a given room.
description: |- description: |-
Store a key in the backup. Store several keys in the backup for a given room.
operationId: postRoomKeysKeyRoomId operationId: putRoomKeysByRoomId
security: security:
- accessToken: [] - accessToken: []
parameters: parameters:
@ -624,10 +624,10 @@ paths:
tags: tags:
- End-to-end encryption - End-to-end encryption
get: get:
summary: Retrieve the keys from the backup for a given room summary: Retrieve the keys from the backup for a given room.
description: |- description: |-
Retrieve the keys from the backup for a given room Retrieve the keys from the backup for a given room.
operationId: getRoomKeysKeyRoomId operationId: getRoomKeysByRoomId
security: security:
- accessToken: [] - accessToken: []
parameters: parameters:
@ -667,10 +667,10 @@ paths:
schema: schema:
"$ref": "definitions/errors/rate_limited.yaml" "$ref": "definitions/errors/rate_limited.yaml"
delete: delete:
summary: Delete a key from the backup summary: Delete the keys from the backup for a given room.
description: |- description: |-
Delete a key from the backup. Delete the keys from the backup for a given room.
operationId: deleteRoomKeysKeyRoomId operationId: deleteRoomKeysByRoomId
security: security:
- accessToken: [] - accessToken: []
parameters: parameters:
@ -725,7 +725,7 @@ paths:
summary: Store several keys in the backup. summary: Store several keys in the backup.
description: |- description: |-
Store several keys in the backup. Store several keys in the backup.
operationId: postRoomKeysKey operationId: putRoomKeys
security: security:
- accessToken: [] - accessToken: []
parameters: parameters:
@ -817,10 +817,10 @@ paths:
tags: tags:
- End-to-end encryption - End-to-end encryption
get: get:
summary: Retrieve the keys from the backup for a given room summary: Retrieve the keys from the backup.
description: |- description: |-
Retrieve the keys from the backup for a given room Retrieve the keys from the backup.
operationId: getRoomKeysKeyRoomId operationId: getRoomKeys
security: security:
- accessToken: [] - accessToken: []
parameters: parameters:
@ -876,10 +876,10 @@ paths:
schema: schema:
"$ref": "definitions/errors/rate_limited.yaml" "$ref": "definitions/errors/rate_limited.yaml"
delete: delete:
summary: Delete a key from the backup summary: Delete the keys from the backup.
description: |- description: |-
Delete a key from the backup. Delete the keys from the backup.
operationId: deleteRoomKeysKeyRoomId operationId: deleteRoomKeys
security: security:
- accessToken: [] - accessToken: []
parameters: parameters:

Loading…
Cancel
Save