Skip to content

Commit

Permalink
optional field id (#2592)
Browse files Browse the repository at this point in the history
  • Loading branch information
l-trotta authored May 30, 2024
1 parent 34fa83f commit b1f91f1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions output/openapi/elasticsearch-serverless-openapi.json

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

2 changes: 1 addition & 1 deletion output/schema/schema.json

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

2 changes: 1 addition & 1 deletion output/typescript/types.ts

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

2 changes: 1 addition & 1 deletion specification/_global/search/_types/hits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class Hit<TDocument> {
* @es_quirk '_id' is not available when using 'stored_fields: _none_'
* on a search request. Otherwise the field is always present on hits.
*/
_id: Id
_id?: Id
_score?: double | null
_explanation?: Explanation
fields?: Dictionary<string, UserDefinedValue>
Expand Down

0 comments on commit b1f91f1

Please sign in to comment.