c2s: Add required: true to request bodies

pull/977/head
Kitsune Ral 5 years ago
parent ff59fc1905
commit c72d30513e

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save