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

[suppression test] data factory #3256

Closed
wants to merge 15 commits into from

Merge branch 'main' into jacktn/bug-suppressions

34317ed
Select commit
Loading
Failed to load commit list.
Closed

[suppression test] data factory #3256

Merge branch 'main' into jacktn/bug-suppressions
34317ed
Select commit
Loading
Failed to load commit list.
openapi-pipeline-app-test / Swagger BreakingChange failed Apr 24, 2024 in 3m 59s

Check `Swagger BreakingChange` detected problems

Detected: 3 Errors, 0 Warnings
View Azure DevOps build log for more details.

Important

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

Details

Compared specs (v0.10.8) new version base version
servicelinker.json 2022-05-01(34317ed) 2022-05-01(main)

Runtime Exception

Displaying 2 out of 2 occurrences.

Index Description
1 "new":"https://github.com/test-repo-billy/azure-rest-api-specs/blob/34317edabeb393a5161b00ffda2f90d9ed2a0330/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json",
"old":"https://github.com/test-repo-billy/azure-rest-api-specs/blob/main/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json",
"details":"incompatible properties : properties\n definitions/ManagedIdentityCredentialResource/properties/properties\n at file:///mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L7683:8\n definitions/CredentialResource/properties/properties\n at file:///mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L7983:8"
2 "new":"https://github.com/test-repo-billy/azure-rest-api-specs/blob/34317edabeb393a5161b00ffda2f90d9ed2a0330/specificationRepositoryConfiguration.json",
"old":"https://github.com/test-repo-billy/azure-rest-api-specs/blob/main/specificationRepositoryConfiguration.json",
"details":"Breaking change detector (OAD) invoked AutoRest. AutoRest threw a runtime error. First 20 lines of stack trace follow,
indexed. First line should contain AutoRest command line invocation details. Remaining lines should contain the main message reported by AutoRest.
====================
1: Command failed: node "/mnt/vss/_work/_tasks/AzureApiValidationTest_1a18ed4f-f3bf-4f34-9fed-13cb57bd2410/0.0.428/common/temp/node_modules/.pnpm/@Azure[email protected]/node_modules/autorest/dist/app.js" --v2 --input-file=/mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specificationRepositoryConfiguration.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=old --output-folder=/tmp/oad-kZRswl
2: FATAL: swagger-document/loader - FAILED
3: FATAL: Error: File 'file:///mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specificationRepositoryConfiguration.json' is not a valid OpenAPI 2.0 definition (expected 'swagger: 2.0')
4: Error: File 'file:///mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specificationRepositoryConfiguration.json' is not a valid OpenAPI 2.0 definition (expected 'swagger: 2.0')"

1035 - RemovedOperation

Displaying 1 out of 1 occurrences.

Index Description
1 The new version is missing an operation that was found in the old version. Was operationId 'Linker_Delete' removed or restructured?
New: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L74:5
Old: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L74:5

💬 1001 - NoVersionChange

Displaying 1 out of 1 occurrences.

Index Description
1 The versions have not changed.
New: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L1:1
Old: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L1:1