Skip to content

Commit

Permalink
Update specification output
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticmachine committed Jun 19, 2024
1 parent 3bcd7c5 commit cdbf6b9
Show file tree
Hide file tree
Showing 3 changed files with 345 additions and 117 deletions.
102 changes: 78 additions & 24 deletions output/openapi/elasticsearch-openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -56761,6 +56761,9 @@
"script_score": {
"$ref": "#/components/schemas/_types.query_dsl:ScriptScoreQuery"
},
"semantic": {
"$ref": "#/components/schemas/_types.query_dsl:SemanticQuery"
},
"shape": {
"$ref": "#/components/schemas/_types.query_dsl:ShapeQuery"
},
Expand Down Expand Up @@ -60325,6 +60328,30 @@
}
]
},
"_types.query_dsl:SemanticQuery": {
"allOf": [
{
"$ref": "#/components/schemas/_types.query_dsl:QueryBase"
},
{
"type": "object",
"properties": {
"field": {
"description": "The field to query, which must be a semantic_text field type",
"type": "string"
},
"query": {
"description": "The query text",
"type": "string"
}
},
"required": [
"field",
"query"
]
}
]
},
"_types.query_dsl:ShapeQuery": {
"allOf": [
{
Expand Down Expand Up @@ -72503,9 +72530,6 @@
{
"$ref": "#/components/schemas/_types.mapping:DenseVectorProperty"
},
{
"$ref": "#/components/schemas/_types.mapping:SparseVectorProperty"
},
{
"$ref": "#/components/schemas/_types.mapping:FlattenedProperty"
},
Expand All @@ -72515,6 +72539,12 @@
{
"$ref": "#/components/schemas/_types.mapping:ObjectProperty"
},
{
"$ref": "#/components/schemas/_types.mapping:SemanticTextProperty"
},
{
"$ref": "#/components/schemas/_types.mapping:SparseVectorProperty"
},
{
"$ref": "#/components/schemas/_types.mapping:CompletionProperty"
},
Expand Down Expand Up @@ -73426,27 +73456,6 @@
"ef_construction"
]
},
"_types.mapping:SparseVectorProperty": {
"allOf": [
{
"$ref": "#/components/schemas/_types.mapping:PropertyBase"
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"sparse_vector"
]
}
},
"required": [
"type"
]
}
]
},
"_types.mapping:FlattenedProperty": {
"allOf": [
{
Expand Down Expand Up @@ -73549,6 +73558,51 @@
}
]
},
"_types.mapping:SemanticTextProperty": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"semantic_text"
]
},
"meta": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"inference_id": {
"$ref": "#/components/schemas/_types:Id"
}
},
"required": [
"type",
"inference_id"
]
},
"_types.mapping:SparseVectorProperty": {
"allOf": [
{
"$ref": "#/components/schemas/_types.mapping:PropertyBase"
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"sparse_vector"
]
}
},
"required": [
"type"
]
}
]
},
"_types.mapping:CompletionProperty": {
"allOf": [
{
Expand Down
102 changes: 78 additions & 24 deletions output/openapi/elasticsearch-serverless-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit cdbf6b9

Please sign in to comment.