Merge pull request #3238 from lukaslihotzki/required-bodies

OpenAPI: require all bodies in client-server
anoa/duplicate_mimetype_info
Travis Ralston 3 years ago committed by GitHub
commit c651d394d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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