Merge pull request #3238 from lukaslihotzki/required-bodies
OpenAPI: require all bodies in client-server
This commit is contained in:
commit
cdcc24af11
6 changed files with 6 additions and 0 deletions
|
@ -0,0 +1 @@
|
||||||
|
Clarify that all request bodies are required.
|
|
@ -61,6 +61,7 @@ paths:
|
||||||
description: |-
|
description: |-
|
||||||
Extra receipt information to attach to `content` if any. The
|
Extra receipt information to attach to `content` if any. The
|
||||||
server will automatically set the `ts` field.
|
server will automatically set the `ts` field.
|
||||||
|
required: true
|
||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
example: {
|
example: {
|
||||||
|
|
|
@ -49,6 +49,7 @@ paths:
|
||||||
x-example: "$something:example.org"
|
x-example: "$something:example.org"
|
||||||
- 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: "35"
|
x-example: "35"
|
||||||
- in: body
|
- in: body
|
||||||
name: body
|
name: body
|
||||||
|
required: true
|
||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
example: {
|
example: {
|
||||||
|
|
|
@ -74,6 +74,7 @@ paths:
|
||||||
x-example: "@alice:example.com"
|
x-example: "@alice:example.com"
|
||||||
- in: body
|
- in: body
|
||||||
name: body
|
name: body
|
||||||
|
required: true
|
||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
example: {
|
example: {
|
||||||
|
|
|
@ -47,6 +47,7 @@ paths:
|
||||||
parameters:
|
parameters:
|
||||||
- in: body
|
- in: body
|
||||||
name: body
|
name: body
|
||||||
|
required: true
|
||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue