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: |-
|
||||
Extra receipt information to attach to `content` if any. The
|
||||
server will automatically set the `ts` field.
|
||||
required: true
|
||||
schema:
|
||||
type: object
|
||||
example: {
|
||||
|
|
|
@ -49,6 +49,7 @@ paths:
|
|||
x-example: "$something:example.org"
|
||||
- in: body
|
||||
name: body
|
||||
required: true
|
||||
schema:
|
||||
type: object
|
||||
example: {
|
||||
|
|
|
@ -65,6 +65,7 @@ paths:
|
|||
x-example: "35"
|
||||
- in: body
|
||||
name: body
|
||||
required: true
|
||||
schema:
|
||||
type: object
|
||||
example: {
|
||||
|
|
|
@ -74,6 +74,7 @@ paths:
|
|||
x-example: "@alice:example.com"
|
||||
- in: body
|
||||
name: body
|
||||
required: true
|
||||
schema:
|
||||
type: object
|
||||
example: {
|
||||
|
|
|
@ -47,6 +47,7 @@ paths:
|
|||
parameters:
|
||||
- in: body
|
||||
name: body
|
||||
required: true
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue