summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2017-04-29 20:18:51 (GMT)
committerAlex Pott2017-04-29 20:18:51 (GMT)
commite31a0430c17ff5e2c2b9a56477b143ca484dc278 (patch)
tree3970a1ae3abfe38fc20c76762e5b9d117021af63
parent992ed45b26cd520dbd79c720ba44789191d0c630 (diff)
Issue #2869904 by tstoeckler: Config schema missing for less common HTTP methods in REST resources configured using 'method' granularity
-rw-r--r--core/modules/rest/config/schema/rest.schema.yml19
1 files changed, 17 insertions, 2 deletions
diff --git a/core/modules/rest/config/schema/rest.schema.yml b/core/modules/rest/config/schema/rest.schema.yml
index 49b4b2d..5f181c9 100644
--- a/core/modules/rest/config/schema/rest.schema.yml
+++ b/core/modules/rest/config/schema/rest.schema.yml
@@ -15,18 +15,33 @@ rest.settings:
rest_resource.method:
type: mapping
mapping:
+ HEAD:
+ type: rest_request
+ label: 'HEAD method settings'
GET:
type: rest_request
label: 'GET method settings'
POST:
type: rest_request
label: 'POST method settings'
- PATCH:
+ PUT:
type: rest_request
- label: 'PATCH method settings'
+ label: 'PUT method settings'
DELETE:
type: rest_request
label: 'DELETE method settings'
+ TRACE:
+ type: rest_request
+ label: 'TRACE method settings'
+ OPTIONS:
+ type: rest_request
+ label: 'OPTIONS method settings'
+ CONNECT:
+ type: rest_request
+ label: 'CONNECT method settings'
+ PATCH:
+ type: rest_request
+ label: 'PATCH method settings'
# Resource-level granularity of REST resource configuration.
rest_resource.resource: