Skip to content

[8.19] rest-api-spec: fix type of enums (#137521)#138033

Merged
pquentin merged 2 commits intoelastic:8.19from
pquentin:backport/8.19/pr-137521
Nov 14, 2025
Merged

[8.19] rest-api-spec: fix type of enums (#137521)#138033
pquentin merged 2 commits intoelastic:8.19from
pquentin:backport/8.19/pr-137521

Conversation

@pquentin
Copy link
Copy Markdown
Member

Backport

This will backport the following commits from main to 8.19:

Questions ?

Please refer to the Backport tool documentation

Sometimes enums are comma-separated, in which cases they are lists with
options. In other cases, they were specified as string without options, which
was incorrect.

(cherry picked from commit 8acc4d1)

# Conflicts:
#	rest-api-spec/src/main/resources/rest-api-spec/api/indices.resolve_index.json
#	rest-api-spec/src/main/resources/rest-api-spec/api/indices.unfreeze.json
#	rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_ai21.json
#	rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_contextualai.json
#	rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_llama.json
@pquentin pquentin merged commit 069029e into elastic:8.19 Nov 14, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants