Merge pull request #3238 from lukaslihotzki/required-bodies

OpenAPI: require all bodies in client-server
pull/977/head
Travis Ralston 3 years ago committed by Richard van der Hoff
commit cdcc24af11

@ -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