Skip to content

Commit

Permalink
Java issues batch 8 (#2959)
Browse files Browse the repository at this point in the history
* [877] ngram and edge tokenizer optional values

* [880] _shards optional because of wait_for_completion

* [881] added missing allow_custom_routing

* [883] action and name optional next_step

* both steps mandatory in move to step request
  • Loading branch information
l-trotta authored Oct 1, 2024
1 parent 0464df5 commit 3b1143a
Show file tree
Hide file tree
Showing 10 changed files with 80 additions and 60 deletions.
24 changes: 11 additions & 13 deletions output/openapi/elasticsearch-openapi.json

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

16 changes: 6 additions & 10 deletions output/openapi/elasticsearch-serverless-openapi.json

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

25 changes: 18 additions & 7 deletions output/schema/schema-serverless.json

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

35 changes: 23 additions & 12 deletions output/schema/schema.json

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

19 changes: 10 additions & 9 deletions output/typescript/types.ts

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

3 changes: 2 additions & 1 deletion specification/_types/Base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ export class IndicesResponseBase extends AcknowledgedResponseBase {
}

export class ShardsOperationResponseBase {
_shards: ShardStatistics
// _shards is always returned, but not when wait_for_completion is false in the request
_shards?: ShardStatistics
}

export class CustomResponseBuilderBase {}
8 changes: 4 additions & 4 deletions specification/_types/analysis/tokenizers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ export class ClassicTokenizer extends TokenizerBase {
export class EdgeNGramTokenizer extends TokenizerBase {
type: 'edge_ngram'
custom_token_chars?: string
max_gram: integer
min_gram: integer
max_gram?: integer
min_gram?: integer
/**
* @server_default []
*/
Expand Down Expand Up @@ -84,8 +84,8 @@ export class LowercaseTokenizer extends TokenizerBase {
export class NGramTokenizer extends TokenizerBase {
type: 'ngram'
custom_token_chars?: string
max_gram: integer
min_gram: integer
max_gram?: integer
min_gram?: integer
/**
* @server_default []
*/
Expand Down
Loading

0 comments on commit 3b1143a

Please sign in to comment.