Skip to content

Commit 18598a0

Browse files
Update rest-api-spec (#5721)
Co-authored-by: pquentin <[email protected]>
1 parent 4ad5f16 commit 18598a0

File tree

4 files changed

+3
-30
lines changed

4 files changed

+3
-30
lines changed

output/schema/validation-errors.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
{
2-
"endpointErrors": {
3-
"monitoring.bulk": {
4-
"request": [
5-
"Request: different number of urls in the json spec",
6-
"Request: missing json spec path parameter 'type'"
7-
],
8-
"response": []
9-
}
10-
},
2+
"endpointErrors": {},
113
"generalErrors": [
124
"Dangling type '_global.scripts_painless_execute:PainlessExecutionPosition'",
135
"Dangling type '_global.scripts_painless_execute:PainlessScript'",

specification/_json_spec/cluster.get_component_template.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
"methods": ["GET"],
2121
"parts": {
2222
"name": {
23-
"type": "list",
24-
"description": "The comma separated names of the component templates"
23+
"type": "string",
24+
"description": "The name of the component template. Wildcard (`*`) expressions are supported."
2525
}
2626
}
2727
}

specification/_json_spec/monitoring.bulk.json

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,6 @@
1515
{
1616
"path": "/_monitoring/bulk",
1717
"methods": ["POST", "PUT"]
18-
},
19-
{
20-
"path": "/_monitoring/{type}/bulk",
21-
"methods": ["POST", "PUT"],
22-
"parts": {
23-
"type": {
24-
"type": "string",
25-
"description": "Default document type for items which don't provide one",
26-
"deprecated": {
27-
"version": "7.0.0",
28-
"description": "Specifying types in urls has been deprecated"
29-
}
30-
}
31-
},
32-
"deprecated": {
33-
"version": "7.0.0",
34-
"description": "Specifying types in urls has been deprecated"
35-
}
3618
}
3719
]
3820
},

specification/package-lock.json

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

0 commit comments

Comments
 (0)