Merge pull request #3330 from lukaslihotzki/add-titles

OpenAPI: add titles
This commit is contained in:
Alexey Rusakov 2021-08-14 23:56:05 +02:00 committed by Richard van der Hoff
commit fbf4259a83
10 changed files with 17 additions and 2 deletions

View file

@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
type: object
title: Error
description: A Matrix-level Error
properties:
errcode:
@ -22,4 +23,4 @@ properties:
type: string
description: A human-readable error message.
example: An unknown error occurred
required: ["errcode"]
required: ["errcode"]

View file

@ -13,6 +13,7 @@
# limitations under the License.
$ref: error.yaml
type: object
title: RateLimitError
description: The rate limit was reached for this request
properties:
errcode:
@ -29,4 +30,4 @@ properties:
The amount of time in milliseconds the client should wait
before trying the request again.
example: 2000
required: ["errcode"]
required: ["errcode"]

View file

@ -21,3 +21,4 @@ properties:
type: object
type: array
type: object
title: EventBatch

View file

@ -13,6 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
type: object
title: OpenIdCredentials
properties:
access_token:
type: string

View file

@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
type: object
title: RequestTokenResponse
properties:
sid:
type: string

View file

@ -25,3 +25,4 @@ properties:
- origin_server_ts
type: array
type: object
title: RoomEventBatch

View file

@ -26,3 +26,4 @@ properties:
- state_key
type: array
type: object
title: StateEventBatch

View file

@ -24,3 +24,4 @@ properties:
rooms/{roomId}/messages endpoint.
type: string
type: object
title: TimelineBatch

View file

@ -409,6 +409,7 @@ paths:
description: The update succeeded.
schema:
type: object
title: RoomKeysUpdateResponse
properties:
etag:
description: |-
@ -521,6 +522,7 @@ paths:
description: The update succeeded
schema:
type: object
title: RoomKeysUpdateResponse
properties:
etag:
description: |-
@ -584,6 +586,7 @@ paths:
description: The update succeeded
schema:
type: object
title: RoomKeysUpdateResponse
properties:
etag:
description: |-
@ -698,6 +701,7 @@ paths:
description: The update succeeded
schema:
type: object
title: RoomKeysUpdateResponse
properties:
etag:
description: |-
@ -781,6 +785,7 @@ paths:
description: The update succeeded
schema:
type: object
title: RoomKeysUpdateResponse
properties:
etag:
description: |-
@ -905,6 +910,7 @@ paths:
description: The update succeeded
schema:
type: object
title: RoomKeysUpdateResponse
properties:
etag:
description: |-