Merge pull request #3327 from lukaslihotzki/unique-ids

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

Loading…
Cancel
Save