Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-generated client code using latest OpenSearch API specification #1210

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading