Skip to content

Commit f7f38e7

Browse files
Update rest-api-spec (#4894)
Co-authored-by: pquentin <[email protected]>
1 parent e847a83 commit f7f38e7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

output/schema/validation-errors.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,6 @@
3535
],
3636
"response": []
3737
},
38-
"search_mvt": {
39-
"request": [
40-
"Request: query parameter 'grid_agg' does not exist in the json spec"
41-
],
42-
"response": []
43-
},
4438
"searchable_snapshots.clear_cache": {
4539
"request": [
4640
"Request: missing json spec query parameter 'index'"

specification/_json_spec/search_mvt.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@
6262
"description": "Determines the geometry type for features in the aggs layer.",
6363
"default": "grid"
6464
},
65+
"grid_agg": {
66+
"type": "enum",
67+
"options": ["geotile", "geohex"],
68+
"description": "Aggregation used to create a grid for `field`.",
69+
"default": "geotile"
70+
},
6571
"size": {
6672
"type": "int",
6773
"description": "Maximum number of features to return in the hits layer. Accepts 0-10000.",

0 commit comments

Comments
 (0)