Skip to content

Conversation

@zhugexubin
Copy link
Member

@zhugexubin zhugexubin commented Jan 4, 2022

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.

Changelog

Add a changelog entry for this PR by answering the following questions:

  1. What's the purpose of the update?
    • new service onboarding
    • new API version
    • update existing version for new feature
    • update existing version to fix swagger quality issue in s360
    • Other, please clarify
  2. When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
  4. If updating an existing version, please select the specific langauge SDKs and CLIs that must be refreshed after the swagger is published.
    • SDK of .NET (need service team to ensure code readiness)
    • SDK of Python
    • SDK of Java
    • SDK of Js
    • SDK of Go
    • PowerShell
    • CLI
    • Terraform
    • No refresh required for updates in this PR

Contribution checklist:

If any further question about AME onboarding or validation tools, please view the FAQ.

ARM API Review Checklist

Applicability: ⚠️

If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

  • Change to data plane APIs
  • Adding new properties
  • All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

  • Check this box if any of the following apply to the PR so that label "WaitForARMFeedback" will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.

    • Adding a new service
    • Adding new API(s)
    • Adding a new API version
      -[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits.
  • Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

  • If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist

If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

  • Removing API(s) in a stable version
  • Removing properties in a stable version
  • Removing API version(s) in a stable version
  • Updating API in a stable or public preview version with Breaking Change Validation errors
  • Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.

Please follow the link to find more details on PR review process.

@openapi-workflow-bot
Copy link

Hi, @zhugexubin Thanks for your PR. I am workflow bot for review process. Here are some small tips.

  • Please ensure to do self-check against checklists in first PR comment.
  • PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging.
  • For specs comparison cross API versions, Use API Specs Comparison Report Generator
  • If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. How to fix?

  • Any feedback about review process or workflow bot, pls contact swagger and tools team. [email protected]

    @openapi-workflow-bot
    Copy link

    [Call for Action] To better understand Azure service dev/test scenario, and support Azure service developer better on Swagger and REST API related tests in early phase, please help to fill in with this survey https://aka.ms/SurveyForEarlyPhase. It will take 5 to 10 minutes. If you already complete survey, please neglect this comment. Thanks.

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jan 4, 2022

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️❌LintDiff: 8 Errors, 0 Warnings failed [Detail]
    The following errors/warnings are introduced by current PR:
    Rule Message
    R4001 - XmsParameterLocation The parameter 'dataFormat' is defined in global parameters section without 'x-ms-parameter-location' extension. This would add the parameter as the client property. Please ensure that this is exactly you want. If so, apply the extension 'x-ms-parameter-location': 'client'. Else, apply the extension 'x-ms-parameter-location': 'method'.
    Location: Creator/preview/2022-01-01-preview/stylerecipe.json#L101
    R4001 - XmsParameterLocation The parameter 'styleFormat' is defined in global parameters section without 'x-ms-parameter-location' extension. This would add the parameter as the client property. Please ensure that this is exactly you want. If so, apply the extension 'x-ms-parameter-location': 'client'. Else, apply the extension 'x-ms-parameter-location': 'method'.
    Location: Creator/preview/2022-01-01-preview/stylerecipe.json#L127
    R4001 - XmsParameterLocation The parameter 'alias' is defined in global parameters section without 'x-ms-parameter-location' extension. This would add the parameter as the client property. Please ensure that this is exactly you want. If so, apply the extension 'x-ms-parameter-location': 'client'. Else, apply the extension 'x-ms-parameter-location': 'method'.
    Location: Creator/preview/2022-01-01-preview/stylerecipe.json#L153
    R4001 - XmsParameterLocation The parameter 'dataFormat' is defined in global parameters section without 'x-ms-parameter-location' extension. This would add the parameter as the client property. Please ensure that this is exactly you want. If so, apply the extension 'x-ms-parameter-location': 'client'. Else, apply the extension 'x-ms-parameter-location': 'method'.
    Location: Creator/preview/2022-01-01-preview/styleset.json#L101
    R4001 - XmsParameterLocation The parameter 'styleFormat' is defined in global parameters section without 'x-ms-parameter-location' extension. This would add the parameter as the client property. Please ensure that this is exactly you want. If so, apply the extension 'x-ms-parameter-location': 'client'. Else, apply the extension 'x-ms-parameter-location': 'method'.
    Location: Creator/preview/2022-01-01-preview/styleset.json#L127
    R4001 - XmsParameterLocation The parameter 'alias' is defined in global parameters section without 'x-ms-parameter-location' extension. This would add the parameter as the client property. Please ensure that this is exactly you want. If so, apply the extension 'x-ms-parameter-location': 'client'. Else, apply the extension 'x-ms-parameter-location': 'method'.
    Location: Creator/preview/2022-01-01-preview/styleset.json#L149
    AutoRest exception "readme":"maps/data-plane/Creator/readme.md",
    "tag":"package-preview-2022-01",
    "details":"swagger-document/compose - FAILED"
    AutoRest exception "readme":"maps/data-plane/Creator/readme.md",
    "tag":"package-preview-2022-01",
    "details":"Error: '$.securityDefinitions.AADToken.description' has incompatible values (--->- These are the Azure Active Directory OAuth2 Flows. When paired with Azure role-based access control it can be used to control access to Azure Maps REST APIs. Azure role-based access controls are used to designate access to one or more Azure Maps resource account or sub-resources. Any user,
    group,
    or service principal can be granted access via a built-in role or a custom role composed of one or"
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️~[Staging] ApiReadinessCheck succeeded [Detail] [Expand]
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️⚠️Cross-Version Breaking Changes: 6 Warnings warning [Detail]
    The following breaking changes are detected by comparison with latest preview version:
    Rule Message
    ⚠️ 1027 - DefaultValueChanged The new version has a different default value than the previous one.
    New: Creator/preview/2022-01-01-preview/tileset.json#L116:9
    Old: Creator/preview/2.0/tileset.json#L116:9
    ⚠️ 1027 - DefaultValueChanged The new version has a different default value than the previous one.
    New: Creator/preview/2022-01-01-preview/tileset.json#L159:9
    Old: Creator/preview/2.0/tileset.json#L150:9
    ⚠️ 1027 - DefaultValueChanged The new version has a different default value than the previous one.
    New: Creator/preview/2022-01-01-preview/tileset.json#L193:9
    Old: Creator/preview/2.0/tileset.json#L184:9
    ⚠️ 1027 - DefaultValueChanged The new version has a different default value than the previous one.
    New: Creator/preview/2022-01-01-preview/tileset.json#L224:9
    Old: Creator/preview/2.0/tileset.json#L215:9
    ⚠️ 1027 - DefaultValueChanged The new version has a different default value than the previous one.
    New: Creator/preview/2022-01-01-preview/tileset.json#L332:9
    Old: Creator/preview/2.0/tileset.json#L248:9
    ⚠️ 1027 - DefaultValueChanged The new version has a different default value than the previous one.
    New: Creator/preview/2022-01-01-preview/tileset.json#L61:5
    Old: Creator/preview/2.0/tileset.json#L61:5
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️️✔️SDK Track2 Validation succeeded [Detail] [Expand]
    Validation passes for SDKTrack2Validation

    ️❌PrettierCheck: 9 Errors, 0 Warnings failed [Detail]
    Rule Message
    HowToFix Code style issues found
    path: 2022-01-01-preview/examples/stylerecipe/StyleRecipe_Export.json
    HowToFix Code style issues found
    path: 2022-01-01-preview/examples/stylerecipe/StyleRecipe_Import.json
    HowToFix Code style issues found
    path: 2022-01-01-preview/examples/stylerecipe/StyleRecipe_List.json
    HowToFix Code style issues found
    path: 2022-01-01-preview/examples/tileset/Tileset_Create.json
    HowToFix Code style issues found
    path: 2022-01-01-preview/examples/tileset/Tileset_GetRecipe.json
    HowToFix Code style issues found
    path: 2022-01-01-preview/examples/tileset/Tileset_ValidateRecipe.json
    HowToFix Code style issues found
    path: Creator/preview/2022-01-01-preview/stylerecipe.json
    HowToFix Code style issues found
    path: Creator/preview/2022-01-01-preview/styleset.json
    HowToFix Code style issues found
    path: Creator/preview/2022-01-01-preview/tileset.json
    ️❌SpellCheck: 14 Errors, 0 Warnings failed [Detail]
    Rule Message
    HowToFix Unknown word (Maputnik), please fix the error or add words to ./custom-words.txt
    path: Creator/preview/2022-01-01-preview/stylerecipe.json#L6:331
    HowToFix Unknown word (stylerecipe), please fix the error or add words to ./custom-words.txt
    path: Creator/preview/2022-01-01-preview/stylerecipe.json#L172:33
    HowToFix Unknown word (stylerecipe), please fix the error or add words to ./custom-words.txt
    path: Creator/preview/2022-01-01-preview/stylerecipe.json#L221:33
    HowToFix Unknown word (stylerecipe), please fix the error or add words to ./custom-words.txt
    path: Creator/preview/2022-01-01-preview/stylerecipe.json#L255:33
    HowToFix Unknown word (stylerecipe), please fix the error or add words to ./custom-words.txt
    path: Creator/preview/2022-01-01-preview/stylerecipe.json#L292:33
    HowToFix Unknown word (Maputnik), please fix the error or add words to ./custom-words.txt
    path: Creator/preview/2022-01-01-preview/styleset.json#L6:331
    HowToFix Unknown word (stylesets), please fix the error or add words to ./custom-words.txt
    path: Creator/preview/2022-01-01-preview/styleset.json#L158:14
    HowToFix Unknown word (styleset), please fix the error or add words to ./custom-words.txt
    path: Creator/preview/2022-01-01-preview/styleset.json#L160:516
    HowToFix Unknown word (configration), please fix the error or add words to ./custom-words.txt
    path: Creator/preview/2022-01-01-preview/styleset.json#L160:572
    HowToFix Unknown word (styleset), please fix the error or add words to ./custom-words.txt
    path: Creator/preview/2022-01-01-preview/styleset.json#L168:33
    HowToFix Unknown word (styleset), please fix the error or add words to ./custom-words.txt
    path: Creator/preview/2022-01-01-preview/styleset.json#L205:33
    HowToFix Unknown word (stylesets), please fix the error or add words to ./custom-words.txt
    path: Creator/preview/2022-01-01-preview/styleset.json#L233:14
    HowToFix Unknown word (styleset), please fix the error or add words to ./custom-words.txt
    path: Creator/preview/2022-01-01-preview/styleset.json#L239:33
    HowToFix Unknown word (stylesets), please fix the error or add words to ./custom-words.txt
    path: Creator/preview/2022-01-01-preview/styleset.json#L294:14
    ️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
    Validation passes for Lint(RPaaS).
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jan 4, 2022

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]
     Please click here to preview with your @microsoft account. 
    ️️✔️SDK Breaking Change Tracking succeeded [Detail] [Expand]

    Breaking Changes Tracking

    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs] Generate from a30ba4cc502678b824c956f1099d64f48cb34731. SDK Automation 14.0.0
      command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
      cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
      command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
      cmderr	[automation_generate.sh] npm notice
      cmderr	[automation_generate.sh] npm notice New minor version of npm available! 8.1.2 -> 8.3.2
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.3.2>
      cmderr	[automation_generate.sh] npm Run `npm install -g [email protected]` to update!
      cmderr	[automation_generate.sh]
      warn	No file changes detected after generation
      warn	No package detected after generation
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs] Generate from a30ba4cc502678b824c956f1099d64f48cb34731. SDK Automation 14.0.0
      Only show 40 items here, please refer to log for details.
      cmderr	[generate.py] 2022-01-25 20:34:24 INFO [Skip] changed file specification/maps/data-plane/Creator/preview/2022-01-01-preview/examples/tileset/Tileset_Get.json
      cmderr	[generate.py] 2022-01-25 20:34:24 INFO [Skip] changed file specification/maps/data-plane/Creator/preview/2022-01-01-preview/examples/tileset/Tileset_GetOperation.json
      cmderr	[generate.py] 2022-01-25 20:34:24 INFO [Skip] changed file specification/maps/data-plane/Creator/preview/2022-01-01-preview/examples/tileset/Tileset_GetOperationStillRunning.json
      cmderr	[generate.py] 2022-01-25 20:34:24 INFO [Skip] changed file specification/maps/data-plane/Creator/preview/2022-01-01-preview/examples/tileset/Tileset_GetRecipe.json
      cmderr	[generate.py] 2022-01-25 20:34:24 INFO [Skip] changed file specification/maps/data-plane/Creator/preview/2022-01-01-preview/examples/tileset/Tileset_List.json
      cmderr	[generate.py] 2022-01-25 20:34:24 INFO [Skip] changed file specification/maps/data-plane/Creator/preview/2022-01-01-preview/examples/tileset/Tileset_ValidateRecipe.json
      cmderr	[generate.py] 2022-01-25 20:34:24 INFO [GENERATE] Autorest from JSON ../azure-rest-api-specs/specification/maps/data-plane/Creator/preview/2022-01-01-preview/stylerecipe.json
      cmderr	[generate.py] 2022-01-25 20:34:24 INFO autorest --version=3.6.6 --use=@autorest/[email protected] --java.azure-libraries-for-java-folder=/home/vsts/work/1/s/azure-sdk-for-java --java.output-folder=/home/vsts/work/1/s/azure-sdk-for-java/sdk/maps/azure-maps-stylerecipe --java.namespace=com.azure.maps.stylerecipe --java --low-level-client --sdk-integration --generate-samples --input-file=../azure-rest-api-specs/specification/maps/data-plane/Creator/preview/2022-01-01-preview/stylerecipe.json --java.credential-types=tokencredential --java.credential-scopes=https://maps.azure.com/.default --artifact-id=azure-maps-stylerecipe
      cmderr	[generate.py] 2022-01-25 20:34:46 INFO [VERSION][Not Found] cannot find version for "com.azure:azure-maps-stylerecipe"
      cmderr	[generate.py] 2022-01-25 20:34:46 INFO [CI][Success] Write to ci.yml
      cmderr	[generate.py] 2022-01-25 20:34:46 INFO [POM][Process] dealing with pom.xml
      cmderr	[generate.py] 2022-01-25 20:34:46 INFO [POM][Success] Write to pom.xml
      cmderr	[generate.py] 2022-01-25 20:34:46 INFO [POM][Process] dealing with root pom
      cmderr	[generate.py] 2022-01-25 20:34:46 INFO [POM][Skip] pom already has module sdk/maps
      cmderr	[generate.py] 2022-01-25 20:34:46 INFO [POM][Success] Write to root pom
      cmderr	[generate.py] 2022-01-25 20:34:46 INFO mvn --no-transfer-progress clean verify package -f /home/vsts/work/1/s/azure-sdk-for-java/pom.xml -Dmaven.javadoc.skip -Dgpg.skip -Drevapi.skip -pl com.azure:azure-maps-stylerecipe -am
      cmderr	[generate.py] 2022-01-25 20:35:58 ERROR [COMPILE] Maven build fail
      cmderr	[generate.py] 2022-01-25 20:35:58 INFO [GENERATE] Autorest from JSON ../azure-rest-api-specs/specification/maps/data-plane/Creator/preview/2022-01-01-preview/styleset.json
      cmderr	[generate.py] 2022-01-25 20:35:58 INFO autorest --version=3.6.6 --use=@autorest/[email protected] --java.azure-libraries-for-java-folder=/home/vsts/work/1/s/azure-sdk-for-java --java.output-folder=/home/vsts/work/1/s/azure-sdk-for-java/sdk/maps/azure-maps-styleset --java.namespace=com.azure.maps.styleset --java --low-level-client --sdk-integration --generate-samples --input-file=../azure-rest-api-specs/specification/maps/data-plane/Creator/preview/2022-01-01-preview/styleset.json --java.credential-types=tokencredential --java.credential-scopes=https://maps.azure.com/.default --artifact-id=azure-maps-styleset
      cmderr	[generate.py] 2022-01-25 20:36:06 INFO [VERSION][Not Found] cannot find version for "com.azure:azure-maps-styleset"
      cmderr	[generate.py] 2022-01-25 20:36:06 INFO [CI][Success] Write to ci.yml
      cmderr	[generate.py] 2022-01-25 20:36:06 INFO [POM][Process] dealing with pom.xml
      cmderr	[generate.py] 2022-01-25 20:36:06 INFO [POM][Success] Write to pom.xml
      cmderr	[generate.py] 2022-01-25 20:36:06 INFO [POM][Process] dealing with root pom
      cmderr	[generate.py] 2022-01-25 20:36:06 INFO [POM][Skip] pom already has module sdk/maps
      cmderr	[generate.py] 2022-01-25 20:36:06 INFO [POM][Success] Write to root pom
      cmderr	[generate.py] 2022-01-25 20:36:06 INFO mvn --no-transfer-progress clean verify package -f /home/vsts/work/1/s/azure-sdk-for-java/pom.xml -Dmaven.javadoc.skip -Dgpg.skip -Drevapi.skip -pl com.azure:azure-maps-styleset -am
      cmderr	[generate.py] 2022-01-25 20:36:18 ERROR [COMPILE] Maven build fail
      cmderr	[generate.py] 2022-01-25 20:36:18 INFO [GENERATE] Autorest from JSON ../azure-rest-api-specs/specification/maps/data-plane/Creator/preview/2022-01-01-preview/tileset.json
      cmderr	[generate.py] 2022-01-25 20:36:18 INFO autorest --version=3.6.6 --use=@autorest/[email protected] --java.azure-libraries-for-java-folder=/home/vsts/work/1/s/azure-sdk-for-java --java.output-folder=/home/vsts/work/1/s/azure-sdk-for-java/sdk/maps/azure-maps-tileset --java.namespace=com.azure.maps.tileset --java --low-level-client --sdk-integration --generate-samples --input-file=../azure-rest-api-specs/specification/maps/data-plane/Creator/preview/2022-01-01-preview/tileset.json --java.credential-types=tokencredential --java.credential-scopes=https://maps.azure.com/.default --artifact-id=azure-maps-tileset
      cmderr	[generate.py] 2022-01-25 20:36:27 INFO [VERSION][Not Found] cannot find version for "com.azure:azure-maps-tileset"
      cmderr	[generate.py] 2022-01-25 20:36:27 INFO [CI][Success] Write to ci.yml
      cmderr	[generate.py] 2022-01-25 20:36:27 INFO [POM][Process] dealing with pom.xml
      cmderr	[generate.py] 2022-01-25 20:36:27 INFO [POM][Success] Write to pom.xml
      cmderr	[generate.py] 2022-01-25 20:36:27 INFO [POM][Process] dealing with root pom
      cmderr	[generate.py] 2022-01-25 20:36:27 INFO [POM][Skip] pom already has module sdk/maps
      cmderr	[generate.py] 2022-01-25 20:36:27 INFO [POM][Success] Write to root pom
      cmderr	[generate.py] 2022-01-25 20:36:27 INFO mvn --no-transfer-progress clean verify package -f /home/vsts/work/1/s/azure-sdk-for-java/pom.xml -Dmaven.javadoc.skip -Dgpg.skip -Drevapi.skip -pl com.azure:azure-maps-tileset -am
      cmderr	[generate.py] 2022-01-25 20:36:39 ERROR [COMPILE] Maven build fail
      cmderr	[generate.py] 2022-01-25 20:36:39 INFO [Skip] changed file specification/maps/data-plane/Creator/readme.md
    • ️✔️azure-maps-stylerecipe [View full logs]  [Preview SDK Changes]
      cmderr	[Inst] 2022-01-25 20:36:44 DEBUG Got artifact_id: azure-maps-stylerecipe
      cmderr	[Inst] 2022-01-25 20:36:44 DEBUG Got artifact: pom.xml
      cmderr	[Inst] 2022-01-25 20:36:44 ERROR Unmatch any jar in artifacts
    • ️✔️azure-maps-styleset [View full logs]  [Preview SDK Changes]
      cmderr	[Inst] 2022-01-25 20:36:50 DEBUG Got artifact_id: azure-maps-styleset
      cmderr	[Inst] 2022-01-25 20:36:50 DEBUG Got artifact: pom.xml
      cmderr	[Inst] 2022-01-25 20:36:50 ERROR Unmatch any jar in artifacts
    • ️✔️azure-maps-tileset [View full logs]  [Preview SDK Changes]
      cmderr	[Inst] 2022-01-25 20:36:56 DEBUG Got artifact_id: azure-maps-tileset
      cmderr	[Inst] 2022-01-25 20:36:56 DEBUG Got artifact: pom.xml
      cmderr	[Inst] 2022-01-25 20:36:56 ERROR Unmatch any jar in artifacts
    ️❌ azure-sdk-for-net failed [Detail]
    • Failed [Logs] Generate from a30ba4cc502678b824c956f1099d64f48cb34731. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	sudo apt-get install -y dotnet-sdk-6.0
      command	autorest --version=V2 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION [email protected]/[email protected] --csharp-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/maps/data-plane/Creator/readme.md
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] FATAL: swagger-document/compose - FAILED
      cmderr	[Autorest] FATAL: Error: '$.securityDefinitions.AADToken.description' has incompatible values (---
      cmderr	[Autorest]   -
      cmderr	[Autorest]   These are the [Azure Active Directory
      cmderr	[Autorest]   OAuth2](https://docs.microsoft.com/azure/active-directory/develop/v1-overview)
      cmderr	[Autorest]   Flows. When paired with [Azure role-based
      cmderr	[Autorest]   access](https://docs.microsoft.com/azure/role-based-access-control/overview)
      cmderr	[Autorest]   control it can be used to control access to Azure Maps REST APIs. Azure
      cmderr	[Autorest]   role-based access controls are used to designate access to one or more Azure
      cmderr	[Autorest]   Maps resource account or sub-resources. Any user, group, or service principal
      cmderr	[Autorest]   can be granted access via a  built-in role or a custom role composed of one or
      cmderr	[Autorest]   more permissions to Azure Maps REST APIs.
      cmderr	[Autorest]   To implement scenarios, we recommend viewing [authentication
      cmderr	[Autorest]   concepts](https://aka.ms/amauth). In summary, this security definition
      cmderr	[Autorest]   provides a solution for modeling application(s) via objects capable of access
      cmderr	[Autorest]   control on specific APIs and scopes.
      cmderr	[Autorest]   #### Notes
      cmderr	[Autorest]   * This security definition requires the use of the x-ms-client-id header
      cmderr	[Autorest]   to indicate which Azure Maps resource the application is requesting access to.
      cmderr	[Autorest]   This can be acquired from the [Maps management
      cmderr	[Autorest]   API](https://aka.ms/amauthdetails).
      cmderr	[Autorest]   *
      cmderr	[Autorest]   The Authorization URL is specific to the Azure public cloud instance.
      cmderr	[Autorest]   Sovereign clouds have unique Authorization URLs and Azure Active directory
      cmderr	[Autorest]   configurations.
      cmderr	[Autorest]   *
      cmderr	[Autorest]   The Azure role-based access control is configured from the [Azure management
      cmderr	[Autorest]   plane](https://aka.ms/amrbac) via Azure portal, PowerShell, CLI, Azure SDKs,
      cmderr	[Autorest]   or REST APIs.
      cmderr	[Autorest]   *
      cmderr	[Autorest]   Usage of the [Azure Maps Web SDK](https://aka.ms/amaadmc) allows for
      cmderr	[Autorest]   configuration based setup of an application for multiple use cases.
      cmderr	[Autorest]   * Currently, Azure Active Directory [v1.0 or
      cmderr	[Autorest]   v2022-01-01-preview](https://docs.microsoft.com/azure/active-directory/develop/azure-ad-endpoint-comparison)
      cmderr	[Autorest]   supports Work, School, and Guests but does not support Personal accounts.
      cmderr	[Autorest] , ---
      cmderr	[Autorest]   -
      cmderr	[Autorest]   These are the [Azure Active Directory
      cmderr	[Autorest]   OAuth2](https://docs.microsoft.com/azure/active-directory/develop/v1-overview)
      cmderr	[Autorest]   Flows. When paired with [Azure role-based
      cmderr	[Autorest]   access](https://docs.microsoft.com/azure/role-based-access-control/overview)
      cmderr	[Autorest]   control it can be used to control access to Azure Maps REST APIs. Azure
      cmderr	[Autorest]   role-based access controls are used to designate access to one or more Azure
      cmderr	[Autorest]   Maps resource account or sub-resources. Any user, group, or service principal
      cmderr	[Autorest]   can be granted access via a  built-in role or a custom role composed of one or
      cmderr	[Autorest]   more permissions to Azure Maps REST APIs.
      cmderr	[Autorest]   To implement scenarios, we recommend viewing [authentication
      cmderr	[Autorest]   concepts](https://aka.ms/amauth). In summary, this security definition
      cmderr	[Autorest]   provides a solution for modeling application(s) via objects capable of access
      cmderr	[Autorest]   control on specific APIs and scopes.
      cmderr	[Autorest]   #### Notes
      cmderr	[Autorest]   * This security definition requires the use of the x-ms-client-id header
      cmderr	[Autorest]   to indicate which Azure Maps resource the application is requesting access to.
      cmderr	[Autorest]   This can be acquired from the [Maps management
      cmderr	[Autorest]   API](https://aka.ms/amauthdetails).
      cmderr	[Autorest]   *
      cmderr	[Autorest]   The Authorization URL is specific to the Azure public cloud instance.
      cmderr	[Autorest]   Sovereign clouds have unique Authorization URLs and Azure Active directory
      cmderr	[Autorest]   configurations.
      cmderr	[Autorest]   *
      cmderr	[Autorest]   The Azure role-based access control is configured from the [Azure management
      cmderr	[Autorest]   plane](https://aka.ms/amrbac) via Azure portal, PowerShell, CLI, Azure SDKs,
      cmderr	[Autorest]   or REST APIs.
      cmderr	[Autorest]   *
      cmderr	[Autorest]   Usage of the [Azure Maps Web SDK](https://aka.ms/amaadmc) allows for
      cmderr	[Autorest]   configuration based setup of an application for multiple use cases.
      cmderr	[Autorest]   * Currently, Azure Active Directory [v1.0 or
      cmderr	[Autorest]   v2.0](https://docs.microsoft.com/azure/active-directory/develop/azure-ad-endpoint-comparison)
      cmderr	[Autorest]   supports Work, School, and Guests but does not support Personal accounts.
      cmderr	[Autorest] ).
      cmderr	[Autorest]   Error: '$.securityDefinitions.AADToken.description' has incompatible values (---
      cmderr	[Autorest]   -
      cmderr	[Autorest]   These are the [Azure Active Directory
      cmderr	[Autorest]   OAuth2](https://docs.microsoft.com/azure/active-directory/develop/v1-overview)
      cmderr	[Autorest]   Flows. When paired with [Azure role-based
      cmderr	[Autorest]   access](https://docs.microsoft.com/azure/role-based-access-control/overview)
      cmderr	[Autorest]   control it can be used to control access to Azure Maps REST APIs. Azure
      cmderr	[Autorest]   role-based access controls are used to designate access to one or more Azure
      cmderr	[Autorest]   Maps resource account or sub-resources. Any user, group, or service principal
      cmderr	[Autorest]   can be granted access via a  built-in role or a custom role composed of one or
      cmderr	[Autorest]   more permissions to Azure Maps REST APIs.
      cmderr	[Autorest]   To implement scenarios, we recommend viewing [authentication
      cmderr	[Autorest]   concepts](https://aka.ms/amauth). In summary, this security definition
      cmderr	[Autorest]   provides a solution for modeling application(s) via objects capable of access
      cmderr	[Autorest]   control on specific APIs and scopes.
      cmderr	[Autorest]   #### Notes
      cmderr	[Autorest]   * This security definition requires the use of the x-ms-client-id header
      cmderr	[Autorest]   to indicate which Azure Maps resource the application is requesting access to.
      cmderr	[Autorest]   This can be acquired from the [Maps management
      cmderr	[Autorest]   API](https://aka.ms/amauthdetails).
      cmderr	[Autorest]   *
      cmderr	[Autorest]   The Authorization URL is specific to the Azure public cloud instance.
      cmderr	[Autorest]   Sovereign clouds have unique Authorization URLs and Azure Active directory
      cmderr	[Autorest]   configurations.
      cmderr	[Autorest]   *
      cmderr	[Autorest]   The Azure role-based access control is configured from the [Azure management
      cmderr	[Autorest]   plane](https://aka.ms/amrbac) via Azure portal, PowerShell, CLI, Azure SDKs,
      cmderr	[Autorest]   or REST APIs.
      cmderr	[Autorest]   *
      cmderr	[Autorest]   Usage of the [Azure Maps Web SDK](https://aka.ms/amaadmc) allows for
      cmderr	[Autorest]   configuration based setup of an application for multiple use cases.
      cmderr	[Autorest]   * Currently, Azure Active Directory [v1.0 or
      cmderr	[Autorest]   v2022-01-01-preview](https://docs.microsoft.com/azure/active-directory/develop/azure-ad-endpoint-comparison)
      cmderr	[Autorest]   supports Work, School, and Guests but does not support Personal accounts.
      cmderr	[Autorest] , ---
      cmderr	[Autorest]   -
      cmderr	[Autorest]   These are the [Azure Active Directory
      cmderr	[Autorest]   OAuth2](https://docs.microsoft.com/azure/active-directory/develop/v1-overview)
      cmderr	[Autorest]   Flows. When paired with [Azure role-based
      cmderr	[Autorest]   access](https://docs.microsoft.com/azure/role-based-access-control/overview)
      cmderr	[Autorest]   control it can be used to control access to Azure Maps REST APIs. Azure
      cmderr	[Autorest]   role-based access controls are used to designate access to one or more Azure
      cmderr	[Autorest]   Maps resource account or sub-resources. Any user, group, or service principal
      cmderr	[Autorest]   can be granted access via a  built-in role or a custom role composed of one or
      cmderr	[Autorest]   more permissions to Azure Maps REST APIs.
      cmderr	[Autorest]   To implement scenarios, we recommend viewing [authentication
      cmderr	[Autorest]   concepts](https://aka.ms/amauth). In summary, this security definition
      cmderr	[Autorest]   provides a solution for modeling application(s) via objects capable of access
      cmderr	[Autorest]   control on specific APIs and scopes.
      cmderr	[Autorest]   #### Notes
      cmderr	[Autorest]   * This security definition requires the use of the x-ms-client-id header
      cmderr	[Autorest]   to indicate which Azure Maps resource the application is requesting access to.
      cmderr	[Autorest]   This can be acquired from the [Maps management
      cmderr	[Autorest]   API](https://aka.ms/amauthdetails).
      cmderr	[Autorest]   *
      cmderr	[Autorest]   The Authorization URL is specific to the Azure public cloud instance.
      cmderr	[Autorest]   Sovereign clouds have unique Authorization URLs and Azure Active directory
      cmderr	[Autorest]   configurations.
      cmderr	[Autorest]   *
      cmderr	[Autorest]   The Azure role-based access control is configured from the [Azure management
      cmderr	[Autorest]   plane](https://aka.ms/amrbac) via Azure portal, PowerShell, CLI, Azure SDKs,
      cmderr	[Autorest]   or REST APIs.
      cmderr	[Autorest]   *
      cmderr	[Autorest]   Usage of the [Azure Maps Web SDK](https://aka.ms/amaadmc) allows for
      cmderr	[Autorest]   configuration based setup of an application for multiple use cases.
      cmderr	[Autorest]   * Currently, Azure Active Directory [v1.0 or
      cmderr	[Autorest]   v2.0](https://docs.microsoft.com/azure/active-directory/develop/azure-ad-endpoint-comparison)
      cmderr	[Autorest]   supports Work, School, and Guests but does not support Personal accounts.
      cmderr	[Autorest] ).
      error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-net]: autorest
      warn	Skip package processing as generation is failed
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-workflow-bot
    Copy link

    Hi @zhugexubin, Your PR has some issues. Please fix the CI sequentially by following the order of Avocado, semantic validation, model validation, breaking change, lintDiff. If you have any questions, please post your questions in this channel https://aka.ms/swaggersupport.

    TaskHow to fixPriority
    AvocadoFix-AvocadoHigh
    Semantic validationFix-SemanticValidation-ErrorHigh
    Model validationFix-ModelValidation-ErrorHigh
    LintDiffFix-LintDiffhigh
    If you need further help, please feedback via swagger feedback.

    Update examples and couple fixes
    Fix examples
    @ghost
    Copy link

    ghost commented Feb 13, 2022

    Hi, @zhugexubin. Your PR has no update for 14 days and it is marked as stale PR. If no further update for over 14 days, the bot will close the PR. If you want to refresh the PR, please remove no-recent-activity label.

    @ghost ghost added the no-recent-activity label Feb 13, 2022
    @ghost ghost closed this Feb 28, 2022
    @ghost
    Copy link

    ghost commented Feb 28, 2022

    Hi, @zhugexubin. The PR will be closed since the PR has no update for 28 days. If you still need the PR review to proceed, please reopen it and @ mention PR assignee.

    This pull request was closed.
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    [Azure Maps Custom Styling] REST API review for Custom Styling service

    2 participants