Azure / Azure/azure-sdk-tools

[LintDiff] The `where: $.paths` clause is not working when suppressing `OperationsAPIImplementation`

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

Description

We can suppress `OperationsAPIImplementation` if we do not provide `where: $.paths`. But this is over-suppressing, we need to figure out correct `where:` syntax. Especially that this syntax appears to be used in many suppressions which presumably do not work (or if they work: how is it possible?).

- [Relevant Teams discussion](https://teams.microsoft.com/l/message/19:f6d52ac6465c40ea80dc86b8be3825aa@thread.skype/1692728949933?tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47&groupId=3e17dcb0-4257-4a30-b843-77f47f1d4121&parentMessageId=1692133082111&teamName=Azure%20SDK&channelName=General&createdTime=1692728949933)
- Relevant PR: https://github.com/Azure/azure-rest-api-specs/pull/25270
- [Rule `OperationsAPIImplementation` description](https://github.com/Azure/azure-rest-api-specs/blob/main/documentation/openapi-authoring-automated-guidelines.md#r3023)
- Possible pointers [on how to fix](https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/828/How-to-suppress-validation-rules?anchor=troubleshooting-suppressions-not-working).

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.