Open markcowl opened 3 months ago
I am facing same issue: https://github.com/Azure/azure-rest-api-specs/pull/29961
I'm facing the same issue on my PR https://github.com/Azure/azure-rest-api-specs-pr/pull/19036
Facing same issue in https://github.com/Azure/azure-rest-api-specs-pr/pull/18985
Facing the same issue in https://github.com/Azure/azure-rest-api-specs-pr/pull/18871
facing the same issue: https://github.com/Azure/azure-rest-api-specs-pr/pull/19088
Same issue here: https://github.com/Azure/azure-rest-api-specs/pull/30271
I am facing same issue https://github.com/Azure/azure-rest-api-specs/pull/30293
how to suppress this issue or make it optional ?
Fixed by #729
Fix #729 requires the path after the last .
to contain an even number of path segments:
Which fixed cases like this:
However, we have an example of a spec with an odd number of path segments instead:
Should the rule be fixed to allow this path? Or is the rule correct, and the spec should be updated to use an even number of path segments?
Describe the bug The BodyTopLevelProperties check is incorrectly flagging the response in List operations, which rturn a page of data as if they were resource GET operations. There are several examples in this PR: https://github.com/Azure/azure-rest-api-specs-pr/pull/18696 To Reproduce Steps to reproduce the behavior: Create list operations like: https://github.com/Azure/azure-rest-api-specs-pr/blob/a6bade603572212620a6cbb906f400e19d899b1b/specification/edge/resource-manager/Microsoft.Edge/configurationmanager/preview/2024-06-01-preview/configurationmanager.json#L62-L99
Expected behavior This check should not be applied to list operations at all - in ARM specs, having an odd number of PATH segments and a last segment that is not a path variable should prevent the rule from being applied
Screenshots See the link above.
Desktop (please complete the following information): n/a, this occurs in CI
Additional context