Skip to content

Ensure all enums are defined "out of line" #937

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

Merged
merged 6 commits into from
Jul 5, 2025

Conversation

Xtansia
Copy link
Collaborator

@Xtansia Xtansia commented Jul 3, 2025

Description

Ensure all enums are defined "out of line" so that they are properly named for generating Java etc.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@Xtansia Xtansia added the skip-changelog No need to update CHANGELOG. label Jul 3, 2025
Copy link
Contributor

github-actions bot commented Jul 3, 2025

Changes Analysis

Commit SHA: 22891f3
Comparing To SHA: 2614ac6

API Changes

Summary

├─┬Paths
│ ├─┬/_bulk
│ │ ├─┬PUT
│ │ │ └─┬Responses
│ │ │   └─┬200
│ │ │     └──application/json
│ │ └─┬POST
│ │   └─┬Responses
│ │     └─┬200
│ │       └──application/json
│ ├─┬/_ltr/_featureset/{name}/_createmodel
│ │ └─┬POST
│ │   └─┬Responses
│ │     ├─┬201
│ │     │ └─┬application/json
│ │     │   └─┬Schema
│ │     │     └──[🔀] $ref (40562:13)❌ 
│ │     └─┬200
│ │       └─┬application/json
│ │         └─┬Schema
│ │           └──[🔀] $ref (40562:13)❌ 
│ ├─┬/_ltr/_featureset
│ │ └─┬GET
│ │   └─┬Responses
│ │     └─┬200
│ │       └─┬application/json
│ │         └─┬Schema
│ │           └──[🔀] $ref (35184:13)
│ ├─┬/_plugins/_ltr/{node_id}/stats/{stat}
│ │ └─┬GET
│ │   └─┬Parameters
│ │     └─┬Schema
│ │       ├──[➖] items (25881:11)❌ 
│ │       ├──[➖] type (25878:15)❌ 
│ │       ├──[➖] description (25879:22)
│ │       ├──[➕] oneOf (61317:7)
│ │       └──[➕] oneOf (25836:13)
│ ├─┬/_plugins/_sm/policies/{policy_name}
│ │ └─┬DELETE
│ │   └─┬Responses
│ │     └─┬200
│ │       └─┬application/json
│ │         └─┬Schema
│ │           └──[🔀] $ref (40562:13)❌ 
│ ├─┬/_plugins/_ml/_execute/{algorithm_name}
│ │ └─┬POST
│ │   ├─┬Parameters
│ │   │ └─┬Schema
│ │   │   └──[🔀] $ref (61611:13)
│ │   └─┬Requestbody
│ │     └─┬application/json
│ │       └─┬Schema
│ │         └─┬operation
│ │           └──[🔀] $ref (61837:13)
│ ├─┬/_plugins/_sm/policies
│ │ └─┬GET
│ │   └─┬Parameters
│ │     └─┬Schema
│ │       └──[🔀] $ref (40159:13)
│ ├─┬/_ltr/_model
│ │ └─┬GET
│ │   └─┬Responses
│ │     └─┬200
│ │       └─┬application/json
│ │         └─┬Schema
│ │           └──[🔀] $ref (35193:13)
│ ├─┬/_ltr/{store}/_model/{id}
│ │ ├─┬PUT
│ │ │ └─┬Responses
│ │ │   ├─┬200
│ │ │   │ └─┬application/json
│ │ │   │   └─┬Schema
│ │ │   │     └──[🔀] $ref (40562:13)❌ 
│ │ │   └─┬201
│ │ │     └─┬application/json
│ │ │       └─┬Schema
│ │ │         └──[🔀] $ref (40562:13)❌ 
│ │ └─┬DELETE
│ │   └─┬Responses
│ │     └─┬200
│ │       └─┬application/json
│ │         └─┬Schema
│ │           └──[🔀] $ref (40562:13)❌ 
│ ├─┬/_plugins/_ml/models/{model_id}/_load
│ │ └─┬POST
│ │   └─┬Responses
│ │     └─┬200
│ │       └─┬application/json
│ │         └─┬Schema
│ │           └─┬task_type
│ │             └──[🔀] $ref (61948:13)
│ ├─┬/_ltr/{store}/_featureset/{name}/_addfeatures
│ │ └─┬POST
│ │   └─┬Responses
│ │     ├─┬200
│ │     │ └─┬application/json
│ │     │   └─┬Schema
│ │     │     └──[🔀] $ref (40562:13)❌ 
│ │     └─┬201
│ │       └─┬application/json
│ │         └─┬Schema
│ │           └──[🔀] $ref (40562:13)❌ 
│ ├─┬/_ltr/{store}/_featureset/{name}/_addfeatures/{query}
│ │ └─┬POST
│ │   └─┬Responses
│ │     ├─┬200
│ │     │ └─┬application/json
│ │     │   └─┬Schema
│ │     │     └──[🔀] $ref (40562:13)❌ 
│ │     └─┬201
│ │       └─┬application/json
│ │         └─┬Schema
│ │           └──[🔀] $ref (40562:13)❌ 
│ ├─┬/_plugins/_ml/connectors/_search
│ │ ├─┬GET
│ │ │ └─┬Requestbody
│ │ │   └─┬application/json
│ │ │     └─┬Schema
│ │ │       ├─┬query
│ │ │       │ └──[🔀] $ref (48499:13)❌ 
│ │ │       ├─┬size
│ │ │       │ └──[➕] format (31387:25)❌ 
│ │ │       └─┬sort
│ │ │         └──[🔀] $ref (40091:9)
│ │ └─┬POST
│ │   └─┬Requestbody
│ │     └─┬application/json
│ │       └─┬Schema
│ │         ├─┬size
│ │         │ └──[➕] format (31387:25)❌ 
│ │         ├─┬sort
│ │         │ └──[🔀] $ref (40091:9)
│ │         └─┬query
│ │           └──[🔀] $ref (48499:13)❌ 
│ ├─┬/_plugins/_ml/models/_search
│ │ ├─┬GET
│ │ │ └─┬Requestbody
│ │ │   └─┬application/json
│ │ │     └─┬Schema
│ │ │       ├─┬query
│ │ │       │ └──[🔀] $ref (48499:13)❌ 
│ │ │       └─┬sort
│ │ │         └──[🔀] $ref (40091:9)
│ │ └─┬POST
│ │   └─┬Requestbody
│ │     └─┬application/json
│ │       └─┬Schema
│ │         ├─┬sort
│ │         │ └──[🔀] $ref (40091:9)
│ │         └─┬query
│ │           └──[🔀] $ref (48499:13)❌ 
│ ├─┬/_ltr/{store}/_model
│ │ └─┬GET
│ │   └─┬Responses
│ │     └─┬200
│ │       └─┬application/json
│ │         └─┬Schema
│ │           └──[🔀] $ref (35193:13)
│ ├─┬/_plugins/_ml/memory/_search
│ │ ├─┬GET
│ │ │ └─┬Requestbody
│ │ │   └─┬application/json
│ │ │     └─┬Schema
│ │ │       ├─┬sort
│ │ │       │ └──[🔀] $ref (40091:9)
│ │ │       └─┬query
│ │ │         └──[🔀] $ref (48499:13)❌ 
│ │ └─┬POST
│ │   └─┬Requestbody
│ │     └─┬application/json
│ │       └─┬Schema
│ │         ├─┬sort
│ │         │ └──[🔀] $ref (40091:9)
│ │         └─┬query
│ │           └──[🔀] $ref (48499:13)❌ 
│ ├─┬/_plugins/_ml/tasks/_search
│ │ ├─┬GET
│ │ │ └─┬Requestbody
│ │ │   └─┬application/json
│ │ │     └─┬Schema
│ │ │       ├─┬query
│ │ │       │ └──[🔀] $ref (48499:13)❌ 
│ │ │       └─┬sort
│ │ │         └──[🔀] $ref (40091:9)
│ │ └─┬POST
│ │   └─┬Requestbody
│ │     └─┬application/json
│ │       └─┬Schema
│ │         ├─┬query
│ │         │ └──[🔀] $ref (48499:13)❌ 
│ │         └─┬sort
│ │           └──[🔀] $ref (40091:9)
│ ├─┬/_plugins/_ml/stats/{stat}
│ │ └─┬GET
│ │   └─┬Parameters
│ │     └─┬Schema
│ │       ├──[➖] enum (26223:13)❌ 
│ │       ├──[➖] enum (26224:13)❌ 
│ │       ├──[➖] enum (26218:13)❌ 
│ │       ├──[➖] enum (26219:13)❌ 
│ │       ├──[➖] enum (26220:13)❌ 
│ │       ├──[➖] enum (26221:13)❌ 
│ │       ├──[➖] enum (26222:13)❌ 
│ │       ├──[➖] type (26216:15)❌ 
│ │       ├──[➕] oneOf (61938:7)
│ │       └──[➕] oneOf (26167:13)
│ ├─┬/_bulk/stream
│ │ ├─┬PUT
│ │ │ └─┬Responses
│ │ │   └─┬200
│ │ │     └──application/json
│ │ └─┬POST
│ │   └─┬Responses
│ │     └─┬200
│ │       └──application/json
│ ├─┬/{index}/_bulk/stream
│ │ ├─┬PUT
│ │ │ └─┬Responses
│ │ │   └─┬200
│ │ │     └──application/json
│ │ └─┬POST
│ │   └─┬Responses
│ │     └─┬200
│ │       └──application/json
│ ├─┬/_ltr/{store}/_featureset
│ │ └─┬GET
│ │   └─┬Responses
│ │     └─┬200
│ │       └─┬application/json
│ │         └─┬Schema
│ │           └──[🔀] $ref (35184:13)
│ ├─┬/_plugins/_neural/stats/{stat}
│ │ └─┬GET
│ │   └─┬Parameters
│ │     └─┬Schema
│ │       ├──[➖] enum (26626:13)❌ 
│ │       ├──[➖] enum (26638:13)❌ 
│ │       ├──[➖] enum (26605:13)❌ 
│ │       ├──[➖] enum (26610:13)❌ 
│ │       ├──[➖] enum (26617:13)❌ 
│ │       ├──[➖] enum (26624:13)❌ 
│ │       ├──[➖] enum (26625:13)❌ 
│ │       ├──[➖] enum (26634:13)❌ 
│ │       ├──[➖] enum (26639:13)❌ 
│ │       ├──[➖] enum (26640:13)❌ 
│ │       ├──[➖] enum (26594:13)❌ 
│ │       ├──[➖] enum (26601:13)❌ 
│ │       ├──[➖] enum (26618:13)❌ 
│ │       ├──[➖] enum (26631:13)❌ 
│ │       ├──[➖] enum (26635:13)❌ 
│ │       ├──[➖] enum (26637:13)❌ 
│ │       ├──[➖] enum (26642:13)❌ 
│ │       ├──[➖] enum (26643:13)❌ 
│ │       ├──[➖] enum (26600:13)❌ 
│ │       ├──[➖] enum (26606:13)❌ 
│ │       ├──[➖] enum (26607:13)❌ 
│ │       ├──[➖] enum (26621:13)❌ 
│ │       ├──[➖] enum (26622:13)❌ 
│ │       ├──[➖] enum (26623:13)❌ 
│ │       ├──[➖] enum (26628:13)❌ 
│ │       ├──[➖] enum (26629:13)❌ 
│ │       ├──[➖] enum (26596:13)❌ 
│ │       ├──[➖] enum (26608:13)❌ 
│ │       ├──[➖] enum (26632:13)❌ 
│ │       ├──[➖] enum (26633:13)❌ 
│ │       ├──[➖] enum (26636:13)❌ 
│ │       ├──[➖] enum (26644:13)❌ 
│ │       ├──[➖] enum (26591:13)❌ 
│ │       ├──[➖] enum (26593:13)❌ 
│ │       ├──[➖] enum (26595:13)❌ 
│ │       ├──[➖] enum (26613:13)❌ 
│ │       ├──[➖] enum (26616:13)❌ 
│ │       ├──[➖] enum (26627:13)❌ 
│ │       ├──[➖] enum (26630:13)❌ 
│ │       ├──[➖] enum (26612:13)❌ 
│ │       ├──[➖] enum (26615:13)❌ 
│ │       ├──[➖] enum (26619:13)❌ 
│ │       ├──[➖] enum (26641:13)❌ 
│ │       ├──[➖] enum (26645:13)❌ 
│ │       ├──[➖] enum (26592:13)❌ 
│ │       ├──[➖] enum (26602:13)❌ 
│ │       ├──[➖] enum (26603:13)❌ 
│ │       ├──[➖] enum (26609:13)❌ 
│ │       ├──[➖] enum (26611:13)❌ 
│ │       ├──[➖] enum (26620:13)❌ 
│ │       ├──[➖] enum (26597:13)❌ 
│ │       ├──[➖] enum (26598:13)❌ 
│ │       ├──[➖] enum (26599:13)❌ 
│ │       ├──[➖] enum (26604:13)❌ 
│ │       ├──[➖] enum (26614:13)❌ 
│ │       ├──[➖] type (26589:15)❌ 
│ │       ├──[➕] oneOf (63315:7)
│ │       └──[➕] oneOf (26517:13)
│ ├─┬/_ltr/_feature/{id}
│ │ ├─┬PUT
│ │ │ └─┬Responses
│ │ │   ├─┬200
│ │ │   │ └─┬application/json
│ │ │   │   └─┬Schema
│ │ │   │     └──[🔀] $ref (40562:13)❌ 
│ │ │   └─┬201
│ │ │     └─┬application/json
│ │ │       └─┬Schema
│ │ │         └──[🔀] $ref (40562:13)❌ 
│ │ ├─┬POST
│ │ │ └─┬Responses
│ │ │   └─┬200
│ │ │     └─┬application/json
│ │ │       └─┬Schema
│ │ │         └──[🔀] $ref (40562:13)❌ 
│ │ └─┬DELETE
│ │   └─┬Responses
│ │     └─┬200
│ │       └─┬application/json
│ │         └─┬Schema
│ │           └──[🔀] $ref (40562:13)❌ 
│ ├─┬/_plugins/_knn/stats/{stat}
│ │ └─┬GET
│ │   └─┬Parameters
│ │     └─┬Schema
│ │       ├──[➖] items (25163:11)❌ 
│ │       ├──[➖] type (25160:15)❌ 
│ │       ├──[➖] description (25161:22)
│ │       ├──[➕] oneOf (61010:7)
│ │       └──[➕] oneOf (25158:13)
│ ├─┬/_plugins/_ml/connectors/_create
│ │ └─┬POST
│ │   └─┬Requestbody
│ │     └─┬application/json
│ │       └─┬Schema
│ │         └─┬protocol
│ │           └──[🔀] $ref (61554:13)
│ ├─┬/_plugins/_ml/connectors/{connector_id}
│ │ └─┬PUT
│ │   └─┬Requestbody
│ │     └──application/json
│ ├─┬/_plugins/_neural/{node_id}/stats/{stat}
│ │ └─┬GET
│ │   └─┬Parameters
│ │     └─┬Schema
│ │       ├──[➖] enum (26595:13)❌ 
│ │       ├──[➖] enum (26597:13)❌ 
│ │       ├──[➖] enum (26598:13)❌ 
│ │       ├──[➖] enum (26601:13)❌ 
│ │       ├──[➖] enum (26617:13)❌ 
│ │       ├──[➖] enum (26623:13)❌ 
│ │       ├──[➖] enum (26631:13)❌ 
│ │       ├──[➖] enum (26632:13)❌ 
│ │       ├──[➖] enum (26603:13)❌ 
│ │       ├──[➖] enum (26608:13)❌ 
│ │       ├──[➖] enum (26619:13)❌ 
│ │       ├──[➖] enum (26629:13)❌ 
│ │       ├──[➖] enum (26633:13)❌ 
│ │       ├──[➖] enum (26637:13)❌ 
│ │       ├──[➖] enum (26638:13)❌ 
│ │       ├──[➖] enum (26641:13)❌ 
│ │       ├──[➖] enum (26594:13)❌ 
│ │       ├──[➖] enum (26599:13)❌ 
│ │       ├──[➖] enum (26610:13)❌ 
│ │       ├──[➖] enum (26613:13)❌ 
│ │       ├──[➖] enum (26615:13)❌ 
│ │       ├──[➖] enum (26618:13)❌ 
│ │       ├──[➖] enum (26627:13)❌ 
│ │       ├──[➖] enum (26628:13)❌ 
│ │       ├──[➖] enum (26612:13)❌ 
│ │       ├──[➖] enum (26634:13)❌ 
│ │       ├──[➖] enum (26643:13)❌ 
│ │       ├──[➖] enum (26645:13)❌ 
│ │       ├──[➖] enum (26596:13)❌ 
│ │       ├──[➖] enum (26602:13)❌ 
│ │       ├──[➖] enum (26604:13)❌ 
│ │       ├──[➖] enum (26605:13)❌ 
│ │       ├──[➖] enum (26606:13)❌ 
│ │       ├──[➖] enum (26625:13)❌ 
│ │       ├──[➖] enum (26626:13)❌ 
│ │       ├──[➖] enum (26636:13)❌ 
│ │       ├──[➖] enum (26592:13)❌ 
│ │       ├──[➖] enum (26622:13)❌ 
│ │       ├──[➖] enum (26624:13)❌ 
│ │       ├──[➖] enum (26639:13)❌ 
│ │       ├──[➖] enum (26640:13)❌ 
│ │       ├──[➖] enum (26644:13)❌ 
│ │       ├──[➖] enum (26593:13)❌ 
│ │       ├──[➖] enum (26609:13)❌ 
│ │       ├──[➖] enum (26611:13)❌ 
│ │       ├──[➖] enum (26614:13)❌ 
│ │       ├──[➖] enum (26642:13)❌ 
│ │       ├──[➖] enum (26591:13)❌ 
│ │       ├──[➖] enum (26600:13)❌ 
│ │       ├──[➖] enum (26607:13)❌ 
│ │       ├──[➖] enum (26616:13)❌ 
│ │       ├──[➖] enum (26620:13)❌ 
│ │       ├──[➖] enum (26621:13)❌ 
│ │       ├──[➖] enum (26630:13)❌ 
│ │       ├──[➖] enum (26635:13)❌ 
│ │       ├──[➖] type (26589:15)❌ 
│ │       ├──[➕] oneOf (63315:7)
│ │       └──[➕] oneOf (26517:13)
│ ├─┬/_ltr/{store}/_featureset/{name}/_createmodel
│ │ └─┬POST
│ │   └─┬Responses
│ │     ├─┬200
│ │     │ └─┬application/json
│ │     │   └─┬Schema
│ │     │     └──[🔀] $ref (40562:13)❌ 
│ │     └─┬201
│ │       └─┬application/json
│ │         └─┬Schema
│ │           └──[🔀] $ref (40562:13)❌ 
│ ├─┬/_plugins/_ml/{node_id}/stats/{stat}
│ │ └─┬GET
│ │   └─┬Parameters
│ │     └─┬Schema
│ │       ├──[➖] enum (26222:13)❌ 
│ │       ├──[➖] enum (26223:13)❌ 
│ │       ├──[➖] enum (26224:13)❌ 
│ │       ├──[➖] enum (26218:13)❌ 
│ │       ├──[➖] enum (26219:13)❌ 
│ │       ├──[➖] enum (26220:13)❌ 
│ │       ├──[➖] enum (26221:13)❌ 
│ │       ├──[➖] type (26216:15)❌ 
│ │       ├──[➕] oneOf (61938:7)
│ │       └──[➕] oneOf (26167:13)
│ ├─┬/_plugins/_ml/model_groups/_search
│ │ ├─┬GET
│ │ │ └─┬Requestbody
│ │ │   └─┬application/json
│ │ │     └─┬Schema
│ │ │       ├─┬sort
│ │ │       │ └──[🔀] $ref (40091:9)
│ │ │       └─┬query
│ │ │         └──[🔀] $ref (48499:13)❌ 
│ │ └─┬POST
│ │   └─┬Requestbody
│ │     └─┬application/json
│ │       └─┬Schema
│ │         ├─┬query
│ │         │ └──[🔀] $ref (48499:13)❌ 
│ │         └─┬sort
│ │           └──[🔀] $ref (40091:9)
│ ├─┬/_plugins/_transform/{id}
│ │ └─┬DELETE
│ │   └─┬Responses
│ │     └─┬200
│ │       └─┬application/json
│ │         └─┬Schema
│ │           └──[🔀] $ref (49399:13)❌ 
│ ├─┬/_list/shards
│ │ └─┬GET
│ │   └─┬Parameters
│ │     └─┬Schema
│ │       └──[🔀] $ref (40159:13)
│ ├─┬/_ltr/_featureset/{name}/_addfeatures/{query}
│ │ └─┬POST
│ │   └─┬Responses
│ │     ├─┬200
│ │     │ └─┬application/json
│ │     │   └─┬Schema
│ │     │     └──[🔀] $ref (40562:13)❌ 
│ │     └─┬201
│ │       └─┬application/json
│ │         └─┬Schema
│ │           └──[🔀] $ref (40562:13)❌ 
│ ├─┬/_opendistro/_knn/stats/{stat}
│ │ └─┬GET
│ │   └─┬Parameters
│ │     └─┬Schema
│ │       ├──[➖] items (25163:11)❌ 
│ │       ├──[➖] type (25160:15)❌ 
│ │       ├──[➖] description (25161:22)
│ │       ├──[➕] oneOf (61010:7)
│ │       └──[➕] oneOf (25158:13)
│ ├─┬/_ltr/{store}/_featureset/{id}
│ │ ├─┬PUT
│ │ │ └─┬Responses
│ │ │   ├─┬200
│ │ │   │ └─┬application/json
│ │ │   │   └─┬Schema
│ │ │   │     └──[🔀] $ref (40562:13)❌ 
│ │ │   └─┬201
│ │ │     └─┬application/json
│ │ │       └─┬Schema
│ │ │         └──[🔀] $ref (40562:13)❌ 
│ │ ├─┬POST
│ │ │ └─┬Responses
│ │ │   └─┬200
│ │ │     └─┬application/json
│ │ │       └─┬Schema
│ │ │         └──[🔀] $ref (40562:13)❌ 
│ │ └─┬DELETE
│ │   └─┬Responses
│ │     └─┬200
│ │       └─┬application/json
│ │         └─┬Schema
│ │           └──[🔀] $ref (40562:13)❌ 
│ ├─┬/_list/shards/{index}
│ │ └─┬GET
│ │   └─┬Parameters
│ │     └─┬Schema
│ │       └──[🔀] $ref (40159:13)
│ ├─┬/_plugins/_ml/memory/{memory_id}/_search
│ │ ├─┬GET
│ │ │ └─┬Requestbody
│ │ │   └─┬application/json
│ │ │     └─┬Schema
│ │ │       ├─┬query
│ │ │       │ └──[🔀] $ref (48499:13)❌ 
│ │ │       └─┬sort
│ │ │         └──[🔀] $ref (40091:9)
│ │ └─┬POST
│ │   └─┬Requestbody
│ │     └─┬application/json
│ │       └─┬Schema
│ │         ├─┬sort
│ │         │ └──[🔀] $ref (40091:9)
│ │         └─┬query
│ │           └──[🔀] $ref (48499:13)❌ 
│ ├─┬/_ltr/_model/{id}
│ │ ├─┬PUT
│ │ │ └─┬Responses
│ │ │   ├─┬200
│ │ │   │ └─┬application/json
│ │ │   │   └─┬Schema
│ │ │   │     └──[🔀] $ref (40562:13)❌ 
│ │ │   └─┬201
│ │ │     └─┬application/json
│ │ │       └─┬Schema
│ │ │         └──[🔀] $ref (40562:13)❌ 
│ │ └─┬DELETE
│ │   └─┬Responses
│ │     └─┬200
│ │       └─┬application/json
│ │         └─┬Schema
│ │           └──[🔀] $ref (40562:13)❌ 
│ ├─┬/_opendistro/_knn/{node_id}/stats/{stat}
│ │ └─┬GET
│ │   └─┬Parameters
│ │     └─┬Schema
│ │       ├──[➖] items (25163:11)❌ 
│ │       ├──[➖] type (25160:15)❌ 
│ │       ├──[➖] description (25161:22)
│ │       ├──[➕] oneOf (61010:7)
│ │       └──[➕] oneOf (25158:13)
│ ├─┬/_list/indices/{index}
│ │ └─┬GET
│ │   └─┬Parameters
│ │     └─┬Schema
│ │       └──[🔀] $ref (40159:13)
│ ├─┬/_ltr/{store}/_feature/{id}
│ │ ├─┬PUT
│ │ │ └─┬Responses
│ │ │   ├─┬201
│ │ │   │ └─┬application/json
│ │ │   │   └─┬Schema
│ │ │   │     └──[🔀] $ref (40562:13)❌ 
│ │ │   └─┬200
│ │ │     └─┬application/json
│ │ │       └─┬Schema
│ │ │         └──[🔀] $ref (40562:13)❌ 
│ │ ├─┬POST
│ │ │ └─┬Responses
│ │ │   └─┬200
│ │ │     └─┬application/json
│ │ │       └─┬Schema
│ │ │         └──[🔀] $ref (40562:13)❌ 
│ │ └─┬DELETE
│ │   └─┬Responses
│ │     └─┬200
│ │       └─┬application/json
│ │         └─┬Schema
│ │           └──[🔀] $ref (40562:13)❌ 
│ ├─┬/_list/indices
│ │ └─┬GET
│ │   └─┬Parameters
│ │     └─┬Schema
│ │       └──[🔀] $ref (40159:13)
│ ├─┬/_ltr/{store}/_feature
│ │ └─┬GET
│ │   └─┬Responses
│ │     └─┬200
│ │       └─┬application/json
│ │         └─┬Schema
│ │           └──[🔀] $ref (35175:13)
│ ├─┬/_plugins/_ml/model_groups/_register
│ │ └─┬POST
│ │   └─┬Requestbody
│ │     └──application/json
│ ├─┬/_ltr/_featureset/{name}/_addfeatures
│ │ └─┬POST
│ │   └─┬Responses
│ │     ├─┬200
│ │     │ └─┬application/json
│ │     │   └─┬Schema
│ │     │     └──[🔀] $ref (40562:13)❌ 
│ │     └─┬201
│ │       └─┬application/json
│ │         └─┬Schema
│ │           └──[🔀] $ref (40562:13)❌ 
│ ├─┬/_ltr/_feature
│ │ └─┬GET
│ │   └─┬Responses
│ │     └─┬200
│ │       └─┬application/json
│ │         └─┬Schema
│ │           └──[🔀] $ref (35175:13)
│ ├─┬/_plugins/_ml/agents/_search
│ │ ├─┬GET
│ │ │ └─┬Requestbody
│ │ │   └─┬application/json
│ │ │     └─┬Schema
│ │ │       ├─┬query
│ │ │       │ └──[🔀] $ref (48499:13)❌ 
│ │ │       ├─┬sort
│ │ │       │ └──[🔀] $ref (40091:9)
│ │ │       └─┬size
│ │ │         └──[➕] format (31372:25)❌ 
│ │ └─┬POST
│ │   └─┬Requestbody
│ │     └─┬application/json
│ │       └─┬Schema
│ │         ├─┬size
│ │         │ └──[➕] format (31372:25)❌ 
│ │         ├─┬query
│ │         │ └──[🔀] $ref (48499:13)❌ 
│ │         └─┬sort
│ │           └──[🔀] $ref (40091:9)
│ ├─┬/_ltr/_featureset/{id}
│ │ ├─┬PUT
│ │ │ └─┬Responses
│ │ │   ├─┬200
│ │ │   │ └─┬application/json
│ │ │   │   └─┬Schema
│ │ │   │     └──[🔀] $ref (40562:13)❌ 
│ │ │   └─┬201
│ │ │     └─┬application/json
│ │ │       └─┬Schema
│ │ │         └──[🔀] $ref (40562:13)❌ 
│ │ ├─┬POST
│ │ │ └─┬Responses
│ │ │   └─┬200
│ │ │     └─┬application/json
│ │ │       └─┬Schema
│ │ │         └──[🔀] $ref (40562:13)❌ 
│ │ └─┬DELETE
│ │   └─┬Responses
│ │     └─┬200
│ │       └─┬application/json
│ │         └─┬Schema
│ │           └──[🔀] $ref (40562:13)❌ 
│ ├─┬/{index}/_bulk
│ │ ├─┬PUT
│ │ │ └─┬Responses
│ │ │   └─┬200
│ │ │     └──application/json
│ │ └─┬POST
│ │   └─┬Responses
│ │     └─┬200
│ │       └──application/json
│ ├─┬/_plugins/_knn/{node_id}/stats/{stat}
│ │ └─┬GET
│ │   └─┬Parameters
│ │     └─┬Schema
│ │       ├──[➖] items (25163:11)❌ 
│ │       ├──[➖] type (25160:15)❌ 
│ │       ├──[➖] description (25161:22)
│ │       ├──[➕] oneOf (61010:7)
│ │       └──[➕] oneOf (25158:13)
│ └─┬/_plugins/_ltr/stats/{stat}
│   └─┬GET
│     └─┬Parameters
│       └─┬Schema
│         ├──[➖] items (25881:11)❌ 
│         ├──[➖] type (25878:15)❌ 
│         ├──[➖] description (25879:22)
│         ├──[➕] oneOf (61317:7)
│         └──[➕] oneOf (25836:13)
└─┬Components
  ├──[➖] schemas (62744:7)❌ 
  ├──[➖] schemas (61810:7)❌ 
  ├──[➕] schemas (56307:7)
  ├──[➖] schemas (61511:7)❌ 
  ├──[➖] schemas (62792:7)❌ 
  ├──[➖] schemas (69122:7)❌ 
  ├──[➖] schemas (62047:7)❌ 
  ├──[➖] schemas (62816:7)❌ 
  ├──[➖] schemas (61539:7)❌ 
  ├──[➖] schemas (63266:7)❌ 
  ├──[➖] schemas (62474:7)❌ 
  ├──[➖] schemas (62070:7)❌ 
  ├──[➖] schemas (69900:7)❌ 
  ├──[➖] schemas (69939:7)❌ 
  ├──[➖] schemas (63168:7)❌ 
  ├──[➖] schemas (61804:7)❌ 
  ├──[➖] schemas (61526:7)❌ 
  ├──[➖] schemas (62339:7)❌ 
  ├──[➖] schemas (62623:7)❌ 
  ├──[➖] schemas (69934:7)❌ 
  ├──[➖] schemas (62838:7)❌ 
  ├──[➖] schemas (62610:7)❌ 
  ├──[➖] schemas (62862:7)❌ 
  ├──[➖] schemas (61643:7)❌ 
  ├──[➖] schemas (61410:7)❌ 
  ├──[➖] schemas (61670:7)❌ 
  ├──[➖] schemas (62078:7)❌ 
  ├──[➖] schemas (68911:7)❌ 
  ├──[➖] schemas (61493:7)❌ 
  ├──[➕] schemas (61914:7)
  ├──[➕] schemas (55975:7)
  ├──[➕] schemas (45221:7)
  ├──[➕] schemas (56279:7)
  ├──[➕] schemas (61517:7)
  ├──[➕] schemas (61546:7)
  ├──[➕] schemas (60235:7)
  ├──[➕] schemas (61010:7)
  ├──[➕] schemas (61450:7)
  ├──[➕] schemas (62375:7)
  ├──[➕] schemas (66666:7)
  ├──[➕] schemas (63315:7)
  ├──[➕] schemas (61907:7)
  ├──[➕] schemas (62059:7)
  ├──[➕] schemas (62712:7)
  ├──[➕] schemas (62122:7)
  ├──[➕] schemas (61924:7)
  ├──[➕] schemas (61824:7)
  ├──[➕] schemas (56366:7)
  ├──[➕] schemas (69700:7)
  ├──[➕] schemas (61554:7)
  ├──[➕] schemas (57827:7)
  ├──[➕] schemas (61837:7)
  ├──[➕] schemas (61778:7)
  ├──[➕] schemas (60081:7)
  ├──[➕] schemas (61938:7)
  ├──[➕] schemas (61948:7)
  ├──[➕] schemas (60960:7)
  ├──[➕] schemas (45227:7)
  ├──[➕] schemas (60131:7)
  ├──[➕] schemas (62765:7)
  ├──[➕] schemas (68041:7)
  ├──[➕] schemas (68587:7)
  ├──[➕] schemas (61317:7)
  ├──[➕] schemas (60139:7)
  ├──[➕] schemas (57858:7)
  ├──[➕] schemas (49399:7)
  ├─┬indices._common___IndexSettings
  │ └─┬replication.type
  │   └──[🔀] $ref (57858:13)
  ├─┬ml._common___GetStatsResponse
  │ ├─┬ml_config_index_status
  │ │ └──[🔀] $ref (61907:13)
  │ ├─┬ml_model_index_status
  │ │ └──[🔀] $ref (61907:13)
  │ ├─┬ml_task_index_status
  │ │ └──[🔀] $ref (61907:13)
  │ ├─┬ml_controller_index_status
  │ │ └──[🔀] $ref (61907:13)
  │ └─┬ml_connector_index_status
  │   └──[🔀] $ref (61907:13)
  ├─┬ml._common___RateLimiter
  │ └─┬unit
  │   └──[🔀] $ref (62375:13)
  ├─┬flow_framework.common___WorkFlowStatusFullResponse
  │ └─┬state
  │   └──[🔀] $ref (55975:13)
  ├─┬_common.analysis___Analyzer
  │ └──[➕] oneOf (45227:7)
  ├─┬neural._common___StatMetadata
  │ └─┬stat_type
  │   ├──[➖] enum (63796:15)❌ 
  │   ├──[➖] enum (63797:15)❌ 
  │   └──[➖] enum (63798:15)❌ 
  ├─┬ml._common___InputQuery
  │ └─┬query
  │   └──[🔀] $ref (48499:13)❌ 
  ├─┬ml._common___ByteBuffer
  │ └─┬order
  │   └──[🔀] $ref (61517:13)
  ├─┬indices._common___IngestionSource
  │ ├─┬error_strategy
  │ │ └──[🔀] $ref (60081:13)
  │ └─┬type
  │   └──[🔀] $ref (57827:13)
  ├─┬ingestion._common___ShardIngestionState
  │ ├─┬poller_state
  │ │ └──[🔀] $ref (60131:13)
  │ └─┬error_policy
  │   └──[🔀] $ref (60081:13)
  ├─┬ml._common___PredictModelOutput
  │ └─┬data_type
  │   └──[🔀] $ref (61924:13)
  ├─┬wlm._common___QueryGroupResponse
  │ └─┬resiliency_mode
  │   └──[🔀] $ref (69700:13)
  ├─┬replication._common___Status
  │ └─┬status
  │   └──[🔀] $ref (66666:13)
  ├─┬indices._common___IndexSettingsSimilarityBm25
  │ └─┬type
  │   ├──[➕] type (57458:17)❌ 
  │   ├──[➕] description (57456:24)
  │   ├──[➕] const (57457:18)❌ 
  │   └──[➖] oneOf (57615:15)❌ 
  ├─┬ml._common___Source
  │ ├──input_type
  │ ├──task_type
  │ ├──protocol
  │ ├──model_state
  │ ├─┬access
  │ │ └──[🔀] $ref (62059:13)
  │ └─┬type
  │   └──[🔀] $ref (61450:13)
  ├─┬geospatial._common___GeoJSONRequest
  │ └─┬type
  │   └──[🔀] $ref (56366:13)
  ├─┬geospatial._common___DataSource
  │ └─┬state
  │   └──[🔀] $ref (56279:13)
  ├─┬ingestion._common___ResetSettings
  │ └─┬mode
  │   └──[🔀] $ref (60139:13)
  ├─┬ml._common___Output
  │ └─┬data_type
  │   └──[🔀] $ref (61924:13)
  ├─┬ml._common___ModelGroup
  │ └─┬access
  │   └──[🔀] $ref (62059:13)
  ├─┬sm._common___IntervalConfig
  │ └─┬unit
  │   └──[🔀] $ref (68587:13)
  ├─┬ml._common___TrainParameters
  │ └─┬distance_type
  │   └──[🔀] $ref (61824:13)
  ├─┬_common.analysis___PhoneAnalyzer
  │ ├──[➖] type (45413:13)❌ 
  │ ├──[➖] properties (45420:9)❌ 
  │ ├──[➖] properties (45415:9)❌ 
  │ ├──[➕] allOf (45221:7)
  │ └──[➕] allOf (45212:11)
  └─┬ml._common___FunctionName
    ├──[➕] enum (61645:11)
    ├──[➕] enum (61647:11)
    ├──[➕] enum (61649:11)
    ├──[➕] enum (61619:11)
    ├──[➕] enum (61625:11)
    ├──[➕] enum (61621:11)
    ├──[➕] enum (61623:11)
    ├──[➕] enum (61615:11)
    ├──[➕] enum (61639:11)
    ├──[➕] enum (61641:11)
    ├──[➕] enum (61627:11)
    ├──[➕] enum (61617:11)
    ├──[➕] enum (61631:11)
    ├──[➕] enum (61651:11)
    ├──[➕] enum (61633:11)
    ├──[➕] enum (61635:11)
    ├──[➕] enum (61637:11)
    ├──[➕] enum (61629:11)
    └──[➕] enum (61643:11)

Document Element Total Changes Breaking Changes
paths 249 194
components 124 38
  • BREAKING Changes: 232 out of 373
  • Modifications: 105
  • Removals: 181
  • Additions: 87
  • Breaking Removals: 175
  • Breaking Modifications: 51
  • Breaking Additions: 6

Report

The full API changes report is available at: https://github.com/opensearch-project/opensearch-api-specification/actions/runs/16065384669/artifacts/3463212996

API Coverage

Before After Δ
Covered (%) 666 (65.23 %) 666 (65.23 %) 0 (0 %)
Uncovered (%) 355 (34.77 %) 355 (34.77 %) 0 (0 %)
Unknown 128 128 0

Xtansia added 2 commits July 3, 2025 14:02
Signed-off-by: Thomas Farr <[email protected]>
Signed-off-by: Thomas Farr <[email protected]>
Copy link
Contributor

github-actions bot commented Jul 3, 2025

Spec Test Coverage Analysis

Total Tested
681 679 (99.71 %)

Xtansia added 2 commits July 4, 2025 15:08
Signed-off-by: Thomas Farr <[email protected]>
Signed-off-by: Thomas Farr <[email protected]>
Copy link
Member

@dblock dblock left a comment

Choose a reason for hiding this comment

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

Good work, thanks for adding the validator code.

@dblock dblock merged commit f700aeb into opensearch-project:main Jul 5, 2025
34 checks passed
@Xtansia Xtansia deleted the feat/inline-enums-validator branch July 6, 2025 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog No need to update CHANGELOG.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants