sdk/maps/Azure.Maps.Rendering/src/autorest.md
Run dotnet build /t:GenerateCode to generate code.
input-file:
- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/ab064e0047ec560a700d6b501097d99471ad817b/specification/maps/data-plane/Render/stable/2024-04-01/render.json
title: MapsRenderingClient
openapi-type: data-plane
tag: 2.0
add-credentials: true
# at some point those credentials will move away to Swagger according to [this](https://github.com/Azure/autorest/issues/3718)
credential-default-policy-type: BearerTokenCredentialPolicy
credential-scopes: https://atlas.microsoft.com/.default
generation1-convenience-client: true
model-namespace: false
sync-methods: None
license-header: MICROSOFT_MIT_NO_VERSION
namespace: Azure.Maps.Rendering
public-clients: false
clear-output-folder: true
data-plane: true
skip-csproj: true
helper-namespace: Azure.Maps.Common
directive:
- from: swagger-document
where: $.securityDefinitions
transform: |
$["azure_auth"] = $["AADToken"];
delete $["AADToken"];
- from: swagger-document
where: '$.security[0]'
transform: |
$["azure_auth"] = $["AADToken"];
delete $["AADToken"];
- from: swagger-document
where: $.securityDefinitions
transform: |
$["SharedKey"]["in"] = "header";