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

[Test go automation-v2] swagger #3412

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Merge branch 'main' into test_swagger_automation_0717

d6e946e
Select commit
Loading
Failed to load commit list.
Open

[Test go automation-v2] swagger #3412

Merge branch 'main' into test_swagger_automation_0717
d6e946e
Select commit
Loading
Failed to load commit list.
openapi-pipeline-app-test / Swagger BreakingChange failed Aug 7, 2024 in 4m 4s

Check `Swagger BreakingChange` detected problems

Detected: 1 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.13) new version base version
apicenter.json 2024-03-15-preview(d6e946e) 2024-03-15-preview(main)

Runtime Exception

Displaying 1 out of 1 occurrences.

Index Description
1 "new":"https://github.com/test-repo-billy/azure-rest-api-specs/blob/d6e946e860b5d50e45ce71b4cc5dcf73e7778994/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.463/common/temp/node_modules/.pnpm/@Azure+oad@0.10.13/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-e79z8j
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')"

💬 1001 - NoVersionChange

Displaying 1 out of 1 occurrences.

Index Description
1 The versions have not changed.
New: Microsoft.ApiCenter/preview/2024-03-15-preview/apicenter.json#L1:1
Old: Microsoft.ApiCenter/preview/2024-03-15-preview/apicenter.json#L1:1