Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(apim): Remove duplicate ErrorResponse schema due to move to common schema #29299

Conversation

tomkerkhove
Copy link
Member

@tomkerkhove tomkerkhove commented Jun 3, 2024

ARM (Control Plane) API Specification Update Pull Request

Tip

Overwhelmed by all this guidance? See the Getting help section at the bottom of this PR description.

PR review workflow diagram

Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

spec_pr_review_workflow_diagram

Purpose of this PR

Remove duplicate ErrorResponse schema due to move to common schema related to #27012. This is a follow-up to #28408 which is blocking #29184 on SDK generation for Go

What's the purpose of this PR? Check the specific option that applies. This is mandatory!

  • New resource provider.
  • New API version for an existing resource provider. (If API spec is not defined in TypeSpec, the PR should have been created in adherence to OpenAPI specs PR creation guidance).
  • Update existing version for a new feature. (This is applicable only when you are revising a private preview API version.)
  • [s] Update existing version to fix OpenAPI spec quality issues in S360.
  • [s] Other, please clarify:

Due diligence checklist

To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:

  • I confirm this PR is modifying Azure Resource Manager (ARM) related specifications, and not data plane related specifications.
  • I have reviewed following Resource Provider guidelines, including
    ARM resource provider contract and
    REST guidelines (estimated time: 4 hours).
    I understand this is required before I can proceed to the diagram Step 2, "ARM API changes review", for this PR.

Additional information

Viewing API changes

For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.

Suppressing failures

If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
suppressions guide to get approval.

Getting help

  • First, please carefully read through this PR description, from top to bottom. Please fill out the Purpose of this PR and Due diligence checklist.
  • If you don't have permissions to remove or add labels to the PR, request write access per aka.ms/azsdk/access#request-access-to-rest-api-or-sdk-repositories
  • To understand what you must do next to merge this PR, see the Next Steps to Merge comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.
  • For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
    and https://aka.ms/ci-fix.
  • For help with ARM review (PR workflow diagram Step 2), see https://aka.ms/azsdk/pr-arm-review.
  • If the PR CI checks appear to be stuck in queued state, please add a comment with contents /azp run.
    This should result in a new comment denoting a PR validation pipeline has started and the checks should be updated after few minutes.
  • If the help provided by the previous points is not enough, post to https://aka.ms/azsdk/support/specreview-channel and link to this PR.

@tomkerkhove tomkerkhove requested a review from solankisamir as a code owner June 3, 2024 06:00
Copy link

openapi-pipeline-app bot commented Jun 3, 2024

PR validation pipeline restarted successfully. This comment will be populated with next steps to merge this PR once validation is completed. Please wait ⌛.

Copy link

openapi-pipeline-app bot commented Jun 3, 2024

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
There are no breaking changes.
Compared specs (v0.10.9) new version base version
apimanagement.json 2023-09-01-preview(2e21f97) 2022-08-01(main)
apimanagement.json 2023-09-01-preview(2e21f97) 2023-05-01-preview(main)
️⚠️LintDiff: 0 Warnings warning [Detail]
Compared specs (v2.2.2) new version base version
package-preview-2023-09 package-preview-2023-09(2e21f97) package-preview-2023-09(merge-release-ApiManagement-2023-09-01-preview)

The following errors/warnings exist before current PR submission:

Rule Message
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.ApiManagement/preview/2023-09-01-preview/apimanagement.json#L89
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.ApiManagement/preview/2023-09-01-preview/apimanagement.json#L93
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.ApiManagement/preview/2023-09-01-preview/apimanagement.json#L524
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'operationId'.
Location: Microsoft.ApiManagement/preview/2023-09-01-preview/apimanagement.json#L543
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
️️✔️ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
️️✔️Automated merging requirements met succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app bot commented Jun 3, 2024

Swagger Generation Artifacts

️️✔️ApiDocPreview succeeded [Detail] [Expand]
 Please click here to preview with your @microsoft account. 
️❌ azure-sdk-for-net-track2 failed [Detail]
  • Failed in generating from c0abcf4d5b6b628112fdf2d3d6ef6f9bfbd7b908. SDK Automation 14.0.0
    command	pwsh ./eng/scripts/Automation-Sdk-Init.ps1 ../azure-sdk-for-net_tmp/initInput.json ../azure-sdk-for-net_tmp/initOutput.json
    command	pwsh ./eng/scripts/Invoke-GenerateAndBuildV2.ps1 ../azure-sdk-for-net_tmp/generateInput.json ../azure-sdk-for-net_tmp/generateOutput.json
    cmderr	[Invoke-GenerateAndBuildV2.ps1] GeneratePackage: /mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:714
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Line |
    cmderr	[Invoke-GenerateAndBuildV2.ps1]  714 |          GeneratePackage -projectFolder $projectFolder -sdkRootPath $s …
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | Failed to generate sdk. exit code: False
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Get-ChildItem: /mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:807
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Line |
    cmderr	[Invoke-GenerateAndBuildV2.ps1]  807 |  … rtifacts += Get-ChildItem $artifactsPath -Filter *.nupkg -exclude *.s …
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | Cannot find path
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | '/mnt/vss/_work/1/s/azure-sdk-for-net/artifacts/packages/Debug/' because
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | it does not exist.
    cmderr	[Invoke-GenerateAndBuildV2.ps1] GeneratePackage: /mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:714
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Line |
    cmderr	[Invoke-GenerateAndBuildV2.ps1]  714 |          GeneratePackage -projectFolder $projectFolder -sdkRootPath $s …
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | Failed to generate sdk artifact
  • Azure.ResourceManager.ApiManagement [Preview SDK Changes]
    info	[Changelog]
️❌ azure-sdk-for-go failed [Detail]
  • Code Generator Failed in generating from c0abcf4d5b6b628112fdf2d3d6ef6f9bfbd7b908. SDK Automation 14.0.0
    command	sh ./eng/scripts/automation_init.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
    command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    cmderr	[generator automation-v2] [ERROR] total 1 error(s):
    cmderr	[generator automation-v2] [ERROR] failed to execute `go generate` 'WARNING: Unable to find version for /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/apimanagement/armapimanagement
    cmderr	[generator automation-v2] [ERROR] Cannot find go module under resourcemanager/apimanagement/armapimanagement, try to build in /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/apimanagement/armapimanagement
    cmderr	[generator automation-v2] [ERROR] ##[command]Cleaning auto-generated files in /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/apimanagement/armapimanagement
    cmderr	[generator automation-v2] [ERROR] ##[command]Executing autorest.go in  /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/apimanagement/armapimanagement
    cmderr	[generator automation-v2] [ERROR] autorest --use=@autorest/go@4.0.0-preview.63 --go --track2 --output-folder=/mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/apimanagement/armapimanagement --clear-output-folder=false --go.clear-output-folder=false --honor-body-placement=true --remove-unreferenced-types=false ./autorest.md
    cmderr	[generator automation-v2] [ERROR] AutoRest code generation utility [cli version: 3.6.1; node: v18.20.3]
    cmderr	[generator automation-v2] [ERROR] (C) 2018 Microsoft Corporation.
    cmderr	[generator automation-v2] [ERROR] https://aka.ms/autorest
    cmderr	[generator automation-v2] [ERROR] There is a new version of AutoRest available (3.7.1).
    cmderr	[generator automation-v2] [ERROR] > You can install the newer version with with npm install -g autorest@latest
    cmderr	[generator automation-v2] [ERROR] info    |    Loading AutoRest core      '/home/cloudtest/.autorest/@autorestcore@3.10.2/nodemodules/@autorest/core/dist' (3.10.2)
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.0.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.0.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.0.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.1.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.2.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.3.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.4.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.5.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.6.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.7.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.8.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.9.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.10.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.11.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.12.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.13.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.14.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.15.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.16.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.17.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.18.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.19.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.20.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.21.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.22.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.23.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.24.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.25.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.26.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.27.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.28.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.29.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.30.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.31.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.32.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.33.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.34.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.35.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.36.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.37.suppress which is deprecated and will be removed in the future.
    cmderr	[generator automation-v2] [ERROR] info    |    Installing AutoRest extension '@autorest/go' (4.0.0-preview.63 -> 4.0.0-preview.63)
    cmderr	[generator automation-v2] [ERROR] info    |    Installed AutoRest extension '@autorest/go' (4.0.0-preview.63->4.0.0-preview.63)
    cmderr	[generator automation-v2] [ERROR] info    |    Installing AutoRest extension '@autorest/modelerfour' (4.26.2 -> 4.26.2)
    cmderr	[generator automation-v2] [ERROR] info    |    Installed AutoRest extension '@autorest/modelerfour' (4.26.2->4.26.2)
    cmderr	[generator automation-v2] [ERROR] warning | IgnoredPropertyNextToRef | Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > PortalConfigProperties > properties > signup > properties > termsOfService)
    cmderr	[generator automation-v2] [ERROR] keys: [ 'type' ]
    cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/definitions.json:5281:13
    cmderr	[generator automation-v2] [ERROR] warning | IgnoredPropertyNextToRef | Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > PortalConfigProperties > properties > delegation)
    cmderr	[generator automation-v2] [ERROR] keys: [ 'type' ]
    cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/definitions.json:5288:9
    cmderr	[generator automation-v2] [ERROR] warning | IgnoredPropertyNextToRef | Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > PortalConfigProperties > properties > cors)
    cmderr	[generator automation-v2] [ERROR] keys: [ 'type' ]
    cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/definitions.json:5293:9
    cmderr	[generator automation-v2] [ERROR] warning | IgnoredPropertyNextToRef | Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > PortalConfigProperties > properties > csp)
    cmderr	[generator automation-v2] [ERROR] keys: [ 'type' ]
    cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/definitions.json:5298:9
    cmderr	[generator automation-v2] [ERROR] warning | IgnoredPropertyNextToRef | Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > PortalSettingsContractProperties > properties > termsOfService)
    cmderr	[generator automation-v2] [ERROR] keys: [ 'type' ]
    cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/definitions.json:5503:9
    cmderr	[generator automation-v2] [ERROR] warning | IgnoredPropertyNextToRef | Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > PortalSignupSettingsProperties > properties > termsOfService)
    cmderr	[generator automation-v2] [ERROR] keys: [ 'type' ]
    cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/definitions.json:5560:9
    cmderr	[generator automation-v2] [ERROR] warning | IgnoredPropertyNextToRef | Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > Resource > properties > systemData)
    cmderr	[generator automation-v2] [ERROR] keys: [ 'type' ]
    cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'Operation-display' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/apimdeployment.json:2118:9
    cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ConnectivityStatusContract' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/apimnetworkstatus.json:130:5
    cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'NetworkStatusContractByLocation' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/apimnetworkstatus.json:183:5
    cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'NetworkStatusContract' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/apimnetworkstatus.json:197:5
    cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ApiManagementSkuCapacity' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/apimskus.json:78:5
    cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ApiManagementSkuCosts' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/apimskus.json:115:5
    cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ApiManagementSkuCapabilities' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/apimskus.json:136:5
    cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ApiManagementSkuZoneDetails' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/apimskus.json:151:5
    cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ApiManagementSkuRestrictions' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/apimskus.json:175:5
    cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ApiManagementSku' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/apimskus.json:219:5
    cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ApiManagementSkuLocationInfo' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/apimskus.json:317:5
    cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ApiManagementSkuRestrictionInfo' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/apimskus.json:345:5
    cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ApiManagementSkusResult' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/apimskus.json:365:5
    cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'BackendBaseParameters-pool' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambiguous. This has been auto-corrected to 'type:object'
    cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/definitions.json:1983:9
    cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ResourceCollection-valueItem' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambiguous. This has been auto-corrected to 'type:object'
    cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/definitions.json:5205:11
    cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'AssociationContract-properties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/definitions.json:8299:9
    cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ContentItemContractProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/definitions.json:8419:5
    cmderr	[generator automation-v2] [ERROR] warning | PreCheck/EmptyParentSchemaWarning | Schema 'BackendBaseParameters-pool' has an allOf list with an empty object schema as a parent, removing it.
    cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/definitions.json:1988:13
    cmderr	[generator automation-v2] [ERROR] warning | PreCheck/CheckDuplicateSchemas | Checking for duplicate schemas, this could take a (long) while.  Run with --verbose for more detail.
    cmderr	[generator automation-v2] [ERROR] warning | UsingTemporaryFlag | modelerfour.treat-type-object-as-anything options is a temporary flag. It WILL be removed in the future.
    cmderr	[generator automation-v2] [ERROR] warning | SecurityDefinedSpecAndConfig | OpenAPI spec has a security definition but autorest security config is defined. Security config from autorest will be used.
    cmderr	[generator automation-v2] [ERROR] warning | Modeler/MissingType | The schema 'ParameterExampleContract-value' has no type or format information whatsoever. Location:
    cmderr	[generator automation-v2] [ERROR] file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/definitions.json#/components/schemas/ParameterExampleContract-value
    cmderr	[generator automation-v2] [ERROR] warning | Modeler/MissingType | The schema 'GlobalSchemaContractProperties-value' has no type or format information whatsoever. Location:
    cmderr	[generator automation-v2] [ERROR] file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/definitions.json#/components/schemas/GlobalSchemaContractProperties-value
    cmderr	[generator automation-v2] [ERROR] warning | Modeler/MissingType | The schema 'components·stzbw6·schemas·backendbaseparameters·properties·pool·allof·1' has no type or format information whatsoever. Location:
    cmderr	[generator automation-v2] [ERROR] file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/definitions.json#/components/schemas/components·stzbw6·schemas·backendbaseparameters·properties·pool·allof·1
    cmderr	[generator automation-v2] [ERROR] fatal   | Error: client APIManagementGatewayClient was renamed to GatewayClient which collides with an existing client name
    cmderr	[generator automation-v2] [ERROR] fatal   | Process() cancelled due to failure
    cmderr	[generator automation-v2] [ERROR] error   |   Error: Plugin go-transform-m4 reported failure.
    cmderr	[generator automation-v2] [ERROR] error   | Autorest completed with an error. If you think the error message is unclear, or is a bug, please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing.
    cmderr	[generator automation-v2] [ERROR] ##[error]Error running autorest.go
    cmderr	[generator automation-v2] [ERROR] build.go:5: running "pwsh": exit status 1
    cmderr	[generator automation-v2] [ERROR] ': exit status 1
    error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go]: generator automation-v2
    warn	Skip package processing as generation is failed
️⚠️ azure-sdk-for-python warning [Detail]
  • ⚠️Warning in generating from c0abcf4d5b6b628112fdf2d3d6ef6f9bfbd7b908. 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] W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
    cmderr	[automation_init.sh] npm notice
    cmderr	[automation_init.sh] npm notice New minor version of npm available! 10.7.0 -> 10.8.1
    cmderr	[automation_init.sh] npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.1
    cmderr	[automation_init.sh] npm notice To update run: npm install -g npm@10.8.1
    cmderr	[automation_init.sh] npm notice
    command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
  • ️✔️azure-mgmt-apimanagement [Preview SDK Changes] Breaking Change Detected
    • azure-mgmt-apimanagement-1.0.0b1.zip
    • azure_mgmt_apimanagement-1.0.0b1-py3-none-any.whl
    info	[Changelog] ### Features Added
    info	[Changelog]
    info	[Changelog]   - Added operation GatewayOperations.invalidate_debug_credentials
    info	[Changelog]   - Added operation GatewayOperations.list_debug_credentials
    info	[Changelog]   - Added operation GatewayOperations.list_trace
    info	[Changelog]   - Added operation group AllPoliciesOperations
    info	[Changelog]   - Added operation group ApiManagementGatewayConfigConnectionOperations
    info	[Changelog]   - Added operation group ApiManagementGatewayOperations
    info	[Changelog]   - Added operation group ApiManagementGatewaySkusOperations
    info	[Changelog]   - Added operation group ApiManagementWorkspaceLinkOperations
    info	[Changelog]   - Added operation group ApiManagementWorkspaceLinksOperations
    info	[Changelog]   - Added operation group OperationStatusOperations
    info	[Changelog]   - Added operation group OperationsResultsOperations
    info	[Changelog]   - Added operation group PolicyRestrictionOperations
    info	[Changelog]   - Added operation group PolicyRestrictionValidationsOperations
    info	[Changelog]   - Added operation group ProductApiLinkOperations
    info	[Changelog]   - Added operation group ProductGroupLinkOperations
    info	[Changelog]   - Added operation group TagApiLinkOperations
    info	[Changelog]   - Added operation group TagOperationLinkOperations
    info	[Changelog]   - Added operation group TagProductLinkOperations
    info	[Changelog]   - Added operation group WorkspaceApiDiagnosticOperations
    info	[Changelog]   - Added operation group WorkspaceApiExportOperations
    info	[Changelog]   - Added operation group WorkspaceApiOperationOperations
    info	[Changelog]   - Added operation group WorkspaceApiOperationPolicyOperations
    info	[Changelog]   - Added operation group WorkspaceApiOperations
    info	[Changelog]   - Added operation group WorkspaceApiPolicyOperations
    info	[Changelog]   - Added operation group WorkspaceApiReleaseOperations
    info	[Changelog]   - Added operation group WorkspaceApiRevisionOperations
    info	[Changelog]   - Added operation group WorkspaceApiSchemaOperations
    info	[Changelog]   - Added operation group WorkspaceApiVersionSetOperations
    info	[Changelog]   - Added operation group WorkspaceBackendOperations
    info	[Changelog]   - Added operation group WorkspaceCertificateOperations
    info	[Changelog]   - Added operation group WorkspaceDiagnosticOperations
    info	[Changelog]   - Added operation group WorkspaceGlobalSchemaOperations
    info	[Changelog]   - Added operation group WorkspaceGroupOperations
    info	[Changelog]   - Added operation group WorkspaceGroupUserOperations
    info	[Changelog]   - Added operation group WorkspaceLoggerOperations
    info	[Changelog]   - Added operation group WorkspaceNamedValueOperations
    info	[Changelog]   - Added operation group WorkspaceNotificationOperations
    info	[Changelog]   - Added operation group WorkspaceNotificationRecipientEmailOperations
    info	[Changelog]   - Added operation group WorkspaceNotificationRecipientUserOperations
    info	[Changelog]   - Added operation group WorkspaceOperations
    info	[Changelog]   - Added operation group WorkspacePolicyFragmentOperations
    info	[Changelog]   - Added operation group WorkspacePolicyOperations
    info	[Changelog]   - Added operation group WorkspaceProductApiLinkOperations
    info	[Changelog]   - Added operation group WorkspaceProductGroupLinkOperations
    info	[Changelog]   - Added operation group WorkspaceProductOperations
    info	[Changelog]   - Added operation group WorkspaceProductPolicyOperations
    info	[Changelog]   - Added operation group WorkspaceSubscriptionOperations
    info	[Changelog]   - Added operation group WorkspaceTagApiLinkOperations
    info	[Changelog]   - Added operation group WorkspaceTagOperationLinkOperations
    info	[Changelog]   - Added operation group WorkspaceTagOperations
    info	[Changelog]   - Added operation group WorkspaceTagProductLinkOperations
    info	[Changelog]   - Model ApiContract has a new parameter provisioning_state
    info	[Changelog]   - Model ApiContractProperties has a new parameter provisioning_state
    info	[Changelog]   - Model ApiCreateOrUpdateParameter has a new parameter provisioning_state
    info	[Changelog]   - Model ApiCreateOrUpdateProperties has a new parameter provisioning_state
    info	[Changelog]   - Model ApiManagementServiceBaseProperties has a new parameter configuration_api
    info	[Changelog]   - Model ApiManagementServiceBaseProperties has a new parameter developer_portal_status
    info	[Changelog]   - Model ApiManagementServiceBaseProperties has a new parameter legacy_portal_status
    info	[Changelog]   - Model ApiManagementServiceProperties has a new parameter configuration_api
    info	[Changelog]   - Model ApiManagementServiceProperties has a new parameter developer_portal_status
    info	[Changelog]   - Model ApiManagementServiceProperties has a new parameter legacy_portal_status
    info	[Changelog]   - Model ApiManagementServiceResource has a new parameter configuration_api
    info	[Changelog]   - Model ApiManagementServiceResource has a new parameter developer_portal_status
    info	[Changelog]   - Model ApiManagementServiceResource has a new parameter legacy_portal_status
    info	[Changelog]   - Model ApiManagementServiceUpdateParameters has a new parameter configuration_api
    info	[Changelog]   - Model ApiManagementServiceUpdateParameters has a new parameter developer_portal_status
    info	[Changelog]   - Model ApiManagementServiceUpdateParameters has a new parameter legacy_portal_status
    info	[Changelog]   - Model ApiManagementServiceUpdateProperties has a new parameter configuration_api
    info	[Changelog]   - Model ApiManagementServiceUpdateProperties has a new parameter developer_portal_status
    info	[Changelog]   - Model ApiManagementServiceUpdateProperties has a new parameter legacy_portal_status
    info	[Changelog]   - Model AuthorizationAccessPolicyContract has a new parameter app_ids
    info	[Changelog]   - Model BackendBaseParameters has a new parameter circuit_breaker
    info	[Changelog]   - Model BackendBaseParameters has a new parameter pool
    info	[Changelog]   - Model BackendBaseParameters has a new parameter type
    info	[Changelog]   - Model BackendContract has a new parameter circuit_breaker
    info	[Changelog]   - Model BackendContract has a new parameter pool
    info	[Changelog]   - Model BackendContract has a new parameter type_properties_type
    info	[Changelog]   - Model BackendContractProperties has a new parameter circuit_breaker
    info	[Changelog]   - Model BackendContractProperties has a new parameter pool
    info	[Changelog]   - Model BackendContractProperties has a new parameter type
    info	[Changelog]   - Model BackendUpdateParameterProperties has a new parameter circuit_breaker
    info	[Changelog]   - Model BackendUpdateParameterProperties has a new parameter pool
    info	[Changelog]   - Model BackendUpdateParameterProperties has a new parameter type
    info	[Changelog]   - Model BackendUpdateParameters has a new parameter circuit_breaker
    info	[Changelog]   - Model BackendUpdateParameters has a new parameter pool
    info	[Changelog]   - Model BackendUpdateParameters has a new parameter type
    info	[Changelog]   - Model ErrorResponse has a new parameter error
    info	[Changelog]   - Model GlobalSchemaContract has a new parameter provisioning_state
    info	[Changelog]   - Model NamedValueContract has a new parameter provisioning_state
    info	[Changelog]   - Model NamedValueContractProperties has a new parameter provisioning_state
    info	[Changelog]   - Model PolicyFragmentContract has a new parameter provisioning_state
    info	[Changelog]   - Model PortalRevisionContract has a new parameter provisioning_state
    info	[Changelog]   - Model SchemaContract has a new parameter provisioning_state
    info	[Changelog]   - Operation ApiManagementServiceOperations.begin_migrate_to_stv2 has a new optional parameter parameters
    info	[Changelog]
    info	[Changelog] ### Breaking Changes
    info	[Changelog]
    info	[Changelog]   - Model ErrorResponse no longer has parameter code
    info	[Changelog]   - Model ErrorResponse no longer has parameter details
    info	[Changelog]   - Model ErrorResponse no longer has parameter message
    info	[Changelog]   - Renamed operation ApiOperations.delete to ApiOperations.begin_delete
    info	[Changelog]   - Renamed operation UserOperations.delete to UserOperations.begin_delete
    Present SDK breaking changes suppressions
    No suppression file added.
    Absent SDK breaking changes suppressions
    - Model ErrorResponse no longer has parameter code
    - Model ErrorResponse no longer has parameter details
    - Model ErrorResponse no longer has parameter message
    - Renamed operation ApiOperations.delete to ApiOperations.begin_delete
    - Renamed operation UserOperations.delete to UserOperations.begin_delete
    Parse Suppression File Errors
    No suppression file added.
    Please refer to https://aka.ms/azsdk/sdk-suppression for more information.
️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
  • ️✔️Succeeded in generating from c0abcf4d5b6b628112fdf2d3d6ef6f9bfbd7b908. SDK Automation 14.0.0
    command	sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json
    warn	File azure-sdk-for-js_tmp/initOutput.json not found to read
    command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
  • ️✔️@azure/arm-apimanagement [Preview SDK Changes]
    • azure-arm-apimanagement-10.0.0-beta.1.tgz
️❌ azure-resource-manager-schemas failed [Detail]
  • Code Generator Failed in generating from c0abcf4d5b6b628112fdf2d3d6ef6f9bfbd7b908. Schema Automation 14.0.0
    command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
    cmderr	[initScript.sh] Submodule 'bicep-types-az' (https://github.com/Azure/bicep-types-az) registered for path 'bicep-types-az'
    cmderr	[initScript.sh] Cloning into '/mnt/vss/_work/1/s/azure-resource-manager-schemas/bicep-types-az'...
    cmderr	[initScript.sh] Submodule 'bicep-types' (https://github.com/Azure/bicep-types) registered for path 'bicep-types-az/bicep-types'
    cmderr	[initScript.sh] Cloning into '/mnt/vss/_work/1/s/azure-resource-manager-schemas/bicep-types-az/bicep-types'...
    cmderr	[initScript.sh] npm notice
    cmderr	[initScript.sh] npm notice New minor version of npm available! 10.7.0 -> 10.8.1
    cmderr	[initScript.sh] npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.1
    cmderr	[initScript.sh] npm notice To update run: npm install -g npm@10.8.1
    cmderr	[initScript.sh] npm notice
    error	Script return with result [failed] code [1] signal [null] cwd [azure-resource-manager-schemas]: .sdkauto/initScript.sh
    warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
    command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
    cmderr	[generateScript.sh] /mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:500
    cmderr	[generateScript.sh]     return new TSError(diagnosticText, diagnosticCodes)
    cmderr	[generateScript.sh]            ^
    cmderr	[generateScript.sh] TSError: ⨯ Unable to compile TypeScript:
    cmderr	[generateScript.sh] cmd/generateall.ts(6,20): error TS2307: Cannot find module 'colors' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(10,19): error TS2307: Cannot find module 'yargs' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(11,18): error TS2307: Cannot find module 'path' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(13,35): error TS2307: Cannot find module 'fs' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(14,23): error TS2307: Cannot find module 'strip-ansi' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(42,9): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(53,9): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(69,67): error TS7006: Parameter 'x' implicitly has an 'any' type.
    cmderr	[generateScript.sh] cmd/generateall.ts(70,49): error TS7006: Parameter 'f' implicitly has an 'any' type.
    cmderr	[generateScript.sh] cmd/generateall.ts(94,21): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(105,21): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(106,21): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(157,13): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
    cmderr	[generateScript.sh]     at createTSError (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:500:12)
    cmderr	[generateScript.sh]     at reportTSError (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:504:19)
    cmderr	[generateScript.sh]     at getOutput (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:739:36)
    cmderr	[generateScript.sh]     at Object.compile (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:955:32)
    cmderr	[generateScript.sh]     at Module.m._compile (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:1043:43)
    cmderr	[generateScript.sh]     at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    cmderr	[generateScript.sh]     at Object.require.extensions.<computed> [as .ts] (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:1046:12)
    cmderr	[generateScript.sh]     at Module.load (node:internal/modules/cjs/loader:1203:32)
    cmderr	[generateScript.sh]     at Function.Module._load (node:internal/modules/cjs/loader:1019:12)
    cmderr	[generateScript.sh]     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
    error	Script return with result [failed] code [1] signal [null] cwd [azure-resource-manager-schemas]: .sdkauto/generateScript.sh
    warn	Skip package processing as generation is failed
    error	ERROR: The 'breakingChangesLabel' configuration is missing or incorrect from the 'swagger_to_sdk_config.json file.
️⚠️ azure-powershell warning [Detail]
  • ⚠️Warning in generating from c0abcf4d5b6b628112fdf2d3d6ef6f9bfbd7b908. SDK Automation 14.0.0
    command	sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json
    command	pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
  • ⚠️Az.apimanagement.DefaultTag [Preview SDK Changes]
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app bot commented Jun 3, 2024

@tomkerkhove
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 4 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARMReview BreakingChange-Python-Sdk resource-manager WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants