-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[WIP] Add Flex Consumption Swagger Spec #26990
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
Conversation
Next Steps to MergeNext steps that must be taken to merge this PR:
|
Swagger Validation Report
|
compared swaggers (via Oad v0.10.4)] | new version | base version |
---|---|---|
CommonDefinitions.json | 2024-01-01(563ba16) | 2023-01-01(main) |
DeletedWebApps.json | 2024-01-01(563ba16) | 2023-01-01(main) |
Diagnostics.json | 2024-01-01(563ba16) | 2023-01-01(main) |
Global.json | 2024-01-01(563ba16) | 2023-01-01(main) |
Provider.json | 2024-01-01(563ba16) | 2023-01-01(main) |
Recommendations.json | 2024-01-01(563ba16) | 2023-01-01(main) |
ResourceHealthMetadata.json | 2024-01-01(563ba16) | 2023-01-01(main) |
ResourceProvider.json | 2024-01-01(563ba16) | 2023-01-01(main) |
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/563ba1682afa64929d7d3c8e4e25dd23c34e565d/specification/web/resource-manager/Microsoft.Web/stable/2024-01-01/AppServiceEnvironments.json", "old":"https://github.com/Azure/azure-rest-api-specs/blob/main/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/AppServiceEnvironments.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.66/common/temp/node_modules/.pnpm/@Azure[email protected]/node_modules/autorest/dist/app.js" --v2 --input-file=specification/web/resource-manager/Microsoft.Web/stable/2024-01-01/AppServiceEnvironments.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=new --output-folder=/tmp -------------------- 2: FATAL: swagger-document/loader - FAILED -------------------- 3: FATAL: Error: Error retrieving '$.definitions.FunctionAppConfig' (Error: Trying to retrieve 'FunctionAppConfig' from mapping that contains no such key) -------------------- 4: Error: Error retrieving '$.definitions.FunctionAppConfig' (Error: Trying to retrieve 'FunctionAppConfig' from mapping that contains no such key) --------------------" |
Runtime Exception |
"new":"https://github.com/Azure/azure-rest-api-specs/blob/563ba1682afa64929d7d3c8e4e25dd23c34e565d/specification/web/resource-manager/Microsoft.Web/stable/2024-01-01/AppServicePlans.json", "old":"https://github.com/Azure/azure-rest-api-specs/blob/main/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/AppServicePlans.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.66/common/temp/node_modules/.pnpm/@Azure[email protected]/node_modules/autorest/dist/app.js" --v2 --input-file=specification/web/resource-manager/Microsoft.Web/stable/2024-01-01/AppServicePlans.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=new --output-folder=/tmp -------------------- 2: FATAL: swagger-document/loader - FAILED -------------------- 3: FATAL: Error: Error retrieving '$.definitions.FunctionAppConfig' (Error: Trying to retrieve 'FunctionAppConfig' from mapping that contains no such key) -------------------- 4: Error: Error retrieving '$.definitions.FunctionAppConfig' (Error: Trying to retrieve 'FunctionAppConfig' from mapping that contains no such key) --------------------" |
Runtime Exception |
"new":"https://github.com/Azure/azure-rest-api-specs/blob/563ba1682afa64929d7d3c8e4e25dd23c34e565d/specification/web/resource-manager/Microsoft.Web/stable/2024-01-01/Certificates.json", "old":"https://github.com/Azure/azure-rest-api-specs/blob/main/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/Certificates.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.66/common/temp/node_modules/.pnpm/@Azure[email protected]/node_modules/autorest/dist/app.js" --v2 --input-file=specification/web/resource-manager/Microsoft.Web/stable/2024-01-01/Certificates.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=new --output-folder=/tmp -------------------- 2: FATAL: swagger-document/loader - FAILED -------------------- 3: FATAL: Error: Error retrieving '$.definitions.FunctionAppConfig' (Error: Trying to retrieve 'FunctionAppConfig' from mapping that contains no such key) -------------------- 4: Error: Error retrieving '$.definitions.FunctionAppConfig' (Error: Trying to retrieve 'FunctionAppConfig' from mapping that contains no such key) --------------------" |
Runtime Exception |
"new":"https://github.com/Azure/azure-rest-api-specs/blob/563ba1682afa64929d7d3c8e4e25dd23c34e565d/specification/web/resource-manager/Microsoft.Web/stable/2024-01-01/ContainerApps.json", "old":"https://github.com/Azure/azure-rest-api-specs/blob/main/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/ContainerApps.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.66/common/temp/node_modules/.pnpm/@Azure[email protected]/node_modules/autorest/dist/app.js" --v2 --input-file=specification/web/resource-manager/Microsoft.Web/stable/2024-01-01/ContainerApps.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=new --output-folder=/tmp -------------------- 2: FATAL: swagger-document/loader - FAILED -------------------- 3: FATAL: Error: Error retrieving '$.definitions.FunctionAppConfig' (Error: Trying to retrieve 'FunctionAppConfig' from mapping that contains no such key) -------------------- 4: Error: Error retrieving '$.definitions.FunctionAppConfig' (Error: Trying to retrieve 'FunctionAppConfig' from mapping that contains no such key) --------------------" |
Runtime Exception |
"new":"https://github.com/Azure/azure-rest-api-specs/blob/563ba1682afa64929d7d3c8e4e25dd23c34e565d/specification/web/resource-manager/Microsoft.Web/stable/2024-01-01/ContainerAppsRevisions.json", "old":"https://github.com/Azure/azure-rest-api-specs/blob/main/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/ContainerAppsRevisions.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.66/common/temp/node_modules/.pnpm/@Azure[email protected]/node_modules/autorest/dist/app.js" --v2 --input-file=specification/web/resource-manager/Microsoft.Web/stable/2024-01-01/ContainerAppsRevisions.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=new --output-folder=/tmp -------------------- 2: FATAL: swagger-document/loader - FAILED -------------------- 3: FATAL: Error: Error retrieving '$.definitions.FunctionAppConfig' (Error: Trying to retrieve 'FunctionAppConfig' from mapping that contains no such key) -------------------- 4: Error: Error retrieving '$.definitions.FunctionAppConfig' (Error: Trying to retrieve 'FunctionAppConfig' from mapping that contains no such key) --------------------" |
Runtime Exception |
"new":"https://github.com/Azure/azure-rest-api-specs/blob/563ba1682afa64929d7d3c8e4e25dd23c34e565d/specification/web/resource-manager/Microsoft.Web/stable/2024-01-01/KubeEnvironments.json", "old":"https://github.com/Azure/azure-rest-api-specs/blob/main/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/KubeEnvironments.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.66/common/temp/node_modules/.pnpm/@Azure[email protected]/node_modules/autorest/dist/app.js" --v2 --input-file=specification/web/resource-manager/Microsoft.Web/stable/2024-01-01/KubeEnvironments.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=new --output-folder=/tmp -------------------- 2: FATAL: swagger-document/loader - FAILED -------------------- 3: FATAL: Error: Error retrieving '$.definitions.FunctionAppConfig' (Error: Trying to retrieve 'FunctionAppConfig' from mapping that contains no such key) -------------------- 4: Error: Error retrieving '$.definitions.FunctionAppConfig' (Error: Trying to retrieve 'FunctionAppConfig' from mapping that contains no such key) --------------------" |
Runtime Exception |
"new":"https://github.com/Azure/azure-rest-api-specs/blob/563ba1682afa64929d7d3c8e4e25dd23c34e565d/specification/web/resource-manager/Microsoft.Web/stable/2024-01-01/StaticSites.json", "old":"https://github.com/Azure/azure-rest-api-specs/blob/main/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/StaticSites.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.66/common/temp/node_modules/.pnpm/@Azure[email protected]/node_modules/autorest/dist/app.js" --v2 --input-file=specification/web/resource-manager/Microsoft.Web/stable/2024-01-01/StaticSites.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=new --output-folder=/tmp -------------------- 2: FATAL: swagger-document/loader - FAILED -------------------- 3: FATAL: Error: Error retrieving '$.definitions.FunctionAppConfig' (Error: Trying to retrieve 'FunctionAppConfig' from mapping that contains no such key) -------------------- 4: Error: Error retrieving '$.definitions.FunctionAppConfig' (Error: Trying to retrieve 'FunctionAppConfig' from mapping that contains no such key) --------------------" |
Runtime Exception |
"new":"https://github.com/Azure/azure-rest-api-specs/blob/563ba1682afa64929d7d3c8e4e25dd23c34e565d/specification/web/resource-manager/Microsoft.Web/stable/2024-01-01/WebApps.json", "old":"https://github.com/Azure/azure-rest-api-specs/blob/main/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/WebApps.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.66/common/temp/node_modules/.pnpm/@Azure[email protected]/node_modules/autorest/dist/app.js" --v2 --input-file=specification/web/resource-manager/Microsoft.Web/stable/2024-01-01/WebApps.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=new --output-folder=/tmp -------------------- 2: FATAL: swagger-document/loader - FAILED -------------------- 3: FATAL: Error: Error retrieving '$.definitions.FunctionAppConfig' (Error: Trying to retrieve 'FunctionAppConfig' from mapping that contains no such key) -------------------- 4: Error: Error retrieving '$.definitions.FunctionAppConfig' (Error: Trying to retrieve 'FunctionAppConfig' from mapping that contains no such key) --------------------" |
️️✔️
CredScan succeeded [Detail] [Expand]
There is no credential detected.
️️✔️
LintDiff succeeded [Detail] [Expand]
Validation passes for LintDiff.
compared tags (via openapi-validator v2.1.6) | new version | base version |
---|---|---|
default | default(563ba16) | default(main) |
️❌
Avocado: 295 Errors, 0 Warnings failed [Detail]
Only 30 items are listed, please refer to log for more details.
️️✔️
SwaggerAPIView succeeded [Detail] [Expand]
️️✔️
TypeSpecAPIView succeeded [Detail] [Expand]
️❌
ModelValidation: 30 Errors, 0 Warnings failed [Detail]
️❌
SemanticValidation: 16 Errors, 0 Warnings failed [Detail]
️️✔️
PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️️✔️
SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️
Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️
PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
️️✔️
Automated merging requirements met succeeded [Detail] [Expand]
Swagger Generation Artifacts
|
Rule | Message |
---|
️️✔️
SDK Breaking Change Tracking succeeded [Detail] [Expand]
Only 0 items are rendered, please refer to log for more details.
️❌
azure-sdk-for-net-track2 failed [Detail]
Only 0 items are rendered, please refer to log for more details.
️⚠️
azure-sdk-for-python-track2 warning [Detail]
Only 0 items are rendered, please refer to log for more details.
️⚠️
azure-sdk-for-java warning [Detail]
Only 0 items are rendered, please refer to log for more details.
️️✔️
azure-sdk-for-go succeeded [Detail] [Expand]
Only 0 items are rendered, please refer to log for more details.
️️✔️
azure-sdk-for-js succeeded [Detail] [Expand]
Only 0 items are rendered, please refer to log for more details.
️🔄
azure-resource-manager-schemas inProgress [Detail]
️❌
azure-powershell failed [Detail]
Only 0 items are rendered, please refer to log for more details.
Generated ApiView
|
Hi @davidmrdavid! For review efficiency consideration, when creating a new API version, it is required to place API specs of the base version in the first commit, and push new version updates into successive commits. You can use OpenAPIHub to initialize the PR for adding a new version. |
Closing in favor of : #26994 |
ARM (Control Plane) API Specification Update Pull Request
PR review workflow diagram
Please understand this diagram before proceeding. It explains how to get your PR approved & merged.
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:
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)
ARMReview
label.Click here to see the diagram footnotes
Diagram footnotes
[1] ARM review queue (for merge queues, see [2])
The PRs are processed by time opened, ascending. Your PR may show up on 2nd or later page.
If you addressed Step 1 from the diagram and your PR is not showing up in the queue, ensure the label
ARMChangesRequested
is removed from your PR. This should cause the label
WaitForARMFeedback
to be added.[2] public repo merge queue, private repo merge queue (for ARM review queue, [1])
If you need further help with anything, see
Getting help
section below.Purpose of this PR
What's the purpose of this PR? Check all that apply. This is mandatory!
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:
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
Swagger-Suppression-Process
to get approval.
Getting help
Purpose of this PR
andDue diligence checklist
.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.and https://aka.ms/ci-fix.
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.