Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rest-api-spec main #3251

Merged
merged 1 commit into from
Dec 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 1 addition & 12 deletions output/schema/validation-errors.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
"Request: missing json spec query parameter 'help'",
"Request: missing json spec query parameter 's'",
"Request: missing json spec query parameter 'v'",
"Request: missing json spec query parameter 'master_timeout'",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a validation issue, not an actual bug. The rest-api-spec now has this parameter and #3252 added it to the Elasticsearch specification.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I opened #3260 to fix it.

"request definition cat.aliases:Request / body - A request with inherited properties must have a PropertyBody"
],
"response": []
Expand Down Expand Up @@ -708,12 +709,6 @@
],
"response": []
},
"indices.exists_alias": {
"request": [
"Request: query parameter 'master_timeout' does not exist in the json spec"
],
"response": []
},
"indices.exists_index_template": {
"request": [
"Request: missing json spec query parameter 'flat_settings'",
Expand All @@ -729,12 +724,6 @@
],
"response": []
},
"indices.get_alias": {
"request": [
"Request: query parameter 'master_timeout' does not exist in the json spec"
],
"response": []
},
"indices.put_settings": {
"request": [
"Request: missing json spec query parameter 'reopen'"
Expand Down
5 changes: 5 additions & 0 deletions specification/_json_spec/cat.aliases.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@
"options": ["open", "closed", "hidden", "none", "all"],
"default": "all",
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},
"master_timeout": {
"type": "time",
"description": "Timeout for waiting for new cluster state in case it is blocked",
"default": "30s"
}
}
}
Expand Down
5 changes: 5 additions & 0 deletions specification/_json_spec/indices.exists_alias.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@
"options": ["open", "closed", "hidden", "none", "all"],
"default": "all",
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},
"master_timeout": {
"type": "time",
"description": "Timeout for waiting for new cluster state in case it is blocked",
"default": "30s"
}
}
}
Expand Down
5 changes: 5 additions & 0 deletions specification/_json_spec/indices.get_alias.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@
"options": ["open", "closed", "hidden", "none", "all"],
"default": "all",
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},
"master_timeout": {
"type": "time",
"description": "Timeout for waiting for new cluster state in case it is blocked",
"default": "30s"
}
}
}
Expand Down
Loading