Closed TristanSpeakEasy closed 6 months ago
does this show up in libopenapi also?
does this show up in libopenapi also?
good question I don't know, our code bails out before this gets to the point we are interacting with the libopenapi model
https://github.com/pb33f/libopenapi/blob/main/index/resolver.go#L446 Is the issue, the hard limit of 100 levels deep of recursion, it too limited for this spec, so it throws up false positives, thinking they are circles, when really they are just very, very deeply nested.
This was fixed with the release v0.14
The attached document has a regression in handling of circular references.
As an example it complains about
infinite circular reference detected: results: stats -> results -> results [20266:7] | stats -> results -> results
but this circular reference doesn't actually exists, results doesn't link to itself at all.So it seems to be erroneously marking things as circular references that aren't
Here is the list of errors:
openapi.zip
These errors weren't showing in vacuum
v0.4.3
the previous version we were using