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

update example name in reservations #22338

Merged
merged 4 commits into from
Jan 29, 2023
Merged

update example name in reservations #22338

merged 4 commits into from
Jan 29, 2023

Conversation

kazrael2119
Copy link
Contributor

js generate sample error:
image

it caused by swagger:
image

@kazrael2119 kazrael2119 requested a review from qiaozha January 28, 2023 09:45
@openapi-workflow-bot
Copy link

Hi, @kazrael2119 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-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jan 28, 2023

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    compared swaggers (via Oad v0.10.4)] new version base version
    reservations.json 2022-11-01(5d851df) 2022-11-01(main)
    ️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️⚠️LintDiff: 0 Warnings warning [Detail]
    compared tags (via openapi-validator v2.0.0) new version base version
    package-2022-11 package-2022-11(5d851df) package-2022-11(main)

    The following errors/warnings exist before current PR submission:

    Only 30 items are listed, please refer to log for more details.

    Rule Message
    PostOperationAsyncResponseValidation An async POST operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: Microsoft.Capacity/stable/2022-11-01/reservations.json#L31
    PostOperationAsyncResponseValidation An async POST operation must return 202.
    Location: Microsoft.Capacity/stable/2022-11-01/reservations.json#L58
    AllResourcesMustHaveDelete The resource ReservationOrderResponse does not have a corresponding delete operation.
    Location: Microsoft.Capacity/stable/2022-11-01/reservations.json#L272
    PathForPutOperation The path for 'put' operation must be under a subscription and resource group.
    Location: Microsoft.Capacity/stable/2022-11-01/reservations.json#L272
    CreateOperationAsyncResponseValidation An async PUT operation is tracked via Azure-AsyncOperation header. Set 'final-state-via' property to 'azure-async-operation' on 'x-ms-long-running-operation-options'
    Location: Microsoft.Capacity/stable/2022-11-01/reservations.json#L273
    LongRunningResponseStatusCode A 'put' operation 'ReservationOrder_Purchase' with x-ms-long-running-operation extension must have a valid terminal success status code 200 or 201.
    Location: Microsoft.Capacity/stable/2022-11-01/reservations.json#L273
    CreateOperationAsyncResponseValidation An async PUT operation must return 201.
    Location: Microsoft.Capacity/stable/2022-11-01/reservations.json#L300
    CreateOperationAsyncResponseValidation Only 201 is the supported response code for PUT async response.
    Location: Microsoft.Capacity/stable/2022-11-01/reservations.json#L307
    TrackedResourcesMustHavePut The tracked resource ReservationResponse does not have a corresponding put operation.
    Location: Microsoft.Capacity/stable/2022-11-01/reservations.json#L540
    ConsistentPatchProperties The property 'properties.name' in the request body either not apppear in the resource model or has the wrong level.
    Location: Microsoft.Capacity/stable/2022-11-01/reservations.json#L605
    PatchSkuProperty The patch operation body parameter schema should contains property 'sku'.
    Location: Microsoft.Capacity/stable/2022-11-01/reservations.json#L605
    PostOperationAsyncResponseValidation An async POST operation is tracked via Azure-AsyncOperation header. Set 'final-state-via' property to 'location' on 'x-ms-long-running-operation-options'
    Location: Microsoft.Capacity/stable/2022-11-01/reservations.json#L891
    PostOperationAsyncResponseValidation An async POST operation is tracked via Azure-AsyncOperation header. Set 'final-state-via' property to 'location' on 'x-ms-long-running-operation-options'
    Location: Microsoft.Capacity/stable/2022-11-01/reservations.json#L950
    ProvisioningStateValidation ProvisioningState must have terminal states: Succeeded, Failed and Canceled.
    Location: Microsoft.Capacity/stable/2022-11-01/reservations.json#L1193
    TopLevelResourcesListBySubscription The top-level resource 'ReservationOrderResponse' does not have list by subscription operation, please add it.
    Location: Microsoft.Capacity/stable/2022-11-01/reservations.json#L1671
    ⚠️ LongRunningOperationsOptionsValidator A LRO Post operation with return schema must have 'x-ms-long-running-operation-options' extension enabled.
    Location: Microsoft.Capacity/stable/2022-11-01/reservations.json#L30
    ⚠️ XmsLongRunningOperationOptions The x-ms-long-running-operation-options should be specified explicitly to indicate the type of response header to track the async operation.
    Location: Microsoft.Capacity/stable/2022-11-01/reservations.json#L31
    ⚠️ ListInOperationName Since operation response has model definition in array type, it should be of the form '_list'.
    Location: Microsoft.Capacity/stable/2022-11-01/reservations.json#L75
    ⚠️ PostOperationIdContainsUrlVerb OperationId should contain the verb: 'calculateprice' in:'ReservationOrder_Calculate'. Consider updating the operationId
    Location: Microsoft.Capacity/stable/2022-11-01/reservations.json#L202
    ⚠️ PutRequestResponseScheme A PUT operation request body schema should be the same as its 200 response schema, to allow reusing the same entity between GET and PUT. If the schema of the PUT request body is a superset of the GET response body, make sure you have a PATCH operation to make the resource updatable. Operation: 'ReservationOrder_Purchase' Request Model: 'parameters[2].schema' Response Model: 'responses[200].schema'
    Location: Microsoft.Capacity/stable/2022-11-01/reservations.json#L273
    ⚠️ PutInOperationName 'PUT' operation 'ReservationOrder_Purchase' should use method name 'Create'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Microsoft.Capacity/stable/2022-11-01/reservations.json#L276
    ⚠️ PostOperationIdContainsUrlVerb OperationId should contain the verb: 'calculaterefund' in:'CalculateRefund_Post'. Consider updating the operationId
    Location: Microsoft.Capacity/stable/2022-11-01/reservations.json#L805
    ⚠️ PostOperationIdContainsUrlVerb OperationId should contain the verb: 'return' in:'Return_Post'. Consider updating the operationId
    Location: Microsoft.Capacity/stable/2022-11-01/reservations.json#L845
    ⚠️ PostOperationIdContainsUrlVerb OperationId should contain the verb: 'calculateexchange' in:'CalculateExchange_Post'. Consider updating the operationId
    Location: Microsoft.Capacity/stable/2022-11-01/reservations.json#L894
    ⚠️ PostOperationIdContainsUrlVerb OperationId should contain the verb: 'exchange' in:'Exchange_Post'. Consider updating the operationId
    Location: Microsoft.Capacity/stable/2022-11-01/reservations.json#L953
    ⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.Capacity/stable/2022-11-01/reservations.json#L1290
    ⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.Capacity/stable/2022-11-01/reservations.json#L1315
    ⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.Capacity/stable/2022-11-01/reservations.json#L1324
    ⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.Capacity/stable/2022-11-01/reservations.json#L1367
    ⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.Capacity/stable/2022-11-01/reservations.json#L1376
    ️⚠️Avocado: 1 Warnings warning [Detail]
    Rule Message
    ⚠️ MULTIPLE_API_VERSION The default tag contains multiple API versions swaggers.
    readme: specification/reservations/resource-manager/readme.md
    tag: specification/reservations/resource-manager/readme.md#tag-package-2022-11
    ️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
    ️⚠️~[Staging] ServiceAPIReadinessTest: 0 Warnings warning [Detail]

    API Test is not triggered due to precheck failure. Check pipeline log for details.

    ️️✔️~[Staging] SwaggerAPIView succeeded [Detail] [Expand]
    ️️✔️~[Staging] CadlAPIView succeeded [Detail] [Expand]
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️PoliCheck succeeded [Detail] [Expand]
    Validation passed for PoliCheck.
    ️️✔️PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    ️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
    Validation passes for Lint(RPaaS).
    ️️✔️CadlValidation succeeded [Detail] [Expand]
    Validation passes for CadlValidation.
    ️️✔️PR Summary succeeded [Detail] [Expand]
    Validation passes for Summary.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jan 28, 2023

    Swagger Generation Artifacts

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

    Breaking Changes Tracking

    azure-sdk-for-go - sdk/resourcemanager/reservations/armreservations - Approved - 2.0.0
    +	Type of `OperationResponse.Properties` has been changed from `interface{}` to `any`
    +	Type of `QuotaProperties.Properties` has been changed from `interface{}` to `any`
    ️❌ azure-sdk-for-net-track2 failed [Detail]
    • Failed [Logs]Release - Generate from 78ec1b9. 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] �[31;1mGeneratePackage: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:672
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 672 | �[0m         �[36;1mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s�[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[36;1m     | �[31;1mFailed to generate sdk. exit code: False
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1mGet-ChildItem: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:760
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 760 | �[0m … rtifacts += �[36;1mGet-ChildItem $artifactsPath -Filter *.nupkg -exclude *.s�[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[36;1m     | �[31;1mCannot find path
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m'/mnt/vss/_work/1/s/azure-sdk-for-net/artifacts/packages/Debug/' because
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1mit does not exist.
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1mGeneratePackage: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:672
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 672 | �[0m         �[36;1mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s�[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[36;1m     | �[31;1mFailed to generate sdk artifact
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
    • Azure.ResourceManager.Reservations [View full logs]  [Release SDK Changes]
      info	[Changelog]
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 78ec1b9. 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]
      cmderr	[automation_generate.sh] npm notice New major version of npm available! 8.19.3 -> 9.4.0
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.4.0>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-reservations [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog]   - Model CalculateExchangeRequestProperties has a new parameter savings_plans_to_purchase
      info	[Changelog]   - Model CalculateExchangeResponseProperties has a new parameter savings_plans_to_purchase
      info	[Changelog]   - Model ExchangeResponseProperties has a new parameter savings_plans_to_purchase
      info	[Changelog]   - Model Patch has a new parameter applied_scope_properties
      info	[Changelog]   - Model Patch has a new parameter review_date_time
      info	[Changelog]   - Model PurchaseRequest has a new parameter applied_scope_properties
      info	[Changelog]   - Model PurchaseRequest has a new parameter review_date_time
      info	[Changelog]   - Model ReservationOrderResponse has a new parameter expiry_date_time
      info	[Changelog]   - Model ReservationOrderResponse has a new parameter review_date_time
      info	[Changelog]   - Model ReservationSummary has a new parameter no_benefit_count
      info	[Changelog]   - Model ReservationSummary has a new parameter warning_count
      info	[Changelog]   - Model ReservationsProperties has a new parameter applied_scope_properties
      info	[Changelog]   - Model ReservationsProperties has a new parameter expiry_date_time
      info	[Changelog]   - Model ReservationsProperties has a new parameter purchase_date_time
      info	[Changelog]   - Model ReservationsProperties has a new parameter review_date_time
      info	[Changelog]   - Model ReservationsProperties has a new parameter swap_properties
      info	[Changelog]   - Operation AzureReservationAPIOperationsMixin.get_catalog has a new optional parameter filter
      info	[Changelog]   - Operation AzureReservationAPIOperationsMixin.get_catalog has a new optional parameter skip
      info	[Changelog]   - Operation AzureReservationAPIOperationsMixin.get_catalog has a new optional parameter take
      info	[Changelog]
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog]   - Renamed operation ReturnOperations.post to ReturnOperations.begin_post
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 78ec1b9. 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
    • ️✔️sdk/resourcemanager/reservations/armreservations [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog] - Type of `OperationResponse.Properties` has been changed from `interface{}` to `any`
      info	[Changelog] - Type of `QuotaProperties.Properties` has been changed from `interface{}` to `any`
      info	[Changelog] - Function `*AzureReservationAPIClient.GetCatalog` has been removed
      info	[Changelog] - Operation `*ReturnClient.Post` has been changed to LRO, use `*ReturnClient.BeginPost` instead.
      info	[Changelog]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New value `AppliedScopeTypeManagementGroup` added to type alias `AppliedScopeType`
      info	[Changelog] - New value `DisplayProvisioningStateNoBenefit`, `DisplayProvisioningStateWarning` added to type alias `DisplayProvisioningState`
      info	[Changelog] - New type alias `BillingPlan` with values `BillingPlanP1M`
      info	[Changelog] - New type alias `CommitmentGrain` with values `CommitmentGrainHourly`
      info	[Changelog] - New type alias `SavingsPlanTerm` with values `SavingsPlanTermP1Y`, `SavingsPlanTermP3Y`
      info	[Changelog] - New function `*AzureReservationAPIClient.NewGetCatalogPager(string, *AzureReservationAPIClientGetCatalogOptions) *runtime.Pager[AzureReservationAPIClientGetCatalogResponse]`
      info	[Changelog] - New struct `AppliedScopeProperties`
      info	[Changelog] - New struct `CatalogsResult`
      info	[Changelog] - New struct `Commitment`
      info	[Changelog] - New struct `ProxyResource`
      info	[Changelog] - New struct `ReservationSwapProperties`
      info	[Changelog] - New struct `Resource`
      info	[Changelog] - New struct `SavingsPlanPurchaseRequest`
      info	[Changelog] - New struct `SavingsPlanPurchaseRequestProperties`
      info	[Changelog] - New struct `SavingsPlanToPurchaseCalculateExchange`
      info	[Changelog] - New struct `SavingsPlanToPurchaseExchange`
      info	[Changelog] - New anonymous field `CatalogsResult` in struct `AzureReservationAPIClientGetCatalogResponse`
      info	[Changelog] - New field `SavingsPlansToPurchase` in struct `CalculateExchangeRequestProperties`
      info	[Changelog] - New field `SavingsPlansToPurchase` in struct `CalculateExchangeResponseProperties`
      info	[Changelog] - New field `SavingsPlansToPurchase` in struct `ExchangeResponseProperties`
      info	[Changelog] - New field `AppliedScopeProperties` in struct `PatchProperties`
      info	[Changelog] - New field `ReviewDateTime` in struct `PatchProperties`
      info	[Changelog] - New field `AppliedScopeProperties` in struct `Properties`
      info	[Changelog] - New field `ExpiryDateTime` in struct `Properties`
      info	[Changelog] - New field `PurchaseDateTime` in struct `Properties`
      info	[Changelog] - New field `ReviewDateTime` in struct `Properties`
      info	[Changelog] - New field `SwapProperties` in struct `Properties`
      info	[Changelog] - New field `AppliedScopeProperties` in struct `PurchaseRequestProperties`
      info	[Changelog] - New field `ReviewDateTime` in struct `PurchaseRequestProperties`
      info	[Changelog] - New field `ExpiryDateTime` in struct `ReservationOrderProperties`
      info	[Changelog] - New field `ReviewDateTime` in struct `ReservationOrderProperties`
      info	[Changelog] - New field `NoBenefitCount` in struct `ReservationSummary`
      info	[Changelog] - New field `WarningCount` in struct `ReservationSummary`
      info	[Changelog]
      info	[Changelog] Total 4 breaking change(s), 40 additive change(s).
    ️❌ azure-sdk-for-js failed [Detail]
    • Failed [Logs]Release - Generate from 78ec1b9. 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
      cmderr	[automation_generate.sh] [ERROR] Error:
      cmderr	[automation_generate.sh] [ERROR] An error occurred while run build for readme file: "specification/reservations/resource-manager/readme.md":
      cmderr	[automation_generate.sh] [ERROR] Err: Error: Command failed: rush build -t @azure/arm-reservations
      cmderr	[automation_generate.sh] [ERROR] Stderr: "null"
      cmderr	[automation_generate.sh] [ERROR] Stdout: "null"
      cmderr	[automation_generate.sh] [ERROR] ErrorStack: "Error: Command failed: rush build -t @azure/arm-reservations
      cmderr	[automation_generate.sh] [ERROR]     at checkExecSyncError (node:child_process:861:11)
      cmderr	[automation_generate.sh] [ERROR]     at Object.execSync (node:child_process:932:15)
      cmderr	[automation_generate.sh] [ERROR]     at Object.<anonymous> (/opt/hostedtoolcache/node/16.19.0/x64/lib/node_modules/@azure-tools/js-sdk-release-tools/dist/hlc/generateMgmt.js:87:33)
      cmderr	[automation_generate.sh] [ERROR]     at Generator.next (<anonymous>)
      cmderr	[automation_generate.sh] [ERROR]     at fulfilled (/opt/hostedtoolcache/node/16.19.0/x64/lib/node_modules/@azure-tools/js-sdk-release-tools/node_modules/tslib/tslib.js:112:62)
      cmderr	[automation_generate.sh] [ERROR]     at processTicksAndRejections (node:internal/process/task_queues:96:5)"
    • @azure/arm-reservations [View full logs]  [Release SDK Changes]
      info	[Changelog]
      error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 78ec1b9. 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] old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile The package-lock.json file was created with an old version of npm,
      cmderr	[initScript.sh] npm WARN old lockfile so supplemental metadata must be fetched from the registry.
      cmderr	[initScript.sh] npm WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile This is a one-time fix-up, please be patient...
      cmderr	[initScript.sh] npm WARN old lockfile
      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
      warn	No file changes detected after generation
    • ️✔️reservations [View full logs
    ️️✔️ azure-powershell succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 78ec1b9. 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.ReservationApi [View full logs]  [Release SDK Changes]
    ️️✔️ azure-sdk-for-java succeeded [Detail] [Expand]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jan 28, 2023

    Generated ApiView

    Language Package Name ApiView Link
    Go sdk/resourcemanager/reservations/armreservations Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    Java azure-resourcemanager-reservations Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Approved-SdkBreakingChange-Go Approve the breaking change tracking for azure-sdk-for-go CI-BreakingChange-Go resource-manager
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    5 participants