Skip to content

Commit 33a789f

Browse files
pquentingithub-actions[bot]
authored andcommitted
Update rest-api-spec
1 parent 97b54a1 commit 33a789f

File tree

4 files changed

+16
-12
lines changed

4 files changed

+16
-12
lines changed

output/schema/validation-errors.json

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
"Request: missing json spec query parameter 'help'",
7878
"Request: missing json spec query parameter 's'",
7979
"Request: missing json spec query parameter 'v'",
80+
"Request: missing json spec query parameter 'master_timeout'",
8081
"request definition cat.aliases:Request / body - A request with inherited properties must have a PropertyBody"
8182
],
8283
"response": []
@@ -708,12 +709,6 @@
708709
],
709710
"response": []
710711
},
711-
"indices.exists_alias": {
712-
"request": [
713-
"Request: query parameter 'master_timeout' does not exist in the json spec"
714-
],
715-
"response": []
716-
},
717712
"indices.exists_index_template": {
718713
"request": [
719714
"Request: missing json spec query parameter 'flat_settings'",
@@ -729,12 +724,6 @@
729724
],
730725
"response": []
731726
},
732-
"indices.get_alias": {
733-
"request": [
734-
"Request: query parameter 'master_timeout' does not exist in the json spec"
735-
],
736-
"response": []
737-
},
738727
"indices.put_settings": {
739728
"request": [
740729
"Request: missing json spec query parameter 'reopen'"

specification/_json_spec/cat.aliases.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@
5555
"options": ["open", "closed", "hidden", "none", "all"],
5656
"default": "all",
5757
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
58+
},
59+
"master_timeout": {
60+
"type": "time",
61+
"description": "Timeout for waiting for new cluster state in case it is blocked",
62+
"default": "30s"
5863
}
5964
}
6065
}

specification/_json_spec/indices.exists_alias.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@
5151
"options": ["open", "closed", "hidden", "none", "all"],
5252
"default": "all",
5353
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
54+
},
55+
"master_timeout": {
56+
"type": "time",
57+
"description": "Timeout for waiting for new cluster state in case it is blocked",
58+
"default": "30s"
5459
}
5560
}
5661
}

specification/_json_spec/indices.get_alias.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@
6565
"options": ["open", "closed", "hidden", "none", "all"],
6666
"default": "all",
6767
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
68+
},
69+
"master_timeout": {
70+
"type": "time",
71+
"description": "Timeout for waiting for new cluster state in case it is blocked",
72+
"default": "30s"
6873
}
6974
}
7075
}

0 commit comments

Comments
 (0)