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

[TSP] Generate all MGMT tsp files. January 22 #27471

Draft
wants to merge 42 commits into
base: main
Choose a base branch
from

Conversation

dvbb
Copy link

@dvbb dvbb commented Jan 22, 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.

Note

As of January 2024 there is no PR assignee. This is expected. See https://aka.ms/azsdk/pr-arm-review.

PR review workflow diagram

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

diagram

Click here to see the details of Step 1

Breaking changes review (Diagram Step 1)

If the automation determines you have breaking changes, i.e. Step 1 from the diagram applies to you,
you must follow the breaking changes process.
IMPORTANT This applies even if:

  • The tool fails while it shouldn't, e.g. due to runtime exception, or incorrect detection of breaking changes.
  • You believe there is no need for you to request breaking change approval, for any reason.
    Such claims must be reviewed, and the process is the same.
Click here to see the details of Step 2

ARM API changes review (Diagram Step 2)

Click here to see the diagram footnotes

Diagram footnotes

[1] See ARM review queue (for PR merge queues, see [2]).
[2] public repo merge queue, private repo merge queue (for ARM review queue, [1])
The ARM reviewer on-call engineer visits the merge queue twice a day, so the approximate ETA for merges is 12 - 24 hours.

Purpose of this PR

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 generated using OpenAPI Hub).
  • Update existing version for a new feature. (This is applicable only when you are revising a private preview API version.)
  • Update existing version to fix OpenAPI spec quality issues in S360.
  • Other, please clarify:
    • edit this with your clarification

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.
  • 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 PR workflow diagram Step 2 (ARM review), 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.

Copy link

openapi-pipeline-app bot commented Jan 22, 2024

Next Steps to Merge

Next steps that must be taken to merge this PR:
  • ❌ The required check named TypeSpec Validation has failed. Refer to the check in the PR's 'Checks' tab for details on how to fix it.

Copy link

openapi-pipeline-app bot commented Jan 22, 2024

Swagger Validation Report

️❌BreakingChange: 5 Errors, 0 Warnings failed [Detail]
Rule Message
Runtime Exception "new":"https://github.com/Azure/azure-rest-api-specs/blob/73df454d791166fcebd74c4cab9981e491523cfd/specification/liftrqumulo/Qumulo.Management/resources.json",
"old":"https://github.com/Azure/azure-rest-api-specs/blob/main/specification/liftrqumulo/Qumulo.Management/resources.json",
"details":"Breaking change detector (OAD) invoked AutoRest. AutoRest threw a runtime error. First 6 lines of stack trace follow,
indexed. First line should contain AutoRest command line invocation details. Second line should contain the main message reported by AutoRest.
====================
1: Command failed: node "/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.72/common/temp/node_modules/.pnpm/@Azure+oad@0.10.4/node_modules/autorest/dist/app.js" --v2 --input-file=/mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specification/liftrqumulo/Qumulo.Management/resources.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=old --output-folder=/tmp
--------------------
2: FATAL: swagger-document/loader - FAILED
--------------------
3: FATAL: Error: File 'file:///mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specification/liftrqumulo/Qumulo.Management/resources.json' is not a valid OpenAPI 2.0 definition (expected 'swagger: 2.0')
--------------------
4: Error: File 'file:///mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specification/liftrqumulo/Qumulo.Management/resources.json' is not a valid OpenAPI 2.0 definition (expected 'swagger: 2.0')
--------------------"
Runtime Exception "new":"https://github.com/Azure/azure-rest-api-specs/blob/73df454d791166fcebd74c4cab9981e491523cfd/specification/networkanalytics/NetworkAnalytics.Management/resources.json",
"old":"https://github.com/Azure/azure-rest-api-specs/blob/main/specification/networkanalytics/NetworkAnalytics.Management/resources.json",
"details":"Breaking change detector (OAD) invoked AutoRest. AutoRest threw a runtime error. First 6 lines of stack trace follow,
indexed. First line should contain AutoRest command line invocation details. Second line should contain the main message reported by AutoRest.
====================
1: Command failed: node "/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.72/common/temp/node_modules/.pnpm/@Azure+oad@0.10.4/node_modules/autorest/dist/app.js" --v2 --input-file=/mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specification/networkanalytics/NetworkAnalytics.Management/resources.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=old --output-folder=/tmp
--------------------
2: FATAL: swagger-document/loader - FAILED
--------------------
3: FATAL: Error: File 'file:///mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specification/networkanalytics/NetworkAnalytics.Management/resources.json' is not a valid OpenAPI 2.0 definition (expected 'swagger: 2.0')
--------------------
4: Error: File 'file:///mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specification/networkanalytics/NetworkAnalytics.Management/resources.json' is not a valid OpenAPI 2.0 definition (expected 'swagger: 2.0')
--------------------"
Runtime Exception "new":"https://github.com/Azure/azure-rest-api-specs/blob/73df454d791166fcebd74c4cab9981e491523cfd/specification/playwrighttesting/PlaywrightTesting.Management/resources.json",
"old":"https://github.com/Azure/azure-rest-api-specs/blob/main/specification/playwrighttesting/PlaywrightTesting.Management/resources.json",
"details":"Breaking change detector (OAD) invoked AutoRest. AutoRest threw a runtime error. First 6 lines of stack trace follow,
indexed. First line should contain AutoRest command line invocation details. Second line should contain the main message reported by AutoRest.
====================
1: Command failed: node "/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.72/common/temp/node_modules/.pnpm/@Azure+oad@0.10.4/node_modules/autorest/dist/app.js" --v2 --input-file=/mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specification/playwrighttesting/PlaywrightTesting.Management/resources.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=old --output-folder=/tmp
--------------------
2: FATAL: swagger-document/loader - FAILED
--------------------
3: FATAL: Error: File 'file:///mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specification/playwrighttesting/PlaywrightTesting.Management/resources.json' is not a valid OpenAPI 2.0 definition (expected 'swagger: 2.0')
--------------------
4: Error: File 'file:///mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specification/playwrighttesting/PlaywrightTesting.Management/resources.json' is not a valid OpenAPI 2.0 definition (expected 'swagger: 2.0')
--------------------"
Runtime Exception "new":"https://github.com/Azure/azure-rest-api-specs/blob/73df454d791166fcebd74c4cab9981e491523cfd/specification/servicenetworking/ServiceNetworking.Management/resources.json",
"old":"https://github.com/Azure/azure-rest-api-specs/blob/main/specification/servicenetworking/ServiceNetworking.Management/resources.json",
"details":"Breaking change detector (OAD) invoked AutoRest. AutoRest threw a runtime error. First 6 lines of stack trace follow,
indexed. First line should contain AutoRest command line invocation details. Second line should contain the main message reported by AutoRest.
====================
1: Command failed: node "/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.72/common/temp/node_modules/.pnpm/@Azure+oad@0.10.4/node_modules/autorest/dist/app.js" --v2 --input-file=/mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specification/servicenetworking/ServiceNetworking.Management/resources.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=old --output-folder=/tmp
--------------------
2: FATAL: swagger-document/loader - FAILED
--------------------
3: FATAL: Error: File 'file:///mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specification/servicenetworking/ServiceNetworking.Management/resources.json' is not a valid OpenAPI 2.0 definition (expected 'swagger: 2.0')
--------------------
4: Error: File 'file:///mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specification/servicenetworking/ServiceNetworking.Management/resources.json' is not a valid OpenAPI 2.0 definition (expected 'swagger: 2.0')
--------------------"
Runtime Exception "new":"https://github.com/Azure/azure-rest-api-specs/blob/73df454d791166fcebd74c4cab9981e491523cfd/specification/sphere/Sphere.Management/resources.json",
"old":"https://github.com/Azure/azure-rest-api-specs/blob/main/specification/sphere/Sphere.Management/resources.json",
"details":"Breaking change detector (OAD) invoked AutoRest. AutoRest threw a runtime error. First 6 lines of stack trace follow,
indexed. First line should contain AutoRest command line invocation details. Second line should contain the main message reported by AutoRest.
====================
1: Command failed: node "/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.72/common/temp/node_modules/.pnpm/@Azure+oad@0.10.4/node_modules/autorest/dist/app.js" --v2 --input-file=/mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specification/sphere/Sphere.Management/resources.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=old --output-folder=/tmp
--------------------
2: FATAL: swagger-document/loader - FAILED
--------------------
3: FATAL: Error: File 'file:///mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specification/sphere/Sphere.Management/resources.json' is not a valid OpenAPI 2.0 definition (expected 'swagger: 2.0')
--------------------
4: Error: File 'file:///mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specification/sphere/Sphere.Management/resources.json' is not a valid OpenAPI 2.0 definition (expected 'swagger: 2.0')
--------------------"
️❌Breaking Change(Cross-Version): 2 Errors, 0 Warnings failed [Detail] The following breaking changes are detected by comparison with the latest stable version:
Rule Message
Runtime Exception "new":"https://github.com/Azure/azure-rest-api-specs/blob/73df454d791166fcebd74c4cab9981e491523cfd/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/ContainerServiceFleet.Management/resource-manager/Microsoft.ContainerService/stable/2023-10-15/fleets.json",
"old":"https://github.com/Azure/azure-rest-api-specs/blob/main/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/fleets.json",
"details":"Breaking change detector (OAD) invoked AutoRest. AutoRest threw a runtime error. First 6 lines of stack trace follow,
indexed. First line should contain AutoRest command line invocation details. Second line should contain the main message reported by AutoRest.
====================
1: Command failed: node "/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.72/common/temp/node_modules/.pnpm/@Azure+oad@0.10.4/node_modules/autorest/dist/app.js" --v2 --input-file=specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/ContainerServiceFleet.Management/resource-manager/Microsoft.ContainerService/stable/2023-10-15/fleets.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=new --output-folder=/tmp
--------------------
2: ERROR: Referenced file 'file:///mnt/vss/_work/1/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/common-types/resource-management/v3/types.json' not found
--------------------
3: - file:///mnt/vss/_work/1/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/ContainerServiceFleet.Management/resource-manager/Microsoft.ContainerService/stable/2023-10-15/fleets.json:2712:10 ($.definitions.UpdateStatus.properties.error["$ref"])
--------------------
4: FATAL: swagger-document/loader - FAILED
--------------------
5: FATAL: Error: [OperationAbortedException] Error occurred. Exiting.
--------------------
6: Process() cancelled due to exception : [OperationAbortedException] Error occurred. Exiting.
--------------------"


The following breaking changes are detected by comparison with the latest preview version:

Rule Message
Runtime Exception "new":"https://github.com/Azure/azure-rest-api-specs/blob/73df454d791166fcebd74c4cab9981e491523cfd/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/ContainerServiceFleet.Management/resource-manager/Microsoft.ContainerService/stable/2023-10-15/fleets.json",
"old":"https://github.com/Azure/azure-rest-api-specs/blob/main/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-08-15-preview/fleets.json",
"details":"Breaking change detector (OAD) invoked AutoRest. AutoRest threw a runtime error. First 6 lines of stack trace follow,
indexed. First line should contain AutoRest command line invocation details. Second line should contain the main message reported by AutoRest.
====================
1: Command failed: node "/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.72/common/temp/node_modules/.pnpm/@Azure+oad@0.10.4/node_modules/autorest/dist/app.js" --v2 --input-file=specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/ContainerServiceFleet.Management/resource-manager/Microsoft.ContainerService/stable/2023-10-15/fleets.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=new --output-folder=/tmp
--------------------
2: ERROR: Referenced file 'file:///mnt/vss/_work/1/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/common-types/resource-management/v3/types.json' not found
--------------------
3: - file:///mnt/vss/_work/1/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/ContainerServiceFleet.Management/resource-manager/Microsoft.ContainerService/stable/2023-10-15/fleets.json:2712:10 ($.definitions.UpdateStatus.properties.error["$ref"])
--------------------
4: FATAL: swagger-document/loader - FAILED
--------------------
5: FATAL: Error: [OperationAbortedException] Error occurred. Exiting.
--------------------
6: Process() cancelled due to exception : [OperationAbortedException] Error occurred. Exiting.
--------------------"
️🔄CredScan inProgress [Detail]
️❌LintDiff: 1 Errors, 0 Warnings failed [Detail]
Rule Message
LintDiffToolException "details":""stack":"ResolverError: Error reading file \"/mnt/vss/_work/1/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/common-types/resource-management/v3/types.json\"\n at onError (/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.72/common/temp/node_modules/.pnpm/@APIDevTools+json-schema-ref-parser@9.0.9/node_modules/@apidevtools/json-schema-ref-parser/lib/parse.js:92:16)\n at runMicrotasks ()\n at processTicksAndRejections (internal/process/task_queues.js:95:5)",
"code":"ERESOLVER",
"message":"Error reading file \"/mnt/vss/_work/1/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/common-types/resource-management/v3/types.json\"",
"source":"/mnt/vss/_work/1/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/common-types/resource-management/v3/types.json",
"path":null,
"name":"ResolverError",
"footprint":"null+/mnt/vss/_work/1/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/common-types/resource-management/v3/types.json+ERESOLVER+Error reading file \"/mnt/vss/_work/1/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/common-types/resource-management/v3/types.json\"""
️❌Avocado: 308 Errors, 0 Warnings failed [Detail]

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

Rule Message
MISSING_README Can not find readme.md in the folder. If no readme.md file, it will block SDK generation.
folder: resource-manager/Microsoft.Advisor/stable/2020-01-01
MISSING_README Can not find readme.md in the folder. If no readme.md file, it will block SDK generation.
folder: Microsoft.Advisor/stable/2020-01-01/examples
MISSING_README Can not find readme.md in the folder. If no readme.md file, it will block SDK generation.
folder: resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview
MISSING_README Can not find readme.md in the folder. If no readme.md file, it will block SDK generation.
folder: Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples
MISSING_README Can not find readme.md in the folder. If no readme.md file, it will block SDK generation.
folder: resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview
MISSING_README Can not find readme.md in the folder. If no readme.md file, it will block SDK generation.
folder: Microsoft.AlertsManagement/stable/2021-08-08/examples
MISSING_README Can not find readme.md in the folder. If no readme.md file, it will block SDK generation.
folder: resource-manager/Microsoft.AlertsManagement/stable/2021-08-08
MISSING_README Can not find readme.md in the folder. If no readme.md file, it will block SDK generation.
folder: resource-manager/Microsoft.AnalysisServices/stable/2017-08-01
MISSING_README Can not find readme.md in the folder. If no readme.md file, it will block SDK generation.
folder: Microsoft.AnalysisServices/stable/2017-08-01/examples
MISSING_README Can not find readme.md in the folder. If no readme.md file, it will block SDK generation.
folder: resource-manager/Microsoft.ApiCenter/preview/2023-07-01-preview
MISSING_README Can not find readme.md in the folder. If no readme.md file, it will block SDK generation.
folder: Microsoft.ApiCenter/preview/2023-07-01-preview/examples
MISSING_README Can not find readme.md in the folder. If no readme.md file, it will block SDK generation.
folder: Microsoft.App/stable/2023-05-01/examples
MISSING_README Can not find readme.md in the folder. If no readme.md file, it will block SDK generation.
folder: resource-manager/Microsoft.App/stable/2023-05-01
MISSING_README Can not find readme.md in the folder. If no readme.md file, it will block SDK generation.
folder: resource-manager/Microsoft.AppComplianceAutomation/preview/2022-11-16-preview
MISSING_README Can not find readme.md in the folder. If no readme.md file, it will block SDK generation.
folder: Microsoft.AppComplianceAutomation/preview/2022-11-16-preview/examples
MISSING_README Can not find readme.md in the folder. If no readme.md file, it will block SDK generation.
folder: resource-manager/Microsoft.AppConfiguration/stable/2022-05-01
MISSING_README Can not find readme.md in the folder. If no readme.md file, it will block SDK generation.
folder: Microsoft.AppConfiguration/stable/2022-05-01/examples
MISSING_README Can not find readme.md in the folder. If no readme.md file, it will block SDK generation.
folder: resource-manager/Microsoft.Attestation/preview/2021-06-01-preview
MISSING_README Can not find readme.md in the folder. If no readme.md file, it will block SDK generation.
folder: Microsoft.Attestation/preview/2021-06-01-preview/examples
MISSING_README Can not find readme.md in the folder. If no readme.md file, it will block SDK generation.
folder: Microsoft.Authorization/stable/2015-07-01/examples
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️❌TypeSpecAPIView: 0 Errors, 157 Warnings failed [Detail]

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

Rule Message
⚠️ Failed to generate TypeSpec APIView. Please check the detail log and make sure TypeSpec compiler version is the latest. "How to fix":"Check the detailed log and verify if the TypeSpec emitter is able to create API review file for the changes in PR."
⚠️ Failed to generate TypeSpec APIView. Please check the detail log and make sure TypeSpec compiler version is the latest. "How to fix":"Check the detailed log and verify if the TypeSpec emitter is able to create API review file for the changes in PR."
⚠️ Failed to generate TypeSpec APIView. Please check the detail log and make sure TypeSpec compiler version is the latest. "How to fix":"Check the detailed log and verify if the TypeSpec emitter is able to create API review file for the changes in PR."
⚠️ Failed to generate TypeSpec APIView. Please check the detail log and make sure TypeSpec compiler version is the latest. "How to fix":"Check the detailed log and verify if the TypeSpec emitter is able to create API review file for the changes in PR."
⚠️ Failed to generate TypeSpec APIView. Please check the detail log and make sure TypeSpec compiler version is the latest. "How to fix":"Check the detailed log and verify if the TypeSpec emitter is able to create API review file for the changes in PR."
⚠️ Failed to generate TypeSpec APIView. Please check the detail log and make sure TypeSpec compiler version is the latest. "How to fix":"Check the detailed log and verify if the TypeSpec emitter is able to create API review file for the changes in PR."
⚠️ Failed to generate TypeSpec APIView. Please check the detail log and make sure TypeSpec compiler version is the latest. "How to fix":"Check the detailed log and verify if the TypeSpec emitter is able to create API review file for the changes in PR."
⚠️ Failed to generate TypeSpec APIView. Please check the detail log and make sure TypeSpec compiler version is the latest. "How to fix":"Check the detailed log and verify if the TypeSpec emitter is able to create API review file for the changes in PR."
⚠️ Failed to generate TypeSpec APIView. Please check the detail log and make sure TypeSpec compiler version is the latest. "How to fix":"Check the detailed log and verify if the TypeSpec emitter is able to create API review file for the changes in PR."
⚠️ Failed to generate TypeSpec APIView. Please check the detail log and make sure TypeSpec compiler version is the latest. "How to fix":"Check the detailed log and verify if the TypeSpec emitter is able to create API review file for the changes in PR."
⚠️ Failed to generate TypeSpec APIView. Please check the detail log and make sure TypeSpec compiler version is the latest. "How to fix":"Check the detailed log and verify if the TypeSpec emitter is able to create API review file for the changes in PR."
⚠️ Failed to generate TypeSpec APIView. Please check the detail log and make sure TypeSpec compiler version is the latest. "How to fix":"Check the detailed log and verify if the TypeSpec emitter is able to create API review file for the changes in PR."
⚠️ Failed to generate TypeSpec APIView. Please check the detail log and make sure TypeSpec compiler version is the latest. "How to fix":"Check the detailed log and verify if the TypeSpec emitter is able to create API review file for the changes in PR."
⚠️ Failed to generate TypeSpec APIView. Please check the detail log and make sure TypeSpec compiler version is the latest. "How to fix":"Check the detailed log and verify if the TypeSpec emitter is able to create API review file for the changes in PR."
⚠️ Failed to generate TypeSpec APIView. Please check the detail log and make sure TypeSpec compiler version is the latest. "How to fix":"Check the detailed log and verify if the TypeSpec emitter is able to create API review file for the changes in PR."
⚠️ Failed to generate TypeSpec APIView. Please check the detail log and make sure TypeSpec compiler version is the latest. "How to fix":"Check the detailed log and verify if the TypeSpec emitter is able to create API review file for the changes in PR."
⚠️ Failed to generate TypeSpec APIView. Please check the detail log and make sure TypeSpec compiler version is the latest. "How to fix":"Check the detailed log and verify if the TypeSpec emitter is able to create API review file for the changes in PR."
⚠️ Failed to generate TypeSpec APIView. Please check the detail log and make sure TypeSpec compiler version is the latest. "How to fix":"Check the detailed log and verify if the TypeSpec emitter is able to create API review file for the changes in PR."
⚠️ Failed to generate TypeSpec APIView. Please check the detail log and make sure TypeSpec compiler version is the latest. "How to fix":"Check the detailed log and verify if the TypeSpec emitter is able to create API review file for the changes in PR."
⚠️ Failed to generate TypeSpec APIView. Please check the detail log and make sure TypeSpec compiler version is the latest. "How to fix":"Check the detailed log and verify if the TypeSpec emitter is able to create API review file for the changes in PR."
️❌ModelValidation: 311 Errors, 0 Warnings failed [Detail]

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

Rule Message
unacceptable kind of an object to dump [object Error] "role":"Model Validation",
"url":"https://github.com/Azure/azure-rest-api-specs/blob/73df454d791166fcebd74c4cab9981e491523cfd/specification/advisor/Advisor.Management/resource-manager/Microsoft.Advisor/stable/2020-01-01/advisor.json"
unacceptable kind of an object to dump [object Error] "role":"Model Validation",
"url":"https://github.com/Azure/azure-rest-api-specs/blob/73df454d791166fcebd74c4cab9981e491523cfd/specification/advisor/Advisor.Management/resources.json"
unacceptable kind of an object to dump [object Error] "role":"Model Validation",
"url":"https://github.com/Azure/azure-rest-api-specs/blob/73df454d791166fcebd74c4cab9981e491523cfd/specification/agrifood/AgFoodPlatform.Management/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/agfood.json"
unacceptable kind of an object to dump [object Error] "role":"Model Validation",
"url":"https://github.com/Azure/azure-rest-api-specs/blob/73df454d791166fcebd74c4cab9981e491523cfd/specification/agrifood/AgFoodPlatform.Management/resources.json"
unacceptable kind of an object to dump [object Error] "role":"Model Validation",
"url":"https://github.com/Azure/azure-rest-api-specs/blob/73df454d791166fcebd74c4cab9981e491523cfd/specification/alertsmanagement/AlertsManagement.Management/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/openapi.json"
unacceptable kind of an object to dump [object Error] "role":"Model Validation",
"url":"https://github.com/Azure/azure-rest-api-specs/blob/73df454d791166fcebd74c4cab9981e491523cfd/specification/alertsmanagement/AlertsManagement.Management/resource-manager/Microsoft.AlertsManagement/stable/2021-08-08/openapi.json"
unacceptable kind of an object to dump [object Error] "role":"Model Validation",
"url":"https://github.com/Azure/azure-rest-api-specs/blob/73df454d791166fcebd74c4cab9981e491523cfd/specification/alertsmanagement/AlertsManagement.Management/resources.json"
unacceptable kind of an object to dump [object Error] "role":"Model Validation",
"url":"https://github.com/Azure/azure-rest-api-specs/blob/73df454d791166fcebd74c4cab9981e491523cfd/specification/analysisservices/Analysis.Management/resource-manager/Microsoft.AnalysisServices/stable/2017-08-01/analysisservices.json"
unacceptable kind of an object to dump [object Error] "role":"Model Validation",
"url":"https://github.com/Azure/azure-rest-api-specs/blob/73df454d791166fcebd74c4cab9981e491523cfd/specification/analysisservices/Analysis.Management/resources.json"
unacceptable kind of an object to dump [object Error] "role":"Model Validation",
"url":"https://github.com/Azure/azure-rest-api-specs/blob/73df454d791166fcebd74c4cab9981e491523cfd/specification/apicenter/ApiCenter.Management/resource-manager/Microsoft.ApiCenter/preview/2023-07-01-preview/apicenter.json"
unacceptable kind of an object to dump [object Error] "role":"Model Validation",
"url":"https://github.com/Azure/azure-rest-api-specs/blob/73df454d791166fcebd74c4cab9981e491523cfd/specification/apicenter/ApiCenter.Management/resources.json"
unacceptable kind of an object to dump [object Error] "role":"Model Validation",
"url":"https://github.com/Azure/azure-rest-api-specs/blob/73df454d791166fcebd74c4cab9981e491523cfd/specification/apimanagement/ApiManagement.Management/resources.json"
unacceptable kind of an object to dump [object Error] "role":"Model Validation",
"url":"https://github.com/Azure/azure-rest-api-specs/blob/73df454d791166fcebd74c4cab9981e491523cfd/specification/app/AppContainers.Management/resource-manager/Microsoft.App/stable/2023-05-01/openapi.json"
unacceptable kind of an object to dump [object Error] "role":"Model Validation",
"url":"https://github.com/Azure/azure-rest-api-specs/blob/73df454d791166fcebd74c4cab9981e491523cfd/specification/app/AppContainers.Management/resources.json"
unacceptable kind of an object to dump [object Error] "role":"Model Validation",
"url":"https://github.com/Azure/azure-rest-api-specs/blob/73df454d791166fcebd74c4cab9981e491523cfd/specification/appcomplianceautomation/AppComplianceAutomation.Management/resource-manager/Microsoft.AppComplianceAutomation/preview/2022-11-16-preview/appcomplianceautomation.json"
unacceptable kind of an object to dump [object Error] "role":"Model Validation",
"url":"https://github.com/Azure/azure-rest-api-specs/blob/73df454d791166fcebd74c4cab9981e491523cfd/specification/appcomplianceautomation/AppComplianceAutomation.Management/resources.json"
unacceptable kind of an object to dump [object Error] "role":"Model Validation",
"url":"https://github.com/Azure/azure-rest-api-specs/blob/73df454d791166fcebd74c4cab9981e491523cfd/specification/appconfiguration/AppConfiguration.Management/resource-manager/Microsoft.AppConfiguration/stable/2022-05-01/appconfiguration.json"
unacceptable kind of an object to dump [object Error] "role":"Model Validation",
"url":"https://github.com/Azure/azure-rest-api-specs/blob/73df454d791166fcebd74c4cab9981e491523cfd/specification/appconfiguration/AppConfiguration.Management/resources.json"
unacceptable kind of an object to dump [object Error] "role":"Model Validation",
"url":"https://github.com/Azure/azure-rest-api-specs/blob/73df454d791166fcebd74c4cab9981e491523cfd/specification/applicationinsights/ApplicationInsights.Management/resources.json"
unacceptable kind of an object to dump [object Error] "role":"Model Validation",
"url":"https://github.com/Azure/azure-rest-api-specs/blob/73df454d791166fcebd74c4cab9981e491523cfd/specification/appplatform/AppPlatform.Management/resources.json"
️❌SemanticValidation: 747 Errors, 0 Warnings failed [Detail]

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

Rule Message
INTERNAL_ERROR Unexpected internal error: ENOENT: no such file or directory, open '/mnt/vss/_work/1/azure-rest-api-specs/specification/advisor/common-types/resource-management/v3/types.json' Error: ENOENT: no such file or directory, open '/mnt/vss/_work/1/azure-rest-api-specs/specification/advisor/common-types/resource-management/v3/types.json'
JsonUrl: Microsoft.Advisor/stable/2020-01-01/advisor.json
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: swagger
JsonUrl: specification/advisor/Advisor.Management/resources.json
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: info
JsonUrl: specification/advisor/Advisor.Management/resources.json
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: paths
JsonUrl: specification/advisor/Advisor.Management/resources.json
OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: Resources
JsonUrl: specification/advisor/Advisor.Management/resources.json
INTERNAL_ERROR Unexpected internal error: ENOENT: no such file or directory, open '/mnt/vss/_work/1/azure-rest-api-specs/specification/agrifood/common-types/resource-management/v3/types.json' Error: ENOENT: no such file or directory, open '/mnt/vss/_work/1/azure-rest-api-specs/specification/agrifood/common-types/resource-management/v3/types.json'
JsonUrl: Microsoft.AgFoodPlatform/preview/2021-09-01-preview/agfood.json
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: swagger
JsonUrl: specification/agrifood/AgFoodPlatform.Management/resources.json
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: info
JsonUrl: specification/agrifood/AgFoodPlatform.Management/resources.json
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: paths
JsonUrl: specification/agrifood/AgFoodPlatform.Management/resources.json
OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: Resources
JsonUrl: specification/agrifood/AgFoodPlatform.Management/resources.json
INTERNAL_ERROR Unexpected internal error: ENOENT: no such file or directory, open '/mnt/vss/_work/1/azure-rest-api-specs/specification/alertsmanagement/common-types/resource-management/v3/types.json' Error: ENOENT: no such file or directory, open '/mnt/vss/_work/1/azure-rest-api-specs/specification/alertsmanagement/common-types/resource-management/v3/types.json'
JsonUrl: Microsoft.AlertsManagement/preview/2019-05-05-preview/openapi.json
INTERNAL_ERROR Unexpected internal error: ENOENT: no such file or directory, open '/mnt/vss/_work/1/azure-rest-api-specs/specification/alertsmanagement/common-types/resource-management/v3/types.json' Error: ENOENT: no such file or directory, open '/mnt/vss/_work/1/azure-rest-api-specs/specification/alertsmanagement/common-types/resource-management/v3/types.json'
JsonUrl: Microsoft.AlertsManagement/stable/2021-08-08/openapi.json
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: swagger
JsonUrl: specification/alertsmanagement/AlertsManagement.Management/resources.json
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: info
JsonUrl: specification/alertsmanagement/AlertsManagement.Management/resources.json
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: paths
JsonUrl: specification/alertsmanagement/AlertsManagement.Management/resources.json
OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: Resources
JsonUrl: specification/alertsmanagement/AlertsManagement.Management/resources.json
INTERNAL_ERROR Unexpected internal error: ENOENT: no such file or directory, open '/mnt/vss/_work/1/azure-rest-api-specs/specification/analysisservices/common-types/resource-management/v3/types.json' Error: ENOENT: no such file or directory, open '/mnt/vss/_work/1/azure-rest-api-specs/specification/analysisservices/common-types/resource-management/v3/types.json'
JsonUrl: Microsoft.AnalysisServices/stable/2017-08-01/analysisservices.json
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: swagger
JsonUrl: specification/analysisservices/Analysis.Management/resources.json
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: info
JsonUrl: specification/analysisservices/Analysis.Management/resources.json
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: paths
JsonUrl: specification/analysisservices/Analysis.Management/resources.json
️🔄PoliCheck inProgress [Detail]
️❌SpellCheck: 36 Errors, 0 Warnings failed [Detail]

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

Rule Message
HowToFix Unknown word (managementgroup), please fix the error. See https://aka.ms/ci-fix#spell-check
path: Microsoft.Authorization/stable/2015-07-01/openapi.json#L4660:10
HowToFix Unknown word (managementgroup), please fix the error. See https://aka.ms/ci-fix#spell-check
path: Microsoft.Authorization/stable/2020-10-01/openapi.json#L4471:10
HowToFix Unknown word (managementgroup), please fix the error. See https://aka.ms/ci-fix#spell-check
path: Microsoft.Authorization/stable/2022-04-01/openapi.json#L4471:10
HowToFix Unknown word (doesn), please fix the error. See https://aka.ms/ci-fix#spell-check
path: specification/batch/Batch.Management/resources.json#L1:3441
HowToFix Unknown word (doesn), please fix the error. See https://aka.ms/ci-fix#spell-check
path: specification/batch/Batch.Management/resources.json#L1:4075
HowToFix Unknown word (Ccfs), please fix the error. See https://aka.ms/ci-fix#spell-check
path: specification/confidentialledger/ConfidentialLedger.Management/resources.json#L1:4723
HowToFix Unknown word (orgvalidate), please fix the error. See https://aka.ms/ci-fix#spell-check
path: Microsoft.Confluent/stable/2021-12-01/confluent.json#L490:134
HowToFix Unknown word (containerd), please fix the error. See https://aka.ms/ci-fix#spell-check
path: Microsoft.ContainerService/stable/2023-10-15/fleets.json#L2331:148
HowToFix Unknown word (containerd), please fix the error. See https://aka.ms/ci-fix#spell-check
path: Microsoft.ContainerService/stable/2023-10-15/fleets.json#L2331:194
HowToFix Unknown word (containerd), please fix the error. See https://aka.ms/ci-fix#spell-check
path: Microsoft.ContainerService/stable/2023-10-15/fleets.json#L2336:484
HowToFix Unknown word (containerd), please fix the error. See https://aka.ms/ci-fix#spell-check
path: Microsoft.ContainerService/stable/2023-10-15/fleets.json#L2336:518
HowToFix Unknown word (Aailability), please fix the error. See https://aka.ms/ci-fix#spell-check
path: specification/cosmos-db/CosmosDB.Management/resources.json#L1:105015
HowToFix Unknown word (Grafanas), please fix the error. See https://aka.ms/ci-fix#spell-check
path: Microsoft.Dashboard/stable/2023-09-01/grafana.json#L46:23
HowToFix Unknown word (Grafanas), please fix the error. See https://aka.ms/ci-fix#spell-check
path: Microsoft.Dashboard/stable/2023-09-01/grafana.json#L94:19
HowToFix Unknown word (Grafanas), please fix the error. See https://aka.ms/ci-fix#spell-check
path: Microsoft.Dashboard/stable/2023-09-01/grafana.json#L133:19
HowToFix Unknown word (Grafanas), please fix the error. See https://aka.ms/ci-fix#spell-check
path: Microsoft.Dashboard/stable/2023-09-01/grafana.json#L175:19
HowToFix Unknown word (Grafanas), please fix the error. See https://aka.ms/ci-fix#spell-check
path: specification/dashboard/Grafana.Management/resources.json#L1:2033
HowToFix Unknown word (dppworkerrequest), please fix the error. See https://aka.ms/ci-fix#spell-check
path: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L5762:68
HowToFix Unknown word (additionalproperties), please fix the error. See https://aka.ms/ci-fix#spell-check
path: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L5762:104
HowToFix Unknown word (Sbom), please fix the error. See https://aka.ms/ci-fix#spell-check
path: specification/fist/IotFirmwareDefense.Management/resources.json#L1:3248
️️✔️Lint(RPaaS) succeeded [Detail]
Rule Message
LintRpaasToolException "details":""stack":"ResolverError: Error reading file \"/mnt/vss/_work/1/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/common-types/resource-management/v3/types.json\"\n at onError (/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.72/common/temp/node_modules/.pnpm/@APIDevTools+json-schema-ref-parser@9.0.9/node_modules/@apidevtools/json-schema-ref-parser/lib/parse.js:92:16)\n at runMicrotasks ()\n at processTicksAndRejections (internal/process/task_queues.js:95:5)",
"code":"ERESOLVER",
"message":"Error reading file \"/mnt/vss/_work/1/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/common-types/resource-management/v3/types.json\"",
"source":"/mnt/vss/_work/1/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/common-types/resource-management/v3/types.json",
"path":null,
"name":"ResolverError",
"footprint":"null+/mnt/vss/_work/1/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/common-types/resource-management/v3/types.json+ERESOLVER+Error reading file \"/mnt/vss/_work/1/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/common-types/resource-management/v3/types.json\"""
️❌PR Summary: 0 Errors, 0 Warnings failed [Detail]
️️✔️Automated merging requirements met succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app bot commented Jan 22, 2024

Swagger Generation Artifacts

️❌ApiDocPreview: 1 Errors, 0 Warnings failed [Detail]
Rule Message
RestBuild error "logUrl":"https://apidrop.visualstudio.com/Content%20CI/_build/results?buildId=409390&view=logs&j=fd490c07-0b22-5182-fac9-6d67fe1e939b",
"detail":"Run.ps1 failed with exit code 1 "
️️✔️SDK Breaking Change Tracking succeeded [Detail] [Expand]

Breaking Changes Tracking

️🔄 $(sdkName) inProgress [Detail]
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app bot commented Jan 22, 2024

Generated ApiView

Language Package Name ApiView Link
Swagger Microsoft.ContainerService https://apiview.dev/Assemblies/Review/71d5cd3d2d1c46b59eabc692899ea0b4?revisionId=a464051321de4240bf3e51b2e528fa2f

Copy link

Hi @dvbb This PR was flagged for attempting to introduce a new RP namespace to the main branch without first merging the new RP to the RPSaaSMaster branch. Please add the new RP in a merge to RPSaaSMaster before continuing the merge to main.

Copy link

PR validation pipeline can not start as the pull request is not merged or mergeable - most likely it has merge conflicts.

Copy link

PR validation pipeline can not start as the pull request is not merged or mergeable - most likely it has merge conflicts.

Copy link

PR validation pipeline can not start as the pull request is not merged or mergeable - most likely it has merge conflicts.

Copy link

PR validation pipeline can not start as the pull request is not merged or mergeable - most likely it has merge conflicts.

Copy link

PR validation pipeline can not start as the pull request is not merged or mergeable - most likely it has merge conflicts.

Copy link

PR validation pipeline can not start as the pull request is not merged or mergeable - most likely it has merge conflicts.

Copy link

PR validation pipeline can not start as the pull request is not merged or mergeable - most likely it has merge conflicts.

Copy link

PR validation pipeline can not start as the pull request is not merged or mergeable - most likely it has merge conflicts.

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

Successfully merging this pull request may close these issues.

2 participants