Skip to content

Commit 125a863

Browse files
ambientlightTaras Vozniuk
authored andcommitted
[Hub Generated] Render v1/v2 reconciliation (Azure#16263)
* render v1.0 centric updates multiple zooms differentiated by description removed * revert composition of GetCopyrightResult to resolve weird validation issue * add available tilesets into tilesetId enum * address render review * update the input files * seperate 1.0 tag * rename examples so the names don't clash and OpenAPI doc gen don't freak out, correct missing api in v2.1, remove /map/imagery in v2.1 as it should not be there * see if setting unique operationIds resolves this fragile doc gen * update custom-words for spell-check to pass * improve sample names * correct sample reference * remove V21 from operation ids Co-authored-by: Taras Vozniuk <[email protected]>
1 parent 3ad8d50 commit 125a863

25 files changed

+1156
-277
lines changed

custom-words.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,7 @@ checkin
343343
checkmark
344344
checknameavailability
345345
checkpointing
346+
Chttp
346347
CIDR
347348
CIDRs
348349
CIFS
@@ -710,6 +711,7 @@ FarmBeats
710711
fatherable
711712
faultable
712713
fconfig
714+
Fcontoso
713715
FDID
714716
fearthecowboy
715717
featurecapabilities
@@ -744,6 +746,7 @@ forceclosehandles
744746
forestsummary
745747
formrecognizer
746748
FPGA
749+
Fpushpins
747750
fqdn
748751
FQDNs
749752
Français

specification/maps/data-plane/Common/preview/1.0/common.json

Lines changed: 46 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -727,22 +727,65 @@
727727
},
728728
"xTileIndex": {
729729
"name": "x",
730-
"x-ms-client-name": "xTileIndex",
731730
"in": "query",
732731
"description": "X coordinate of the tile on zoom grid. Value must be in the range [0, 2<sup>`zoom`</sup> -1].\n\nPlease see [Zoom Levels and Tile Grid](https://docs.microsoft.com/azure/location-based-services/zoom-levels-and-tile-grid) for details.",
733732
"required": true,
734733
"type": "integer",
735734
"format": "int32",
736-
"x-ms-parameter-location": "method"
735+
"x-ms-parameter-location": "method",
736+
"x-ms-parameter-grouping": {
737+
"name": "tileIndex"
738+
}
737739
},
738740
"yTileIndex": {
739741
"name": "y",
740-
"x-ms-client-name": "yTileIndex",
741742
"in": "query",
742743
"description": "Y coordinate of the tile on zoom grid. Value must be in the range [0, 2<sup>`zoom`</sup> -1].\n\nPlease see [Zoom Levels and Tile Grid](https://docs.microsoft.com/azure/location-based-services/zoom-levels-and-tile-grid) for details.",
743744
"required": true,
744745
"type": "integer",
745746
"format": "int32",
747+
"x-ms-parameter-location": "method",
748+
"x-ms-parameter-grouping": {
749+
"name": "tileIndex"
750+
}
751+
},
752+
"zTileIndex": {
753+
"name": "zoom",
754+
"x-ms-client-name": "z",
755+
"in": "query",
756+
"description": "Zoom level for the desired tile. \n\nPlease see [Zoom Levels and Tile Grid](https://docs.microsoft.com/en-us/azure/location-based-services/zoom-levels-and-tile-grid) for details.",
757+
"required": true,
758+
"type": "integer",
759+
"format": "int32",
760+
"x-ms-parameter-location": "method",
761+
"x-ms-parameter-grouping": {
762+
"name": "tileIndex"
763+
}
764+
},
765+
"IncludeText": {
766+
"name": "text",
767+
"x-ms-client-name": "includeText",
768+
"in": "query",
769+
"description": "Yes/no value to exclude textual data from response. Only images and country names will be in response.",
770+
"type": "string",
771+
"enum": [
772+
"yes",
773+
"no"
774+
],
775+
"x-ms-enum": {
776+
"name": "IncludeText",
777+
"modelAsString": true,
778+
"values": [
779+
{
780+
"value": "yes",
781+
"description": "Include all textual data in response."
782+
},
783+
{
784+
"value": "no",
785+
"description": "Exclude textual data from response. Only images and country names will be in response."
786+
}
787+
]
788+
},
746789
"x-ms-parameter-location": "method"
747790
}
748791
},

0 commit comments

Comments
 (0)