Azure / Azure/azure-sdk-tools

Breaking Change checks: AutoRest Runtime error: `ERROR: Syntax error: missed comma between flow collection entries`

Open
#7,833 0 comments 0 reactions 1 assignee Claimed by @konrad-jamrozik View on GitHub
Breaking Changes Central-EngSys Spec PR Tools
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
143

Description

https://github.com/Azure/azure-rest-api-specs/pull/27789/checks?check_run_id=22266212679

This `subscriptions.json` spec may be malformed. It causes `ERROR: Syntax error: missed comma between flow collection entries` as seen in https://github.com/Azure/azure-rest-api-specs/pull/27789/checks?check_run_id=22266212679

I found this about the error:
- https://stackoverflow.com/questions/63820011/missed-comma-between-flow-collection-entries-when-using-fngetatt-in-yaml
- https://talk.remobjects.com/t/swagger-formatting-error-missed-comma-between-flow-collection-entries/27095/2

My comment on `subscriptions.json`:
- https://github.com/Azure/azure-rest-api-specs/pull/27789/files#r1515494252

It might be an issue with AutoRest itself, not the spec.

Possibly fixed by migrating AutoRest to --v3. At least it may improve the error message:

- https://github.com/Azure/openapi-diff/issues/294

Related issue aggregator:
- https://github.com/Azure/azure-sdk-tools/issues/6169

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.