aep-dev / api-linter

A linter for APIs defined in protocol buffers.
Apache License 2.0
0 stars 1 forks source link

erroneous failure on resource pattern not alternating #100

Open toumorokoshi opened 7 hours ago

toumorokoshi commented 7 hours ago

getting the following:

example/bookstore/v1/bookstore.proto:297:3:Resource pattern "publishers/{publisher}/books/{book}/editions/{book-edition}" must alternate between collection and identifier. "{book-edition}" is not an identifier (buf-plugin-aep)

This resource pattern is valid, and matches the OAS example. I think aip required underscores, which could be the issue?