Skip to content

Commit 03c22f2

Browse files
authored
rest-api-spec: mark all routing values as list (elastic#137673) (elastic#138144)
This means that comma-separate values are allowed.
1 parent 91a04f2 commit 03c22f2

File tree

16 files changed

+16
-16
lines changed

16 files changed

+16
-16
lines changed

rest-api-spec/src/main/resources/rest-api-spec/api/bulk.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"description": "If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes."
5656
},
5757
"routing": {
58-
"type": "string",
58+
"type": "list",
5959
"description": "Specific routing value"
6060
},
6161
"timeout": {

rest-api-spec/src/main/resources/rest-api-spec/api/create.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"description": "If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes."
5353
},
5454
"routing": {
55-
"type": "string",
55+
"type": "list",
5656
"description": "Specific routing value"
5757
},
5858
"timeout": {

rest-api-spec/src/main/resources/rest-api-spec/api/delete.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"description": "If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes."
4949
},
5050
"routing": {
51-
"type": "string",
51+
"type": "list",
5252
"description": "Specific routing value"
5353
},
5454
"timeout": {

rest-api-spec/src/main/resources/rest-api-spec/api/exists.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"description": "Refresh the shard containing the document before performing the operation"
5252
},
5353
"routing": {
54-
"type": "string",
54+
"type": "list",
5555
"description": "Specific routing value"
5656
},
5757
"_source": {

rest-api-spec/src/main/resources/rest-api-spec/api/exists_source.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"description": "Refresh the shard containing the document before performing the operation"
4848
},
4949
"routing": {
50-
"type": "string",
50+
"type": "list",
5151
"description": "Specific routing value"
5252
},
5353
"_source": {

rest-api-spec/src/main/resources/rest-api-spec/api/explain.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"description": "Query in the Lucene query string syntax"
7777
},
7878
"routing": {
79-
"type": "string",
79+
"type": "list",
8080
"description": "Specific routing value"
8181
},
8282
"_source": {

rest-api-spec/src/main/resources/rest-api-spec/api/get.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"description": "Refresh the shard containing the document before performing the operation"
5858
},
5959
"routing": {
60-
"type": "string",
60+
"type": "list",
6161
"description": "Specific routing value"
6262
},
6363
"_source": {

rest-api-spec/src/main/resources/rest-api-spec/api/get_source.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"description": "Refresh the shard containing the document before performing the operation"
4848
},
4949
"routing": {
50-
"type": "string",
50+
"type": "list",
5151
"description": "Specific routing value"
5252
},
5353
"_source": {

rest-api-spec/src/main/resources/rest-api-spec/api/graph.explore.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
},
3434
"params": {
3535
"routing": {
36-
"type": "string",
36+
"type": "list",
3737
"description": "Specific routing value"
3838
},
3939
"timeout": {

rest-api-spec/src/main/resources/rest-api-spec/api/index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"description": "If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes."
7373
},
7474
"routing": {
75-
"type": "string",
75+
"type": "list",
7676
"description": "Specific routing value"
7777
},
7878
"timeout": {

0 commit comments

Comments
 (0)