Skip to content

Commit c7cc4e4

Browse files
Update specification output
1 parent 3812974 commit c7cc4e4

File tree

5 files changed

+60
-36
lines changed

5 files changed

+60
-36
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16967,7 +16967,7 @@
1696716967
"required": true,
1696816968
"deprecated": false,
1696916969
"schema": {
16970-
"$ref": "#/components/schemas/_types:Id"
16970+
"$ref": "#/components/schemas/_types:Ids"
1697116971
},
1697216972
"style": "simple"
1697316973
}
@@ -45564,11 +45564,11 @@
4556445564
"ml.get_trained_models#model_id": {
4556545565
"in": "path",
4556645566
"name": "model_id",
45567-
"description": "The unique identifier of the trained model.",
45567+
"description": "The unique identifier of the trained model or a model alias.\n\nYou can get information for multiple trained models in a single API\nrequest by using a comma-separated list of model IDs or a wildcard\nexpression.",
4556845568
"required": true,
4556945569
"deprecated": false,
4557045570
"schema": {
45571-
"$ref": "#/components/schemas/_types:Id"
45571+
"$ref": "#/components/schemas/_types:Ids"
4557245572
},
4557345573
"style": "simple"
4557445574
},
@@ -45638,7 +45638,17 @@
4563845638
"description": "A comma delimited string of tags. A trained model can have many tags, or\nnone. When supplied, only trained models that contain all the supplied\ntags are returned.",
4563945639
"deprecated": false,
4564045640
"schema": {
45641-
"type": "string"
45641+
"oneOf": [
45642+
{
45643+
"type": "string"
45644+
},
45645+
{
45646+
"type": "array",
45647+
"items": {
45648+
"type": "string"
45649+
}
45650+
}
45651+
]
4564245652
},
4564345653
"style": "form"
4564445654
},
@@ -89109,11 +89119,7 @@
8910989119
"$ref": "#/components/schemas/_types:Duration"
8911089120
},
8911189121
"indices": {
89112-
"description": "An array of index names. Wildcards are supported. If any indices are in remote clusters, the machine learning nodes must have the `remote_cluster_client` role.",
89113-
"type": "array",
89114-
"items": {
89115-
"type": "string"
89116-
}
89122+
"$ref": "#/components/schemas/_types:Indices"
8911789123
},
8911889124
"indices_options": {
8911989125
"$ref": "#/components/schemas/_types:IndicesOptions"

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 15 additions & 9 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: 28 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -29293,13 +29293,13 @@
2929329293
},
2929429294
"path": [
2929529295
{
29296-
"description": "The unique identifier of the trained model.",
29296+
"description": "The unique identifier of the trained model or a model alias.\n\nYou can get information for multiple trained models in a single API\nrequest by using a comma-separated list of model IDs or a wildcard\nexpression.",
2929729297
"name": "model_id",
2929829298
"required": false,
2929929299
"type": {
2930029300
"kind": "instance_of",
2930129301
"type": {
29302-
"name": "Id",
29302+
"name": "Ids",
2930329303
"namespace": "_types"
2930429304
}
2930529305
}
@@ -29388,15 +29388,30 @@
2938829388
"name": "tags",
2938929389
"required": false,
2939029390
"type": {
29391-
"kind": "instance_of",
29392-
"type": {
29393-
"name": "string",
29394-
"namespace": "_builtins"
29395-
}
29391+
"items": [
29392+
{
29393+
"kind": "instance_of",
29394+
"type": {
29395+
"name": "string",
29396+
"namespace": "_builtins"
29397+
}
29398+
},
29399+
{
29400+
"kind": "array_of",
29401+
"value": {
29402+
"kind": "instance_of",
29403+
"type": {
29404+
"name": "string",
29405+
"namespace": "_builtins"
29406+
}
29407+
}
29408+
}
29409+
],
29410+
"kind": "union_of"
2939629411
}
2939729412
}
2939829413
],
29399-
"specLocation": "ml/get_trained_models/MlGetTrainedModelRequest.ts#L25-L87"
29414+
"specLocation": "ml/get_trained_models/MlGetTrainedModelRequest.ts#L25-L91"
2940029415
},
2940129416
{
2940229417
"body": {
@@ -30205,7 +30220,7 @@
3020530220
"type": {
3020630221
"kind": "instance_of",
3020730222
"type": {
30208-
"name": "Id",
30223+
"name": "Ids",
3020930224
"namespace": "_types"
3021030225
}
3021130226
}
@@ -129961,13 +129976,10 @@
129961129976
"name": "indices",
129962129977
"required": false,
129963129978
"type": {
129964-
"kind": "array_of",
129965-
"value": {
129966-
"kind": "instance_of",
129967-
"type": {
129968-
"name": "string",
129969-
"namespace": "_builtins"
129970-
}
129979+
"kind": "instance_of",
129980+
"type": {
129981+
"name": "Indices",
129982+
"namespace": "_types"
129971129983
}
129972129984
}
129973129985
},

output/schema/schema.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)