opiproject / opi-api

Open Programmable Infrastructure API and Behavioral Model
Apache License 2.0
32 stars 40 forks source link

Remove resource reference annotations from names of resources #388

Closed artek-koltun closed 11 months ago

artek-koltun commented 12 months ago

In storage, we have resource reference annotations on names which point to a wrong resource types, not the one described in google.api.resource. If we set it to the corresponding resource type, we see https://linter.aip.dev/121/no-mutable-cycles error. If we look at https://google.aip.dev/122 we see that resource_reference is not used on names of a resource itself