Skip to content

Commit 8f7c9e2

Browse files
Update rest-api-spec (#5690)
Co-authored-by: pquentin <42327+pquentin@users.noreply.github.com>
1 parent 3c659fa commit 8f7c9e2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+84
-83
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_json_spec/bulk.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"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."
4242
},
4343
"routing": {
44-
"type": "string",
44+
"type": "list",
4545
"description": "Specific routing value"
4646
},
4747
"timeout": {

specification/_json_spec/cluster.delete_component_template.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"methods": ["DELETE"],
1717
"parts": {
1818
"name": {
19-
"type": "string",
20-
"description": "The name of the template"
19+
"type": "list",
20+
"description": "Comma-separated list or wildcard expression of component template names used to limit the request."
2121
}
2222
}
2323
}

specification/_json_spec/cluster.exists_component_template.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"methods": ["HEAD"],
1717
"parts": {
1818
"name": {
19-
"type": "string",
20-
"description": "The name of the template"
19+
"type": "list",
20+
"description": "Comma-separated list of component template names used to limit the request. Wildcard (*) expressions are supported."
2121
}
2222
}
2323
}

specification/_json_spec/create.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"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."
4242
},
4343
"routing": {
44-
"type": "string",
44+
"type": "list",
4545
"description": "Specific routing value"
4646
},
4747
"timeout": {

specification/_json_spec/delete.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"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."
4141
},
4242
"routing": {
43-
"type": "string",
43+
"type": "list",
4444
"description": "Specific routing value"
4545
},
4646
"timeout": {

specification/_json_spec/eql.search.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"methods": ["GET", "POST"],
1818
"parts": {
1919
"index": {
20-
"type": "string",
21-
"description": "The name of the index to scope the operation"
20+
"type": "list",
21+
"description": "Comma-separated list of index names to scope the operation"
2222
}
2323
}
2424
}

specification/_json_spec/exists.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": {

0 commit comments

Comments
 (0)