OpenAPI: require all bodies in client-server

Signed-off-by: Lukas Lihotzki <lukas@lihotzki.de>
pull/977/head
Lukas Lihotzki 3 years ago committed by Richard van der Hoff
parent b0223b8bb8
commit ad0ff78316

@ -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…
Cancel
Save