pb33f / libopenapi

libopenapi is a fully featured, high performance OpenAPI 3.1, 3.0 and Swagger parser, library, validator and toolkit for golang applications.
https://pb33f.io/libopenapi/
Other
482 stars 64 forks source link

fix: indexing of operations which are `$ref`s #339

Closed mfbx9da4 closed 1 month ago

mfbx9da4 commented 1 month ago

Why We have a linting rule which checks for duplicate operation IDs / duplicate operations. This linting rule wasn't catching duplicates if the operations were living in an external $ref.

What Currently when building the index of operations we weren't checking for refs, this PR changes that.