googleapis / api-linter

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

request_id should be allowed on all standard method request messages #1311

Closed noahdietz closed 8 months ago

noahdietz commented 9 months ago

AIP-155 states that standard method request message may include a string request_id field. However, rules for Standard Get and Standard List do not allow it. While idempotency concerns for Get/List may not be common, it seems reasonable to allow such methods to leverage the standard request ID pattern in the event that it is a priority.

Add request_id to the Standard Get and List request field allow lists.