Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
"api-version": "2.1",
"tilesetId": "microsoft.base",
"zoom": 6,
"bounds": "-122.414162,47.579490,-122.247157,47.668372"
"bounds": [
-122.414162,
47.579490,
-122.247157,
47.668372
]
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,14 @@
"parameters": {
"api-version": "1.0",
"format": "json",
"mincoordinates": "52.41064,4.84228",
"maxcoordinates": "52.41072,4.84239",
"mincoordinates": [
52.41064,
4.84228
],
"maxcoordinates": [
52.41072,
4.84239
],
"text": "yes"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
"api-version": "1.0",
"format": "png",
"zoom": 2,
"bbox": "1.355233,42.982261,24.980233,56.526017",
"bbox": [
1.355233,
42.982261,
24.980233,
56.526017
],
"layer": "basic",
"style": "main"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"headers": {
"Content-Type": "application/vnd.mapbox-vector-tile"
},
"body": "{file}"
"body": "binary image string"
}
}
}
10 changes: 7 additions & 3 deletions specification/maps/data-plane/Render/preview/2.1/render.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@
"200": {
"description": "The tile returned from a successful API call.",
"schema": {
"$ref": "../2.0/render.json#/definitions/MapTile"
"type": "object",
"format": "file",
"readOnly": true
},
"headers": {
"Content-Type": {
Expand Down Expand Up @@ -268,7 +270,9 @@
"200": {
"description": "This tile is returned from a successful Get Map State Tile call",
"schema": {
"$ref": "../2.0/render.json#/definitions/MapTile"
"type": "object",
"format": "file",
"readOnly": true
},
"headers": {
"Content-Type": {
Expand Down Expand Up @@ -410,7 +414,7 @@
},
{
"name": "bbox",
"x-ms-client-name": "boundingBox",
"x-ms-client-name": "boundingBoxPrivate",
"in": "query",
"description": "Bounding box. Projection used - EPSG:3857. Format : 'minLon, minLat,\nmaxLon, maxLat'. \n\nNote: Either bbox or center are required\nparameters. They are mutually exclusive. It shouldn’t be used with\nheight or width.\n\nThe maximum allowed ranges for Lat and Lon are defined for each zoom level\nin the table at the top of this page.",
"type": "array",
Expand Down
29 changes: 28 additions & 1 deletion specification/maps/data-plane/Render/readme.java.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,36 @@
## Java

``` yaml $(java)
directive:
- rename-model:
from: MapTileset
to: MapTilesetPrivate
- from: swagger-document
where: '$.parameters["BoundingBoxSouthWest"]'
transform: >
$["x-ms-parameter-grouping"]["name"] = "BoundingBoxPrivate";
- from: swagger-document
where: '$.parameters["BoundingBoxNorthEast"]'
transform: >
$["x-ms-parameter-grouping"]["name"] = "BoundingBoxPrivate";
- from: swagger-document
where: '$.parameters["bbox"]'
transform: >
$["x-ms-client-name"] = "BoundingBoxPrivate";

java:
namespace: com.azure.maps.render
license-header: MICROSOFT_MIT_NO_CODEGEN
license-header: MICROSOFT_MIT_SMALL
payload-flattening-threshold: 0
output-folder: $(azure-libraries-for-java-folder)/azure-maps-render
add-context-parameter: true
context-client-method-parameter: true
client-logger: true
generate-client-as-impl: true
sync-methods: all
generate-sync-async-clients: false
polling: {}
models-subpackage: implementation.models
custom-types-subpackage: models
custom-types: LocalizedMapView,MapImageStyle,RasterTileFormat,StaticMapLayer,MapTileSize,TileIndex,TilesetID,Copyright,CopyrightCaption,MapAttribution,RegionCopyrights,RegionCopyrightsCountry,ErrorAdditionalInfo,ErrorDetail,ErrorResponse,ErrorResponseException
```
6 changes: 6 additions & 0 deletions specification/maps/data-plane/Render/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ tag: 2.1-preview
add-credentials: true
credential-default-policy-type: BearerTokenCredentialPolicy
credential-scopes: https://atlas.microsoft.com/.default
track2: true
verbose: true
sdk-integration: true
modelerfour:
additional-checks: false
lenient-model-deduplication: true
```

### Tag: 2.1-preview
Expand Down
23 changes: 22 additions & 1 deletion specification/maps/data-plane/Route/readme.java.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,30 @@
## Java

``` yaml $(java)

directive:
- rename-model:
from: RouteMatrix
to: RouteMatrixPrivate
- rename-model:
from: RouteMatrixResult
to: RouteMatrixResultPrivate
- rename-model:
from: RouteMatrixQuery
to: RouteMatrixQueryPrivate
java:
namespace: com.azure.maps.route
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 0
output-folder: $(azure-libraries-for-java-folder)/azure-maps-route
output-folder: $(azure-libraries-for-java-folder)/azure-maps-route
add-context-parameter: true
context-client-method-parameter: true
client-logger: true
generate-client-as-impl: true
sync-methods: all
generate-sync-async-clients: false
polling: {}
models-subpackage: implementation.models
custom-types-subpackage: models
custom-types: AlternativeRouteType,BatchResultSummary,ComputeTravelTime,DelayMagnitude,DrivingSide,EffectiveSetting,ErrorAdditionalInfo,ErrorDetail,ErrorResponse,ErrorResponseException,GuidanceInstructionType,GuidanceManeuver,InclineLevel,JunctionType,Report,ResponseSectionType,ResponseTravelMode,Route,RouteAvoidType,RouteDirections,RouteDirectionsBatchResult,RouteGuidance,RouteInstructionGroup,RouteInstructionsType,RouteLegSummary,RouteMatrixSummary,RouteOptimizedWaypoint,RouteRangeResult,RouteReport,RouteRepresentationForBestOrder,RouteSection,RouteSectionTec,RouteSectionTecCause,RouteSummary,RouteType,SectionType,SimpleCategory,TravelMode,VehicleEngineType,VehicleLoadType,WindingnessLevel
```
6 changes: 6 additions & 0 deletions specification/maps/data-plane/Route/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ tag: 1.0-preview
add-credentials: true
credential-default-policy-type: BearerTokenCredentialPolicy
credential-scopes: https://atlas.microsoft.com/.default
track2: true
verbose: true
sdk-integration: true
modelerfour:
additional-checks: false
lenient-model-deduplication: true
```


Expand Down
65 changes: 63 additions & 2 deletions specification/maps/data-plane/Search/readme.java.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,70 @@
## Java

``` yaml $(java)

directive:
- rename-model:
from: Address
to: AddressPrivate
- rename-model:
from: AddressRanges
to: AddressRangesPrivate
- rename-model:
from: SearchAddressResult
to: SearchAddressResultPrivate
- rename-model:
from: SearchAddressResultItem
to: SearchAddressResultItemPrivate
- rename-model:
from: ReverseSearchAddressResult
to: ReverseSearchAddressResultPrivate
- rename-model:
from: ReverseSearchAddressResultItem
to: ReverseSearchAddressResultItemPrivate
- rename-model:
from: ReverseSearchCrossStreetAddressResult
to: ReverseSearchCrossStreetAddressResultPrivate
- rename-model:
from: ReverseSearchCrossStreetAddressResultItem
to: ReverseSearchCrossStreetAddressResultItemPrivate
- rename-model:
from: EntryPoint
to: EntryPointPrivate
- rename-model:
from: SearchSummary
to: SearchSummaryPrivate
- rename-model:
from: SearchAddressBatchResult
to: SearchAddressBatchResultPrivate
- rename-model:
from: SearchAddressBatchItem
to: SearchAddressBatchItemPrivate
- rename-model:
from: ReverseSearchAddressBatchProcessResult
to: ReverseSearchAddressBatchResultPrivate
- rename-model:
from: ReverseSearchAddressBatchItem
to: ReverseSearchAddressBatchItemPrivate
- rename-model:
from: BoundingBox
to: BoundingBoxPrivate
- rename-model:
from: Polygon
to: PolygonPrivate

java:
namespace: com.azure.maps.search
license-header: MICROSOFT_MIT_NO_CODEGEN
license-header: MICROSOFT_MIT_SMALL
payload-flattening-threshold: 0
output-folder: $(azure-libraries-for-java-folder)/azure-maps-search
output-folder: $(azure-libraries-for-java-folder)/azure-maps-search
add-context-parameter: true
context-client-method-parameter: true
client-logger: true
generate-client-as-impl: true
sync-methods: all
generate-sync-async-clients: false
polling: {}
models-subpackage: implementation.models
custom-types-subpackage: models
custom-types: BatchResultSummary,BrandName,Classification,ClassificationName,DataSource,ErrorAdditionalInfo,ErrorDetail,ErrorResponseException,ElectricVehicleConnector,EntryPointType,GeographicEntityType,GeometryIdentifier,LocalizedMapView,OperatingHoursTime,OperatingHoursRange,MatchType,OperatingHours,OperatingHoursTimeRange,PointOfInterest,PointOfInterestCategory,PointOfInterestCategorySet,PointOfInterestCategoryTreeResult,PointOfInterestExtendedPostalCodes,RoadUseType,SearchAddressResultType,SearchIndexes,ErrorResponse,QueryType
```
6 changes: 6 additions & 0 deletions specification/maps/data-plane/Search/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ tag: 1.0-preview
add-credentials: true
credential-default-policy-type: BearerTokenCredentialPolicy
credential-scopes: https://atlas.microsoft.com/.default
track2: true
verbose: true
sdk-integration: true
modelerfour:
additional-checks: false
lenient-model-deduplication: true
```


Expand Down