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

add stable API 2024-02-01 for GA #27360

Merged
merged 5 commits into from
Jan 29, 2024

fix Swagger Avocado check

20c63d6
Select commit
Loading
Failed to load commit list.
Merged

add stable API 2024-02-01 for GA #27360

fix Swagger Avocado check
20c63d6
Select commit
Loading
Failed to load commit list.
openapi-pipeline-app / Breaking Change(Cross-Version) completed Jan 22, 2024 in 4m 18s

Breaking Change(Cross-Version) failed

CrossVersionBreakingChange: 17 Errors, 1 Warnings
The check status is neutral due to the check being suppressed by label Approved-BreakingChange.
View Azure DevOps build log for more details.

Important

To see the full list of breaking change messages, with all the details available:
In the relevant ADO build (see the link above), find the job CrossVersionBreakingChange, then the task within, also called CrossVersionBreakingChange.
In the task's build log, search for Full list of messages.

Details

compared swaggers (via Oad v0.10.4)] new version base version
devcenter.json 2024-02-01(20c63d6) 2023-04-01(main)
devcenter.json 2024-02-01(20c63d6) 2023-10-01-preview(main)
environments.json 2024-02-01(20c63d6) 2023-04-01(main)
environments.json 2024-02-01(20c63d6) 2023-10-01-preview(main)

The following breaking changes have been detected in comparison to the latest stable version

Runtime Exception

Displaying 1 out of 1 occurrences.

Index Description
1 "new":"https://github.com/Azure/azure-rest-api-specs/blob/20c63d639e495a108f2a500a9b0050fdb42e64c4/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2024-02-01/devbox.json",
"old":"https://github.com/Azure/azure-rest-api-specs/blob/main/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/devbox.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[email protected]/node_modules/autorest/dist/app.js" --v2 --input-file=/mnt/vss/_work/1/cross-version-c93b354fd9c14905bb574a8834c4d69b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/devbox.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=old --output-folder=/tmp
--------------------
2: ERROR: Schema violation: No enum match for: operation-location
--------------------
3: - file:///mnt/vss/_work/1/cross-version-c93b354fd9c14905bb574a8834c4d69b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/devbox.json:715:10 ($.paths["/projects/projectName/users/userId/devboxes/devBoxName:restart"].post["x-ms-long-running-operation-options"]["final-state-via"])
--------------------
4: ERROR: Schema violation: No enum match for: operation-location
--------------------
5: - file:///mnt/vss/_work/1/cross-version-c93b354fd9c14905bb574a8834c4d69b/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2023-04-01/devbox.json:657:10 ($.paths["/projects/projectName/users/userId/devboxes/devBoxName:stop"].post["x-ms-long-running-operation-options"]["final-state-via"])
--------------------
6: ERROR: Schema violation: No enum match for: operation-location
--------------------"

1034 - AddedRequiredProperty

Displaying 15 out of 15 occurrences.

Index Description
1 The new version has new required property 'uri' that was not found in the old version.
New: Microsoft.DevCenter/stable/2024-02-01/devcenter.json#L104:13
Old: Microsoft.DevCenter/stable/2023-04-01/devcenter.json#L104:13
2 The new version has new required property 'uri' that was not found in the old version.
New: Microsoft.DevCenter/stable/2024-02-01/devcenter.json#L131:11
Old: Microsoft.DevCenter/stable/2023-04-01/devcenter.json#L131:11
3 The new version has new required property 'uri' that was not found in the old version.
New: Microsoft.DevCenter/stable/2024-02-01/devcenter.json#L144:5
Old: Microsoft.DevCenter/stable/2023-04-01/devcenter.json#L144:5
4 The new version has new required property 'uri' that was not found in the old version.
New: Microsoft.DevCenter/stable/2024-02-01/devcenter.json#L147:7
Old: Microsoft.DevCenter/stable/2023-04-01/devcenter.json#L147:7
5 The new version has new required property 'uri' that was not found in the old version.
New: Microsoft.DevCenter/stable/2024-02-01/environments.json#L1005:13
Old: Microsoft.DevCenter/stable/2023-04-01/environments.json#L529:13
6 The new version has new required property 'uri' that was not found in the old version.
New: Microsoft.DevCenter/stable/2024-02-01/environments.json#L1360:11
Old: Microsoft.DevCenter/stable/2023-04-01/environments.json#L705:11
7 The new version has new required property 'uri' that was not found in the old version.
New: Microsoft.DevCenter/stable/2024-02-01/environments.json#L1373:5
Old: Microsoft.DevCenter/stable/2023-04-01/environments.json#L718:5
8 The new version has new required property 'uri' that was not found in the old version.
New: Microsoft.DevCenter/stable/2024-02-01/environments.json#L1376:7
Old: Microsoft.DevCenter/stable/2023-04-01/environments.json#L721:7
9 The new version has new required property 'uri' that was not found in the old version.
New: Microsoft.DevCenter/stable/2024-02-01/environments.json#L1398:11
Old: Microsoft.DevCenter/stable/2023-04-01/environments.json#L738:11
10 The new version has new required property 'uri' that was not found in the old version.
New: Microsoft.DevCenter/stable/2024-02-01/environments.json#L1411:5
Old: Microsoft.DevCenter/stable/2023-04-01/environments.json#L751:5
11 The new version has new required property 'uri' that was not found in the old version.
New: Microsoft.DevCenter/stable/2024-02-01/environments.json#L1414:7
Old: Microsoft.DevCenter/stable/2023-04-01/environments.json#L754:7
12 The new version has new required property 'uri' that was not found in the old version.
New: Microsoft.DevCenter/stable/2024-02-01/environments.json#L1513:11
Old: Microsoft.DevCenter/stable/2023-04-01/environments.json#L848:11
13 The new version has new required property 'uri' that was not found in the old version.
New: Microsoft.DevCenter/stable/2024-02-01/environments.json#L1526:5
Old: Microsoft.DevCenter/stable/2023-04-01/environments.json#L861:5
14 The new version has new required property 'uri' that was not found in the old version.
New: Microsoft.DevCenter/stable/2024-02-01/environments.json#L1529:7
Old: Microsoft.DevCenter/stable/2023-04-01/environments.json#L864:7
15 The new version has new required property 'uri' that was not found in the old version.
New: Microsoft.DevCenter/stable/2024-02-01/environments.json#L858:13
Old: Microsoft.DevCenter/stable/2023-04-01/environments.json#L382:13

⚠️ 1032 - DifferentAllOf

Displaying 1 out of 1 occurrences.

Index Description
1 The new version has a different 'allOf' property than the previous one.
New: Microsoft.DevCenter/stable/2024-02-01/environments.json#L1079:5
Old: Microsoft.DevCenter/stable/2023-04-01/environments.json#L603:5

💬 1038 - AddedPath

Displaying 8 out of 8 occurrences.

Index Description
1 The new version is adding a path that was not found in the old version.
New: Microsoft.DevCenter/stable/2024-02-01/environments.json#L371:5
2 The new version is adding a path that was not found in the old version.
New: Microsoft.DevCenter/stable/2024-02-01/environments.json#L419:5
3 The new version is adding a path that was not found in the old version.
New: Microsoft.DevCenter/stable/2024-02-01/environments.json#L477:5
4 The new version is adding a path that was not found in the old version.
New: Microsoft.DevCenter/stable/2024-02-01/environments.json#L529:5
5 The new version is adding a path that was not found in the old version.
New: Microsoft.DevCenter/stable/2024-02-01/environments.json#L584:5
6 The new version is adding a path that was not found in the old version.
New: Microsoft.DevCenter/stable/2024-02-01/environments.json#L636:5
7 The new version is adding a path that was not found in the old version.
New: Microsoft.DevCenter/stable/2024-02-01/environments.json#L687:5
8 The new version is adding a path that was not found in the old version.
New: Microsoft.DevCenter/stable/2024-02-01/environments.json#L735:5

💬 1039 - AddedOperation

Displaying 1 out of 1 occurrences.

Index Description
1 The new version is adding an operation that was not found in the old version.
New: Microsoft.DevCenter/stable/2024-02-01/environments.json#L256:7

💬 1040 - AddedReadOnlyPropertyInResponse

Displaying 1 out of 1 occurrences.

Index Description
1 The new version has a new read-only property 'uri' in response that was not found in the old version.
New: Microsoft.DevCenter/stable/2024-02-01/environments.json#L1113:7
Old: Microsoft.DevCenter/stable/2023-04-01/environments.json#L621:7

💬 1041 - AddedPropertyInResponse

Displaying 3 out of 3 occurrences.

Index Description
1 The new version has a new property 'displayName' in response that was not found in the old version.
New: Microsoft.DevCenter/stable/2024-02-01/devcenter.json#L147:7
Old: Microsoft.DevCenter/stable/2023-04-01/devcenter.json#L147:7
2 The new version has a new property 'displayName' in response that was not found in the old version.
New: Microsoft.DevCenter/stable/2024-02-01/environments.json#L1529:7
Old: Microsoft.DevCenter/stable/2023-04-01/environments.json#L864:7
3 The new version has a new property 'expirationDate' in response that was not found in the old version.
New: Microsoft.DevCenter/stable/2024-02-01/environments.json#L1113:7
Old: Microsoft.DevCenter/stable/2023-04-01/environments.json#L621:7

💬 1045 - AddedOptionalProperty

Displaying 2 out of 2 occurrences.

Index Description
1 The new version has a new optional property 'expirationDate' that was not found in the old version.
New: Microsoft.DevCenter/stable/2024-02-01/environments.json#L1113:7
Old: Microsoft.DevCenter/stable/2023-04-01/environments.json#L621:7
2 The new version has a new optional property 'uri' that was not found in the old version.
New: Microsoft.DevCenter/stable/2024-02-01/environments.json#L1113:7
Old: Microsoft.DevCenter/stable/2023-04-01/environments.json#L621:7

The following breaking changes have been detected in comparison to the latest preview version

Runtime Exception

Displaying 1 out of 1 occurrences.

Index Description
1 "new":"https://github.com/Azure/azure-rest-api-specs/blob/20c63d639e495a108f2a500a9b0050fdb42e64c4/specification/devcenter/data-plane/Microsoft.DevCenter/stable/2024-02-01/devbox.json",
"old":"https://github.com/Azure/azure-rest-api-specs/blob/main/specification/devcenter/data-plane/Microsoft.DevCenter/preview/2023-10-01-preview/devbox.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[email protected]/node_modules/autorest/dist/app.js" --v2 --input-file=/mnt/vss/_work/1/cross-version-c93b354fd9c14905bb574a8834c4d69b/specification/devcenter/data-plane/Microsoft.DevCenter/preview/2023-10-01-preview/devbox.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=old --output-folder=/tmp
--------------------
2: ERROR: Schema violation: No enum match for: operation-location
--------------------
3: - file:///mnt/vss/_work/1/cross-version-c93b354fd9c14905bb574a8834c4d69b/specification/devcenter/data-plane/Microsoft.DevCenter/preview/2023-10-01-preview/devbox.json:974:10 ($.paths["/projects/projectName/users/userId/devboxes/devBoxName:repair"].post["x-ms-long-running-operation-options"]["final-state-via"])
--------------------
4: ERROR: Schema violation: No enum match for: operation-location
--------------------
5: - file:///mnt/vss/_work/1/cross-version-c93b354fd9c14905bb574a8834c4d69b/specification/devcenter/data-plane/Microsoft.DevCenter/preview/2023-10-01-preview/devbox.json:916:10 ($.paths["/projects/projectName/users/userId/devboxes/devBoxName:restart"].post["x-ms-long-running-operation-options"]["final-state-via"])
--------------------
6: ERROR: Schema violation: No enum match for: operation-location
--------------------"