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

Error contains no link to Problem line in Swagger #238

Open
Selekena opened this issue Aug 15, 2022 · 2 comments
Open

Error contains no link to Problem line in Swagger #238

Selekena opened this issue Aug 15, 2022 · 2 comments

Comments

@Selekena
Copy link

Validation failure does not contain the problem line of code in the link. It opens the top of the file instead.

title: 'No potential breaking changes',
summary: 'Compared to the target branch (main), this pull request introduces:\n' +
'\n' +
'   :white_check_mark:   0 new errors\n' +
'\n' +
'   :white_check_mark:   0 new warnings\n' +
'\n',
text: '### The following files look to be newly added in this PR:\n' +
'* specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/preview/2022-08-07/iotdps.json\n'](https://github.com/Azure/azure-rest-api-specs/blob/e57017bcbb5450d587bbbb316ea30ad71af706af/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/preview/2022-08-07/iotdps.json)/n') +
'

\n' +
'There were no files containing new errors or warnings.\n' +
'\n' +
'

\n' +
'Thanks for using breaking change tool to review.\n' +
'If you encounter any issue(s), please open issue(s) at https://github.com/Azure/openapi-diff/issues.'
}

@jianyexi
Copy link
Contributor

could you give more detail? like the PR link or pipeline run history

@Selekena
Copy link
Author

Unfortunately, I did a branch reset and have subsequently lost all that history.

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

No branches or pull requests

2 participants