googleapis / api-linter

A linter for APIs defined in protocol buffers.
https://linter.aip.dev/
Apache License 2.0
600 stars 144 forks source link

feat: remove legacy list revisions rules #1348

Closed noahdietz closed 9 months ago

noahdietz commented 9 months ago

With AIP-162 moving towards a new design that is incompatible with the previous (known as "legacy" from here on), the same rules for List Revisions APIs no longer apply, and directly conflict with Standard List APIs. All of the legacy list revisions rules are deleted.

Now, instead of excluding List{Resource}Revisions methods from the scope of Standard List methods, we will exclude legacy list revision methods from the scope of Standard List. Legacy methods are identified as follows:

Note: If the RPC does not have a google.api.http binding to check for the suffix, fulfilling the first two aspects will be sufficient to identify a legacy method.

This means that all "new" list revisions methods will adhere to Standard List structure AIP-132.

Addresses internal bug