Closed apodznoev closed 4 months ago
Thanks for the issue!
If I'm understanding what you are suggesting, your example proto should be non-compliant b.c a single proto service contains RPCs for two different resources? If I'm tracking...
...then the proto you shared isn't actually a problem - AIP-121 isn't opinionated about RPCs being defined in Resource-specific proto services. That is to say, one proto service can contain more than one resource, and the methods for them.
I'm going to close this, but if I'm misunderstanding, please say as much and we can reopen.
Hello!
As of AIP-121 definition for resource-oriented design,
However, having a mixed service defined like:
will be totally valid yielding no issues from AIP linter in regards to AIP-121 rules.
Expectation would be, that AIP reject such a service as violating same-resource schema.
I attached the full service definition which didn't produce any warning from AIP linter as of version v1.65.1. book_service.txt