Skip to content

Commit

Permalink
Re-generate client code using latest OpenSearch API specification (20…
Browse files Browse the repository at this point in the history
…24-09-30)

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Sep 30, 2024
1 parent 851ab58 commit 9971016
Showing 1 changed file with 38 additions and 3 deletions.
41 changes: 38 additions & 3 deletions java-codegen/opensearch-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25628,11 +25628,16 @@ components:
format: int32
description:
type: string
mode:
type: string
compression_level:
type: string
method:
type: string
spaceType:
type: string
required:
- dimension
- method
- training_field
- training_index
required: true
Expand Down Expand Up @@ -28069,7 +28074,16 @@ components:
knn.get_model@200: {}
knn.search_models@200: {}
knn.stats@200: {}
knn.train_model@200: {}
knn.train_model@200:
content:
application/json:
schema:
type: object
properties:
model_id:
type: string
required:
- model_id
knn.warmup@200: {}
mget@200:
content:
Expand Down Expand Up @@ -30382,6 +30396,16 @@ components:
boost:
description: Boost value to apply to kNN scores
type: number
method_parameters:
type: object
x-version-added: '2.16'
additionalProperties:
type: number
rescore:
type: object
x-version-added: '2.17'
additionalProperties:
type: number
required:
- vector
_common:LatLonGeoLocation:
Expand Down Expand Up @@ -31822,7 +31846,7 @@ components:
required:
- key
_common.aggregations:Aggregate:
oneOf:
anyOf:
- $ref: '#/components/schemas/_common.aggregations:CardinalityAggregate'
- $ref: '#/components/schemas/_common.aggregations:HdrPercentilesAggregate'
- $ref: '#/components/schemas/_common.aggregations:HdrPercentileRanksAggregate'
Expand Down Expand Up @@ -34298,6 +34322,9 @@ components:
allOf:
- $ref: '#/components/schemas/_common.aggregations:SingleBucketAggregateBase'
- type: object
properties:
doc_count:
type: number
_common.aggregations:NestedAggregation:
allOf:
- $ref: '#/components/schemas/_common.aggregations:BucketAggregationBase'
Expand Down Expand Up @@ -37838,6 +37865,14 @@ components:
properties:
dimension:
type: number
space_type:
type: string
data_type:
type: string
mode:
type: string
compression_level:
type: string
method:
$ref: '#/components/schemas/_common.mapping:KnnVectorMethod'
required:
Expand Down

0 comments on commit 9971016

Please sign in to comment.