Add operationId to all endpoints of all APIs

To facilitate generation of API stubs from the spec.

Signed-off-by: Alexey Rusakov <ktirf@users.sf.net>
This commit is contained in:
Kitsune Ral 2017-08-03 08:19:34 +09:00
parent bf3b49f13c
commit 24afe7987c
47 changed files with 95 additions and 1 deletions

View file

@ -27,6 +27,7 @@ paths:
get:
summary: Look up the Matrix user ID for a 3pid.
description: Look up the Matrix user ID for a 3pid.
operationId: lookupUser
parameters:
- in: query
type: string

View file

@ -28,6 +28,7 @@ paths:
summary: Get a public key.
description: |-
Get the public key for the passed key ID.
operationId: getPubKey
parameters:
- in: path
type: string
@ -56,6 +57,7 @@ paths:
summary: Check whether a long-term public key is valid.
description: |-
Check whether a long-term public key is valid.
operationId: isPubKeyValid
parameters:
- in: query
type: string
@ -83,6 +85,7 @@ paths:
summary: Check whether a short-term public key is valid.
description: |-
Check whether a short-term public key is valid.
operationId: isEphemeralPubKeyValid
parameters:
- in: query
type: string