Add 'default' to formally enforce the description

A quick follow up on #1265.

Signed-off-by: Alexey Rusakov <Alexey.Rusakov@pm.me>
This commit is contained in:
Kitsune Ral 2018-06-03 12:08:19 +09:00
parent b00131a774
commit 42fba1a87e

View file

@ -100,6 +100,7 @@ paths:
name: allow_remote name: allow_remote
x-example: false x-example: false
required: false required: false
default: true
description: | description: |
Indicates to the server that it should not attempt to fetch the media if it is deemed Indicates to the server that it should not attempt to fetch the media if it is deemed
remote. This is to prevent routing loops where the server contacts itself. Defaults to remote. This is to prevent routing loops where the server contacts itself. Defaults to
@ -154,6 +155,7 @@ paths:
name: allow_remote name: allow_remote
x-example: false x-example: false
required: false required: false
default: true
description: | description: |
Indicates to the server that it should not attempt to fetch the media if it is deemed Indicates to the server that it should not attempt to fetch the media if it is deemed
remote. This is to prevent routing loops where the server contacts itself. Defaults to remote. This is to prevent routing loops where the server contacts itself. Defaults to
@ -221,6 +223,7 @@ paths:
name: allow_remote name: allow_remote
x-example: false x-example: false
required: false required: false
default: true
description: | description: |
Indicates to the server that it should not attempt to fetch the media if it is deemed Indicates to the server that it should not attempt to fetch the media if it is deemed
remote. This is to prevent routing loops where the server contacts itself. Defaults to remote. This is to prevent routing loops where the server contacts itself. Defaults to