Skip to content

Commit 5424748

Browse files
authored
Fix 'accept' and 'content_type' fields for search_mvt API
1 parent 7e4d2f9 commit 5424748

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

rest-api-spec/src/main/resources/rest-api-spec/api/search_mvt.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
"visibility": "public",
99
"headers": {
1010
"accept": [
11-
"application/json"
11+
"application/vnd.mapbox-vector-tile"
1212
],
1313
"content_type": [
14-
"application/vnd.mapbox-vector-tile"
14+
"application/json"
1515
]
1616
},
1717
"url": {
@@ -32,15 +32,15 @@
3232
"description": "Field containing geospatial data to return"
3333
},
3434
"zoom": {
35-
"type": "integer",
35+
"type": "int",
3636
"description": "Zoom level for the vector tile to search"
3737
},
3838
"x": {
39-
"type": "integer",
39+
"type": "int",
4040
"description": "X coordinate for the vector tile to search"
4141
},
4242
"y": {
43-
"type": "integer",
43+
"type": "int",
4444
"description": "Y coordinate for the vector tile to search"
4545
}
4646
}
@@ -54,12 +54,12 @@
5454
"default":false
5555
},
5656
"extent":{
57-
"type":"number",
57+
"type":"int",
5858
"description":"Size, in pixels, of a side of the vector tile.",
5959
"default":4096
6060
},
6161
"grid_precision":{
62-
"type":"number",
62+
"type":"int",
6363
"description":"Additional zoom levels available through the aggs layer. Accepts 0-8.",
6464
"default":8
6565
},
@@ -73,7 +73,7 @@
7373
"default":"grid"
7474
},
7575
"size":{
76-
"type":"number",
76+
"type":"int",
7777
"description":"Maximum number of features to return in the hits layer. Accepts 0-10000.",
7878
"default":10000
7979
}

0 commit comments

Comments
 (0)