Skip to content

Commit

Permalink
[Hub Generated] Render v1/v2 reconciliation (Azure#16263)
Browse files Browse the repository at this point in the history
* 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 <taras.vozniuk@microsoft.com>
  • Loading branch information
2 people authored and LeiWang3 committed Mar 31, 2022
1 parent 3ad8d50 commit 125a863
Show file tree
Hide file tree
Showing 25 changed files with 1,156 additions and 277 deletions.
3 changes: 3 additions & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ checkin
checkmark
checknameavailability
checkpointing
Chttp
CIDR
CIDRs
CIFS
Expand Down Expand Up @@ -710,6 +711,7 @@ FarmBeats
fatherable
faultable
fconfig
Fcontoso
FDID
fearthecowboy
featurecapabilities
Expand Down Expand Up @@ -744,6 +746,7 @@ forceclosehandles
forestsummary
formrecognizer
FPGA
Fpushpins
fqdn
FQDNs
Français
Expand Down
49 changes: 46 additions & 3 deletions specification/maps/data-plane/Common/preview/1.0/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -727,22 +727,65 @@
},
"xTileIndex": {
"name": "x",
"x-ms-client-name": "xTileIndex",
"in": "query",
"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.",
"required": true,
"type": "integer",
"format": "int32",
"x-ms-parameter-location": "method"
"x-ms-parameter-location": "method",
"x-ms-parameter-grouping": {
"name": "tileIndex"
}
},
"yTileIndex": {
"name": "y",
"x-ms-client-name": "yTileIndex",
"in": "query",
"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.",
"required": true,
"type": "integer",
"format": "int32",
"x-ms-parameter-location": "method",
"x-ms-parameter-grouping": {
"name": "tileIndex"
}
},
"zTileIndex": {
"name": "zoom",
"x-ms-client-name": "z",
"in": "query",
"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.",
"required": true,
"type": "integer",
"format": "int32",
"x-ms-parameter-location": "method",
"x-ms-parameter-grouping": {
"name": "tileIndex"
}
},
"IncludeText": {
"name": "text",
"x-ms-client-name": "includeText",
"in": "query",
"description": "Yes/no value to exclude textual data from response. Only images and country names will be in response.",
"type": "string",
"enum": [
"yes",
"no"
],
"x-ms-enum": {
"name": "IncludeText",
"modelAsString": true,
"values": [
{
"value": "yes",
"description": "Include all textual data in response."
},
{
"value": "no",
"description": "Exclude textual data from response. Only images and country names will be in response."
}
]
},
"x-ms-parameter-location": "method"
}
},
Expand Down
Loading

0 comments on commit 125a863

Please sign in to comment.