Skip to content

Commit

Permalink
mark GeoDistanceQuery distance property as required (#2165)
Browse files Browse the repository at this point in the history
* mark GeoDistanceQuery distance property as required

* output
  • Loading branch information
nreese committed Jul 6, 2023
1 parent 6ab6524 commit 76e25d3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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/_types/query_dsl/geo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class GeoDistanceQuery
extends QueryBase
implements AdditionalProperty<Field, GeoLocation>
{
distance?: Distance
distance: Distance
/** @server_default 'arc' */
distance_type?: GeoDistanceType
/** @server_default 'strict' */
Expand Down

0 comments on commit 76e25d3

Please sign in to comment.