Skip to content

Commit 0c2e861

Browse files
Update specification output
1 parent f0da131 commit 0c2e861

File tree

2 files changed

+28
-5
lines changed

2 files changed

+28
-5
lines changed

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 11 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema-serverless.json

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7750,7 +7750,7 @@
77507750
"name": "Request",
77517751
"namespace": "ml.update_trained_model_deployment"
77527752
},
7753-
"requestBodyRequired": true,
7753+
"requestBodyRequired": false,
77547754
"requestMediaType": [
77557755
"application/json"
77567756
],
@@ -34408,8 +34408,22 @@
3440834408
}
3440934409
}
3441034410
],
34411-
"query": [],
34412-
"specLocation": "ml/update_trained_model_deployment/MlUpdateTrainedModelDeploymentRequest.ts#L24-L50"
34411+
"query": [
34412+
{
34413+
"description": "The number of model allocations on each node where the model is deployed.\nAll allocations on a node share the same copy of the model in memory but use\na separate set of threads to evaluate the model.\nIncreasing this value generally increases the throughput.\nIf this setting is greater than the number of hardware threads\nit will automatically be changed to a value less than the number of hardware threads.",
34414+
"name": "number_of_allocations",
34415+
"required": false,
34416+
"serverDefault": 1,
34417+
"type": {
34418+
"kind": "instance_of",
34419+
"type": {
34420+
"name": "integer",
34421+
"namespace": "_types"
34422+
}
34423+
}
34424+
}
34425+
],
34426+
"specLocation": "ml/update_trained_model_deployment/MlUpdateTrainedModelDeploymentRequest.ts#L24-L62"
3441334427
},
3441434428
{
3441534429
"body": {

0 commit comments

Comments
 (0)