c2s: Add required: true to request bodies

pull/2518/head
Kitsune Ral 4 years ago
parent ff59fc1905
commit c72d30513e

@ -108,6 +108,7 @@ paths:
parameters:
- in: body
name: body
required: true
schema:
type: object
properties:
@ -195,6 +196,7 @@ paths:
parameters:
- in: body
name: body
required: true
schema:
type: object
properties:
@ -247,6 +249,7 @@ paths:
parameters:
- in: body
name: body
required: true
schema:
type: object
properties:
@ -299,6 +302,7 @@ paths:
parameters:
- in: body
name: body
required: true
schema:
type: object
properties:
@ -363,6 +367,7 @@ paths:
parameters:
- in: body
name: body
required: true
schema:
type: object
properties:

@ -74,6 +74,7 @@ paths:
- in: body
name: body
description: The desired room configuration.
required: true
schema:
type: object
example: {

@ -152,6 +152,7 @@ paths:
x-example: "QBUAZIFURK"
- in: body
name: body
required: true
schema:
type: object
properties:
@ -190,6 +191,7 @@ paths:
parameters:
- in: body
name: body
required: true
schema:
type: object
properties:

@ -53,6 +53,7 @@ paths:
x-example: "!d41d8cd:matrix.org"
- in: body
name: third_party_signed
required: true
description: |-
If supplied, the homeserver must verify that it matches a pending
``m.room.third_party_invite`` event in the room, and perform
@ -134,6 +135,7 @@ paths:
x-example: ["matrix.org", "elsewhere.ca"]
- in: body
name: third_party_signed
required: true
schema:
type: object
properties:

@ -41,6 +41,7 @@ paths:
name: keys
description: |-
The keys to be published
required: true
schema:
type: object
properties:
@ -133,6 +134,7 @@ paths:
name: query
description: |-
Query defining the keys to be downloaded
required: true
schema:
type: object
properties:
@ -250,6 +252,7 @@ paths:
name: query
description: |-
Query defining the keys to be claimed
required: true
schema:
type: object
properties:

@ -82,6 +82,7 @@ paths:
parameters:
- in: body
name: body
required: true
schema:
type: object
example: {

@ -65,6 +65,7 @@ paths:
x-example: "37"
- in: body
name: body
required: true
schema:
type: object
example: {

@ -84,6 +84,7 @@ paths:
description: The kind of account to register. Defaults to ``user``.
- in: body
name: body
required: true
schema:
type: object
properties:
@ -336,6 +337,7 @@ paths:
parameters:
- in: body
name: body
required: true
schema:
type: object
properties:
@ -507,6 +509,7 @@ paths:
parameters:
- in: body
name: body
required: true
schema:
type: object
properties:

@ -45,6 +45,7 @@ paths:
x-example: "YWxsCgpOb25lLDM1ODcwOA"
- in: body
name: body
required: true
schema:
type: object
example: {

Loading…
Cancel
Save