Skip to content

Commit cdbf6b9

Browse files
Update specification output
1 parent 3bcd7c5 commit cdbf6b9

File tree

3 files changed

+345
-117
lines changed

3 files changed

+345
-117
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 78 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -56761,6 +56761,9 @@
5676156761
"script_score": {
5676256762
"$ref": "#/components/schemas/_types.query_dsl:ScriptScoreQuery"
5676356763
},
56764+
"semantic": {
56765+
"$ref": "#/components/schemas/_types.query_dsl:SemanticQuery"
56766+
},
5676456767
"shape": {
5676556768
"$ref": "#/components/schemas/_types.query_dsl:ShapeQuery"
5676656769
},
@@ -60325,6 +60328,30 @@
6032560328
}
6032660329
]
6032760330
},
60331+
"_types.query_dsl:SemanticQuery": {
60332+
"allOf": [
60333+
{
60334+
"$ref": "#/components/schemas/_types.query_dsl:QueryBase"
60335+
},
60336+
{
60337+
"type": "object",
60338+
"properties": {
60339+
"field": {
60340+
"description": "The field to query, which must be a semantic_text field type",
60341+
"type": "string"
60342+
},
60343+
"query": {
60344+
"description": "The query text",
60345+
"type": "string"
60346+
}
60347+
},
60348+
"required": [
60349+
"field",
60350+
"query"
60351+
]
60352+
}
60353+
]
60354+
},
6032860355
"_types.query_dsl:ShapeQuery": {
6032960356
"allOf": [
6033060357
{
@@ -72503,9 +72530,6 @@
7250372530
{
7250472531
"$ref": "#/components/schemas/_types.mapping:DenseVectorProperty"
7250572532
},
72506-
{
72507-
"$ref": "#/components/schemas/_types.mapping:SparseVectorProperty"
72508-
},
7250972533
{
7251072534
"$ref": "#/components/schemas/_types.mapping:FlattenedProperty"
7251172535
},
@@ -72515,6 +72539,12 @@
7251572539
{
7251672540
"$ref": "#/components/schemas/_types.mapping:ObjectProperty"
7251772541
},
72542+
{
72543+
"$ref": "#/components/schemas/_types.mapping:SemanticTextProperty"
72544+
},
72545+
{
72546+
"$ref": "#/components/schemas/_types.mapping:SparseVectorProperty"
72547+
},
7251872548
{
7251972549
"$ref": "#/components/schemas/_types.mapping:CompletionProperty"
7252072550
},
@@ -73426,27 +73456,6 @@
7342673456
"ef_construction"
7342773457
]
7342873458
},
73429-
"_types.mapping:SparseVectorProperty": {
73430-
"allOf": [
73431-
{
73432-
"$ref": "#/components/schemas/_types.mapping:PropertyBase"
73433-
},
73434-
{
73435-
"type": "object",
73436-
"properties": {
73437-
"type": {
73438-
"type": "string",
73439-
"enum": [
73440-
"sparse_vector"
73441-
]
73442-
}
73443-
},
73444-
"required": [
73445-
"type"
73446-
]
73447-
}
73448-
]
73449-
},
7345073459
"_types.mapping:FlattenedProperty": {
7345173460
"allOf": [
7345273461
{
@@ -73549,6 +73558,51 @@
7354973558
}
7355073559
]
7355173560
},
73561+
"_types.mapping:SemanticTextProperty": {
73562+
"type": "object",
73563+
"properties": {
73564+
"type": {
73565+
"type": "string",
73566+
"enum": [
73567+
"semantic_text"
73568+
]
73569+
},
73570+
"meta": {
73571+
"type": "object",
73572+
"additionalProperties": {
73573+
"type": "string"
73574+
}
73575+
},
73576+
"inference_id": {
73577+
"$ref": "#/components/schemas/_types:Id"
73578+
}
73579+
},
73580+
"required": [
73581+
"type",
73582+
"inference_id"
73583+
]
73584+
},
73585+
"_types.mapping:SparseVectorProperty": {
73586+
"allOf": [
73587+
{
73588+
"$ref": "#/components/schemas/_types.mapping:PropertyBase"
73589+
},
73590+
{
73591+
"type": "object",
73592+
"properties": {
73593+
"type": {
73594+
"type": "string",
73595+
"enum": [
73596+
"sparse_vector"
73597+
]
73598+
}
73599+
},
73600+
"required": [
73601+
"type"
73602+
]
73603+
}
73604+
]
73605+
},
7355273606
"_types.mapping:CompletionProperty": {
7355373607
"allOf": [
7355473608
{

output/openapi/elasticsearch-serverless-openapi.json

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

0 commit comments

Comments
 (0)