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

[typespec-next] React to azure/typespec-azure#3121 #24615

Merged
merged 1 commit into from
Jun 27, 2023

Conversation

mikeharder
Copy link
Member

  • Sort autorest output with json schema

- Sort autorest output with json schema
@openapi-workflow-bot
Copy link

Hi, @mikeharder 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 Jun 27, 2023

    Swagger Validation Report

    ️❌BreakingChange: 18 Errors, 0 Warnings failed [Detail]
    compared swaggers (via Oad v0.10.4)] new version base version
    openapi.json v1.1(43ad749) v1.1(main)
    generated.json 2023-06-01-preview(43ad749) 2023-06-01-preview(main)
    generated.json 2022-12-01(43ad749) 2022-12-01(main)
    generated.json 2023-05-15(43ad749) 2023-05-15(main)
    contentsafety.json 2023-04-30-preview(43ad749) 2023-04-30-preview(main)
    openapi.json 2023-03-01-preview(43ad749) 2023-03-01-preview(main)
    mccfgov.json 2023-06-01-preview(43ad749) 2023-06-01-preview(main)
    fleets.json 2022-09-02-preview(43ad749) 2022-09-02-preview(main)
    fleets.json 2023-03-15-preview(43ad749) 2023-03-15-preview(main)
    containerstorage.json 2023-03-01-preview(43ad749) 2023-03-01-preview(main)
    widgets.json 2022-11-01-preview(43ad749) 2022-11-01-preview(main)
    TrafficController.json 2023-05-01-preview(43ad749) 2023-05-01-preview(main)
    azuresphere.json 2022-09-01-preview(43ad749) 2022-09-01-preview(main)
    openapi.json v3.0(43ad749) v3.0(main)
    Rule Message
    1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
    New: inference/preview/2023-06-01-preview/generated.json#L385:9
    Old: inference/preview/2023-06-01-preview/generated.json#L385:9
    1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
    New: inference/preview/2023-06-01-preview/generated.json#L583:9
    Old: inference/preview/2023-06-01-preview/generated.json#L587:9
    1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
    New: inference/stable/2022-12-01/generated.json#L438:9
    Old: inference/stable/2022-12-01/generated.json#L442:9
    1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
    New: inference/stable/2022-12-01/generated.json#L240:9
    Old: inference/stable/2022-12-01/generated.json#L240:9
    1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
    New: inference/stable/2023-05-15/generated.json#L291:9
    Old: inference/stable/2023-05-15/generated.json#L291:9
    1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
    New: inference/stable/2023-05-15/generated.json#L489:9
    Old: inference/stable/2023-05-15/generated.json#L493:9
    1026 - TypeChanged The new version has a different type 'string' than the previous one ''.
    New: inference/preview/2023-06-01-preview/generated.json#L385:9
    Old: inference/preview/2023-06-01-preview/generated.json#L385:9
    1026 - TypeChanged The new version has a different type 'string' than the previous one ''.
    New: inference/preview/2023-06-01-preview/generated.json#L583:9
    Old: inference/preview/2023-06-01-preview/generated.json#L587:9
    1026 - TypeChanged The new version has a different type 'string' than the previous one ''.
    New: inference/stable/2022-12-01/generated.json#L438:9
    Old: inference/stable/2022-12-01/generated.json#L442:9
    1026 - TypeChanged The new version has a different type 'string' than the previous one ''.
    New: inference/stable/2022-12-01/generated.json#L240:9
    Old: inference/stable/2022-12-01/generated.json#L240:9
    1026 - TypeChanged The new version has a different type 'string' than the previous one ''.
    New: inference/stable/2023-05-15/generated.json#L291:9
    Old: inference/stable/2023-05-15/generated.json#L291:9
    1026 - TypeChanged The new version has a different type 'string' than the previous one ''.
    New: inference/stable/2023-05-15/generated.json#L489:9
    Old: inference/stable/2023-05-15/generated.json#L493:9
    1048 - AddedXmsEnum The new version adds a x-ms-enum extension.
    New: inference/preview/2023-06-01-preview/generated.json#L385:9
    Old: inference/preview/2023-06-01-preview/generated.json#L385:9
    1048 - AddedXmsEnum The new version adds a x-ms-enum extension.
    New: inference/preview/2023-06-01-preview/generated.json#L583:9
    Old: inference/preview/2023-06-01-preview/generated.json#L587:9
    1048 - AddedXmsEnum The new version adds a x-ms-enum extension.
    New: inference/stable/2022-12-01/generated.json#L438:9
    Old: inference/stable/2022-12-01/generated.json#L442:9
    1048 - AddedXmsEnum The new version adds a x-ms-enum extension.
    New: inference/stable/2022-12-01/generated.json#L240:9
    Old: inference/stable/2022-12-01/generated.json#L240:9
    1048 - AddedXmsEnum The new version adds a x-ms-enum extension.
    New: inference/stable/2023-05-15/generated.json#L291:9
    Old: inference/stable/2023-05-15/generated.json#L291:9
    1048 - AddedXmsEnum The new version adds a x-ms-enum extension.
    New: inference/stable/2023-05-15/generated.json#L489:9
    Old: inference/stable/2023-05-15/generated.json#L493:9
    ️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
    There are no breaking changes.
    ️⚠️LintDiff: 0 Warnings warning [Detail]
    compared tags (via openapi-validator v2.1.3) new version base version
    default default(43ad749) default(typespec-next)
    default default(43ad749) default(typespec-next)
    default default(43ad749) default(typespec-next)
    default default(43ad749) default(typespec-next)
    default default(43ad749) default(typespec-next)
    default default(43ad749) default(typespec-next)
    default default(43ad749) default(typespec-next)
    default default(43ad749) default(typespec-next)
    default default(43ad749) default(typespec-next)
    default default(43ad749) default(typespec-next)
    default default(43ad749) default(typespec-next)

    The following errors/warnings exist before current PR submission:

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

    Rule Message
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Multivariate' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: AnomalyDetector/stable/v1.1/openapi.json#L72
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Multivariate' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: AnomalyDetector/stable/v1.1/openapi.json#L114
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Multivariate' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: AnomalyDetector/stable/v1.1/openapi.json#L155
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Multivariate' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: AnomalyDetector/stable/v1.1/openapi.json#L204
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Multivariate' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: AnomalyDetector/stable/v1.1/openapi.json#L243
    LroExtension Operations with a 202 response must specify x-ms-long-running-operation: true.
    Location: AnomalyDetector/stable/v1.1/openapi.json#L280
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Multivariate' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: AnomalyDetector/stable/v1.1/openapi.json#L281
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Multivariate' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: AnomalyDetector/stable/v1.1/openapi.json#L341
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Univariate' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: AnomalyDetector/stable/v1.1/openapi.json#L391
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Univariate' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: AnomalyDetector/stable/v1.1/openapi.json#L434
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Univariate' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: AnomalyDetector/stable/v1.1/openapi.json#L477
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'TextBlocklists' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: ContentSafety/preview/2023-04-30-preview/contentsafety.json#L97
    AvoidAnonymousTypes Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models.
    Location: ContentSafety/preview/2023-04-30-preview/contentsafety.json#L108
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'TextBlocklists' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: ContentSafety/preview/2023-04-30-preview/contentsafety.json#L156
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'TextBlocklists' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: ContentSafety/preview/2023-04-30-preview/contentsafety.json#L200
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'TextBlocklists' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: ContentSafety/preview/2023-04-30-preview/contentsafety.json#L262
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'TextBlocklists' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: ContentSafety/preview/2023-04-30-preview/contentsafety.json#L410
    AvoidAnonymousTypes Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models.
    Location: ContentSafety/preview/2023-04-30-preview/contentsafety.json#L439
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'TextBlocklists' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: ContentSafety/preview/2023-04-30-preview/contentsafety.json#L487
    LroExtension Operations with a 202 response must specify x-ms-long-running-operation: true.
    Location: HealthInsights/preview/2023-03-01-preview/openapi.json#L59
    XmsEnumValidation The enum types should have x-ms-enum type extension set with appropriate options.
    Location: HealthInsights/preview/2023-03-01-preview/openapi.json#L105
    LroExtension Operations with a 202 response must specify x-ms-long-running-operation: true.
    Location: HealthInsights/preview/2023-03-01-preview/openapi.json#L190
    XmsEnumValidation The enum types should have x-ms-enum type extension set with appropriate options.
    Location: HealthInsights/preview/2023-03-01-preview/openapi.json#L236
    RequiredReadOnlyProperties Property 'jobId' is a required property. It should not be marked as 'readonly'
    Location: HealthInsights/preview/2023-03-01-preview/openapi.json#L1534
    RequiredReadOnlyProperties Property 'createdDateTime' is a required property. It should not be marked as 'readonly'
    Location: HealthInsights/preview/2023-03-01-preview/openapi.json#L1534
    RequiredReadOnlyProperties Property 'expirationDateTime' is a required property. It should not be marked as 'readonly'
    Location: HealthInsights/preview/2023-03-01-preview/openapi.json#L1534
    RequiredReadOnlyProperties Property 'lastUpdateDateTime' is a required property. It should not be marked as 'readonly'
    Location: HealthInsights/preview/2023-03-01-preview/openapi.json#L1534
    RequiredReadOnlyProperties Property 'status' is a required property. It should not be marked as 'readonly'
    Location: HealthInsights/preview/2023-03-01-preview/openapi.json#L1534
    RequiredReadOnlyProperties Property 'jobId' is a required property. It should not be marked as 'readonly'
    Location: HealthInsights/preview/2023-03-01-preview/openapi.json#L1883
    RequiredReadOnlyProperties Property 'createdDateTime' is a required property. It should not be marked as 'readonly'
    Location: HealthInsights/preview/2023-03-01-preview/openapi.json#L1883
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️SwaggerAPIView succeeded [Detail] [Expand]
    ️️✔️CadlAPIView succeeded [Detail] [Expand]
    ️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
    ️❌ModelValidation: 14 Errors, 0 Warnings failed [Detail]
    Rule Message
    RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE Following response status codes 200 for operation OncoPhenotype_CreateJob were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.
    Url: HealthInsights/preview/2023-03-01-preview/openapi.json#L86:18
    ExampleUrl: preview/2023-03-01-preview/examples/SuccessfulOncoPhenotypeRequest.json#L52:16
    RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE Following response status codes 200 for operation OncoPhenotype_CreateJob were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.
    Url: HealthInsights/preview/2023-03-01-preview/openapi.json#L86:18
    ExampleUrl: preview/2023-03-01-preview/examples/SuccessfulOncoPhenotypeRequest.json#L52:16
    RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE Following response status codes 200 for operation TrialMatcher_CreateJob were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.
    Url: HealthInsights/preview/2023-03-01-preview/openapi.json#L217:18
    ExampleUrl: preview/2023-03-01-preview/examples/SuccessfulTrialMatcherRequest.json#L149:16
    RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE Following response status codes 200 for operation TrialMatcher_CreateJob were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.
    Url: HealthInsights/preview/2023-03-01-preview/openapi.json#L217:18
    ExampleUrl: preview/2023-03-01-preview/examples/SuccessfulTrialMatcherRequest.json#L149:16
    INVALID_FORMAT Object didn't pass validation for format byte: cs/RoNCp2UCxpN+i1UnVYw==
    Url: Microsoft.ManagedCcf/preview/2023-06-01-preview/mccfgov.json#L1584:20
    ExampleUrl: preview/2023-06-01-preview/examples/ServiceState_GetJoinPolicies.json#L12:13
    INVALID_FORMAT Object didn't pass validation for format byte: XqJZLOA9/xCx9nnsDch4vw==
    Url: Microsoft.ManagedCcf/preview/2023-06-01-preview/mccfgov.json#L2043:20
    ExampleUrl: preview/2023-06-01-preview/examples/ServiceState_GetJoinPolicies.json#L17:13
    INVALID_FORMAT Object didn't pass validation for format byte: NiNrjmA9/aSj4F076mVdrA==
    Url: Microsoft.ManagedCcf/preview/2023-06-01-preview/mccfgov.json#L2051:35
    ExampleUrl: preview/2023-06-01-preview/examples/ServiceState_GetJoinPolicies.json#L20:24
    INVALID_FORMAT Object didn't pass validation for format byte: cbneXARxfLGcqw3cc09mYQ==
    Url: Microsoft.ManagedCcf/preview/2023-06-01-preview/mccfgov.json#L2059:35
    ExampleUrl: preview/2023-06-01-preview/examples/ServiceState_GetJoinPolicies.json#L23:24
    INVALID_FORMAT Object didn't pass validation for format byte: iqCn2D8gcLapGOmaS/wFlg==
    Url: Microsoft.ManagedCcf/preview/2023-06-01-preview/mccfgov.json#L2014:18
    ExampleUrl: preview/2023-06-01-preview/examples/ServiceState_ListNodes.json#L18:24
    INVALID_FORMAT Object didn't pass validation for format byte: xIuY7WOg/FR7/tlqDAWcxQ==
    Url: Microsoft.ManagedCcf/preview/2023-06-01-preview/mccfgov.json#L2019:25
    ExampleUrl: preview/2023-06-01-preview/examples/ServiceState_ListNodes.json#L19:31
    INVALID_FORMAT Object didn't pass validation for format byte: 4n3t9RVQZomjwsAZyiyAuQ==
    Url: Microsoft.ManagedCcf/preview/2023-06-01-preview/mccfgov.json#L2014:18
    ExampleUrl: preview/2023-06-01-preview/examples/ServiceState_ListNodes.json#L35:24
    INVALID_FORMAT Object didn't pass validation for format byte: lvpmei0YwtfvVa4RaK8n+g==
    Url: Microsoft.ManagedCcf/preview/2023-06-01-preview/mccfgov.json#L2019:25
    ExampleUrl: preview/2023-06-01-preview/examples/ServiceState_ListNodes.json#L36:31
    INVALID_FORMAT Object didn't pass validation for format byte: iqCn2D8gcLapGOmaS/wFlg==
    Url: Microsoft.ManagedCcf/preview/2023-06-01-preview/mccfgov.json#L2014:18
    ExampleUrl: preview/2023-06-01-preview/examples/ServiceState_GetNode.json#L17:20
    INVALID_FORMAT Object didn't pass validation for format byte: xIuY7WOg/FR7/tlqDAWcxQ==
    Url: Microsoft.ManagedCcf/preview/2023-06-01-preview/mccfgov.json#L2019:25
    ExampleUrl: preview/2023-06-01-preview/examples/ServiceState_GetNode.json#L18:27
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    ️️✔️CadlValidation succeeded [Detail] [Expand]
    Validation passes for CadlValidation.
    ️️✔️TypeSpec Validation succeeded [Detail] [Expand]
    Validation passes for TypeSpec Validation.
    ️️✔️PR Summary succeeded [Detail] [Expand]
    Validation passes for Summary.
    Posted by Swagger Pipeline | How to fix these errors?

    @mikeharder mikeharder requested review from stewartadam and johanste and removed request for a team June 27, 2023 18:49
    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jun 27, 2023

    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-net-track2 failed [Detail]
    • Failed [Logs] Generate from c73db6321b7e6700a9dfe173c4f9dae6e0d81429. 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
      warn		specification/cognitiveservices/data-plane/AzureOpenAI/inference/readme.md skipped due to azure-sdk-for-net-track2 not found in swagger-to-sdk
      warn		specification/cognitiveservices/data-plane/HealthInsights/readme.md skipped due to azure-sdk-for-net-track2 not found in swagger-to-sdk
      warn		specification/confidentialledger/data-plane/readme.md skipped due to azure-sdk-for-net-track2 not found in swagger-to-sdk
      warn		specification/containerstorage/resource-manager/readme.md skipped due to azure-sdk-for-net-track2 not found in swagger-to-sdk
      warn		specification/contosowidgetmanager/data-plane/readme.md skipped due to azure-sdk-for-net-track2 not found in swagger-to-sdk
      warn		specification/servicenetworking/resource-manager/readme.md skipped due to azure-sdk-for-net-track2 not found in swagger-to-sdk
      warn		specification/translation/data-plane/Azure.AI.TextTranslation/readme.md skipped due to azure-sdk-for-net-track2 not found in swagger-to-sdk
      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:712
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 712 | �[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:805
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 805 | �[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:712
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 712 | �[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.ContainerService [View full logs]  [Preview SDK Changes]
      info	[Changelog]
    • ️✔️Azure.ResourceManager.Sphere [View full logs]  [Preview SDK Changes]
      info	[Changelog]
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs] Generate from c73db6321b7e6700a9dfe173c4f9dae6e0d81429. 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.
      warn		specification/cognitiveservices/data-plane/AnomalyDetector/readme.md skipped due to azure-sdk-for-python-track2 not found in swagger-to-sdk
      warn		specification/cognitiveservices/data-plane/AzureOpenAI/inference/readme.md skipped due to azure-sdk-for-python-track2 not found in swagger-to-sdk
      warn		specification/cognitiveservices/data-plane/HealthInsights/readme.md skipped due to azure-sdk-for-python-track2 not found in swagger-to-sdk
      warn		specification/confidentialledger/data-plane/readme.md skipped due to azure-sdk-for-python-track2 not found in swagger-to-sdk
      warn		specification/contosowidgetmanager/data-plane/readme.md skipped due to azure-sdk-for-python-track2 not found in swagger-to-sdk
      warn		specification/sphere/resource-manager/readme.md skipped due to azure-sdk-for-python-track2 not found in swagger-to-sdk
      warn		specification/translation/data-plane/Azure.AI.TextTranslation/readme.md skipped due to azure-sdk-for-python-track2 not found in swagger-to-sdk
      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! 9.5.1 -> 9.7.2
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.7.2>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-containerservicefleet [View full logs]  [Preview SDK Changes]
      info	[Changelog]
    • ️✔️track2_azure-mgmt-containerstorage [View full logs]  [Preview SDK Changes]
      info	[Changelog]   - Initial Release
    • ️✔️track2_azure-mgmt-servicenetworking [View full logs]  [Preview SDK Changes]
      info	[Changelog]
    ️⚠️ azure-sdk-for-java warning [Detail]
    ️⚠️ azure-sdk-for-js warning [Detail]
    • ⚠️Warning [Logs] Generate from c73db6321b7e6700a9dfe173c4f9dae6e0d81429. 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
      warn		specification/cognitiveservices/data-plane/AnomalyDetector/readme.md skipped due to azure-sdk-for-js not found in swagger-to-sdk
      warn		specification/cognitiveservices/data-plane/AzureOpenAI/inference/readme.md skipped due to azure-sdk-for-js not found in swagger-to-sdk
      command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
      warn	No file changes detected after generation
      warn	No package detected after generation
    • ️✔️@azure/arm-containerservicefleet [View full logs]  [Preview SDK Changes]
      info	[Changelog]
      error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
    • ️✔️@azure/arm-azuresphere [View full logs]  [Preview 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] Generate from c73db6321b7e6700a9dfe173c4f9dae6e0d81429. 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]
      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
      warn		specification/cognitiveservices/data-plane/AnomalyDetector/readme.md skipped due to azure-resource-manager-schemas not found in swagger-to-sdk
      warn		specification/cognitiveservices/data-plane/AzureOpenAI/inference/readme.md skipped due to azure-resource-manager-schemas not found in swagger-to-sdk
      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
      warn	Skip detect changed packages
    • ️✔️containerservice [View full logs
    • ️✔️containerstorage [View full logs]  [Preview Schema Changes]
    • ️✔️sphere [View full logs
    ️❌ azure-powershell failed [Detail]
    • Pipeline Framework Failed [Logs] Generate from c73db6321b7e6700a9dfe173c4f9dae6e0d81429. SDK Automation 14.0.0
      command	sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json
      warn		specification/cognitiveservices/data-plane/AnomalyDetector/readme.md skipped due to azure-powershell not found in swagger-to-sdk
      warn		specification/cognitiveservices/data-plane/AzureOpenAI/inference/readme.md skipped due to azure-powershell not found in swagger-to-sdk
      warn		specification/cognitiveservices/data-plane/HealthInsights/readme.md skipped due to azure-powershell not found in swagger-to-sdk
      warn		specification/confidentialledger/data-plane/readme.md skipped due to azure-powershell not found in swagger-to-sdk
      warn		specification/containerstorage/resource-manager/readme.md skipped due to azure-powershell not found in swagger-to-sdk
      warn		specification/contosowidgetmanager/data-plane/readme.md skipped due to azure-powershell not found in swagger-to-sdk
      warn		specification/servicenetworking/resource-manager/readme.md skipped due to azure-powershell not found in swagger-to-sdk
      warn		specification/sphere/resource-manager/readme.md skipped due to azure-powershell not found in swagger-to-sdk
      warn		specification/translation/data-plane/Azure.AI.TextTranslation/readme.md skipped due to azure-powershell not found in swagger-to-sdk
      command	pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
      SSL error: syscall failure: Broken pipe
      Error: SSL error: syscall failure: Broken pipe
    • Az.cognitiveservices.DefaultTag [View full logs
      error	Fatal error: SSL error: syscall failure: Broken pipe
      error	The following packages are still pending:
      error		Az.cognitiveservices.DefaultTag
      error		Az.containerservice.DefaultTag
    • ️✔️Az.containerservice.DefaultTag
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from c73db6321b7e6700a9dfe173c4f9dae6e0d81429. 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
      warn		specification/cognitiveservices/data-plane/AnomalyDetector/readme.md skipped due to azure-sdk-for-go not found in swagger-to-sdk
      warn		specification/cognitiveservices/data-plane/AzureOpenAI/inference/readme.md skipped due to azure-sdk-for-go not found in swagger-to-sdk
      warn		specification/cognitiveservices/data-plane/ContentSafety/readme.md skipped due to azure-sdk-for-go not found in swagger-to-sdk
      warn		specification/cognitiveservices/data-plane/HealthInsights/readme.md skipped due to azure-sdk-for-go not found in swagger-to-sdk
      warn		specification/confidentialledger/data-plane/readme.md skipped due to azure-sdk-for-go not found in swagger-to-sdk
      warn		specification/contosowidgetmanager/data-plane/readme.md skipped due to azure-sdk-for-go not found in swagger-to-sdk
      warn		specification/translation/data-plane/Azure.AI.TextTranslation/readme.md skipped due to azure-sdk-for-go not found in swagger-to-sdk
      command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️sdk/resourcemanager/containerservicefleet/armcontainerservicefleet [View full logs]  [Preview SDK Changes]
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️sdk/resourcemanager/containerstorage/armcontainerstorage [View full logs]  [Preview SDK Changes]
      info	[Changelog] This is a new package
      info	[Changelog]
    • ️✔️sdk/resourcemanager/servicenetworking/armservicenetworking [View full logs]  [Preview SDK Changes]
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️sdk/resourcemanager/azuresphere/armazuresphere [View full logs]  [Preview SDK Changes]
      info	[Changelog] This is a new package
      info	[Changelog]
    ️⚠️ azure-sdk-for-python warning [Detail]
    • ⚠️Warning [Logs] Generate from c73db6321b7e6700a9dfe173c4f9dae6e0d81429. 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.
      warn		specification/cognitiveservices/data-plane/AnomalyDetector/readme.md skipped due to azure-sdk-for-python not found in swagger-to-sdk
      warn		specification/cognitiveservices/data-plane/AzureOpenAI/inference/readme.md skipped due to azure-sdk-for-python not found in swagger-to-sdk
      warn		specification/cognitiveservices/data-plane/ContentSafety/readme.md skipped due to azure-sdk-for-python not found in swagger-to-sdk
      warn		specification/cognitiveservices/data-plane/HealthInsights/readme.md skipped due to azure-sdk-for-python not found in swagger-to-sdk
      warn		specification/confidentialledger/data-plane/readme.md skipped due to azure-sdk-for-python not found in swagger-to-sdk
      warn		specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/readme.md skipped due to azure-sdk-for-python not found in swagger-to-sdk
      warn		specification/contosowidgetmanager/data-plane/readme.md skipped due to azure-sdk-for-python not found in swagger-to-sdk
      warn		specification/servicenetworking/resource-manager/readme.md skipped due to azure-sdk-for-python not found in swagger-to-sdk
      warn		specification/translation/data-plane/Azure.AI.TextTranslation/readme.md skipped due to azure-sdk-for-python not found in swagger-to-sdk
      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! 9.5.1 -> 9.7.2
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.7.2>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-containerstorage [View full logs]  [Preview SDK Changes]
      info	[Changelog]   - Initial Release
    • ️✔️track2_azure-mgmt-azuresphere [View full logs]  [Preview SDK Changes]
      info	[Changelog]   - Initial Release
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jun 27, 2023

    Generated ApiView

    Language Package Name ApiView Link
    Swagger Microsoft.AzureSphere https://apiview.dev/Assemblies/Review/b5e4c980d20d442b8bf31e0e83122a3f
    Swagger Microsoft.ContainerService https://apiview.dev/Assemblies/Review/0096289452e04a03b9fe3953694fa91f
    Swagger Microsoft.ContainerStorage https://apiview.dev/Assemblies/Review/76c6b845c95443f0a4fe23d09963f8e8
    Swagger Microsoft.ManagedCcf https://apiview.dev/Assemblies/Review/cc8ba3ec0d554b15ac4ed019c84f0a4c
    Swagger Microsoft.ServiceNetworking https://apiview.dev/Assemblies/Review/80ef59d93754472ca9bf0544b91fee03
    Swagger cognitiveservices-data-plane-AzureOpenAI-inference https://apiview.dev/Assemblies/Review/3ee42077a5884eea97c64cb09438329f
    Swagger cognitiveservices-data-plane-ContentSafety https://apiview.dev/Assemblies/Review/7806b67741be4368b07265398dbe898b
    Swagger cognitiveservices-data-plane-HealthInsights https://apiview.dev/Assemblies/Review/458a71b521eb458bac58d687d30a092d
    Swagger v1.1 https://apiview.dev/Assemblies/Review/7bdf9f0775a54f33830ee9841a1cae50
    Swagger v3.0 https://apiview.dev/Assemblies/Review/767b71466d914aa9a3ea3fdef49b3377
    Go sdk/resourcemanager/azuresphere/armazuresphere https://apiview.dev/Assemblies/Review/555a7f59145b4a10ad49cc638a6e9d8b
    Go sdk/resourcemanager/containerservicefleet/armcontainerservicefleet There is no API change compared with the previous version
    Go sdk/resourcemanager/containerstorage/armcontainerstorage https://apiview.dev/Assemblies/Review/b4f4d33225a4481a802e403bd8abca8d
    Go sdk/resourcemanager/servicenetworking/armservicenetworking There is no API change compared with the previous version
    Java azure-resourcemanager-containerservicefleet There is no API change compared with the previous version
    Java azure-resourcemanager-sphere https://apiview.dev/Assemblies/Review/8a95082274e14f7b99861934eb557ea9
    JavaScript @azure/arm-azuresphere https://apiview.dev/Assemblies/Review/7d25db9a968c452989d89a63e7d60a87
    JavaScript @azure/arm-containerservicefleet There is no API change compared with the previous version
    .Net Azure.ResourceManager.Sphere https://apiview.dev/Assemblies/Review/1a6c4c7692d14b0cab9282b55b207899

    @openapi-workflow-bot
    Copy link

    Hi @mikeharder! The automation detected breaking changes in this pull request. As a result, it added the BreakingChangeReviewRequired label.

    You cannot proceed with merging this PR until you complete one of the following action items:

    ACTION ITEM ALTERNATIVE A: Fix the breaking change.
    Please consult the documentation provided in the relevant validation failures.

    ACTION ITEM ALTERNATIVE B: Request approval.
    Alternatively, if you cannot fix the breaking changes, then you can request an approval for them. Please follow the process described in the High-level Breaking Change Process doc.

    ACTION ITEM ALTERNATIVE C: Report false positive.
    If you think there are no breaking changes, i.e. the validation should pass yet it fails, then please explain why in a PR comment and @ the PR assignee.

    @openapi-workflow-bot
    Copy link

    Hi @mikeharder! Your PR has some issues. Please fix the CI issues, if present, in following order: Avocado, SemanticValidation, ModelValidation, Breaking Change, LintDiff.

    TaskHow to fixPriority
    AvocadoFix-AvocadoHigh
    Semantic ValidationFix-SemanticValidation-ErrorHigh
    Model ValidationFix-ModelValidation-ErrorHigh
    LintDiffFix-LintDiffHigh

    If you need further help, please reach out on the Teams channel aka.ms/azsdk/support/specreview-channel.

    Copy link
    Member

    @timotheeguerin timotheeguerin left a comment

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    Compared a few in https://jsondiff.com and showing no diff in semantic meaning

    @mikeharder
    Copy link
    Member Author

    Failures in "Swagger ModelValidation":

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Projects
    Archived in project
    Development

    Successfully merging this pull request may close these issues.

    3 participants