Merge pull request #1273 from QMatrixClient/content-repo-use-default

Add 'default' to formally enforce the description
This commit is contained in:
Travis Ralston 2018-07-04 14:01:36 -06:00 committed by GitHub
commit 442ad99727
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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