Skip to content

Commit

Permalink
[Backport 8.x] Fix most ML APIs (elastic#3289)
Browse files Browse the repository at this point in the history
* updated discovery node class

* correct import

* fixes around ml

* more ml fixes, tentative discoverynode fix

* more ml fixes

* even more ml fixes

* other ml fixes

* modeling discovery node

* correct discovery nodes optionals

* correcting types

* removed deprecated params

* Update specification/ml/_types/TrainedModel.ts

Co-authored-by: Quentin Pradet <[email protected]>

* Update specification/ml/_types/TrainedModel.ts

Co-authored-by: Quentin Pradet <[email protected]>

* Update specification/ml/_types/TrainedModel.ts

Co-authored-by: Quentin Pradet <[email protected]>

* Update specification/ml/_types/TrainedModel.ts

Co-authored-by: Quentin Pradet <[email protected]>

* Update specification/ml/_types/TrainedModel.ts

Co-authored-by: Quentin Pradet <[email protected]>

* addressing reviews

* Update specification/ml/_types/inference.ts

Co-authored-by: Quentin Pradet <[email protected]>

* Update specification/ml/_types/inference.ts

Co-authored-by: Quentin Pradet <[email protected]>

* Update specification/ml/_types/inference.ts

Co-authored-by: Quentin Pradet <[email protected]>

* Update specification/ml/post_data/MlPostJobDataResponse.ts

Co-authored-by: Quentin Pradet <[email protected]>

* more review addressing

* merge fixes

---------

Co-authored-by: Quentin Pradet <[email protected]>
(cherry picked from commit ea3e9b6)

Co-authored-by: Laura Trotta <[email protected]>
  • Loading branch information
github-actions[bot] and l-trotta authored Dec 12, 2024
1 parent 27fcdf5 commit 8b956f2
Show file tree
Hide file tree
Showing 24 changed files with 3,527 additions and 975 deletions.
589 changes: 447 additions & 142 deletions output/openapi/elasticsearch-openapi.json

Large diffs are not rendered by default.

429 changes: 334 additions & 95 deletions output/openapi/elasticsearch-serverless-openapi.json

Large diffs are not rendered by default.

1,303 changes: 1,074 additions & 229 deletions output/schema/schema-serverless.json

Large diffs are not rendered by default.

1,657 changes: 1,306 additions & 351 deletions output/schema/schema.json

Large diffs are not rendered by default.

15 changes: 0 additions & 15 deletions output/schema/validation-errors.json
Original file line number Diff line number Diff line change
Expand Up @@ -747,21 +747,6 @@
],
"response": []
},
"ml.get_trained_models": {
"request": [
"Request: missing json spec query parameter 'include_model_definition'"
],
"response": []
},
"ml.put_job": {
"request": [
"Request: missing json spec query parameter 'ignore_unavailable'",
"Request: missing json spec query parameter 'allow_no_indices'",
"Request: missing json spec query parameter 'ignore_throttled'",
"Request: missing json spec query parameter 'expand_wildcards'"
],
"response": []
},
"ml.stop_datafeed": {
"request": [
"Request: missing json spec query parameter 'allow_no_datafeeds'"
Expand Down
Loading

0 comments on commit 8b956f2

Please sign in to comment.