Closed liquorvicar closed 4 years ago
I think https://swagger.io/docs/specification/components/ -> "Externally Defined Components" documents the behaviour I am talking about.
I am not very familiar with this code base but am happy to have a crack at fixing this if you need (as long as you can give me some pointers!)
I think this is a duplicate of #57 could you please try with current dev-master if this fixes it?
added a test to verify it is fixed by #57
Yep, I can confirm it's fixed at our end. Many thanks!
If I have defined a component externally, like this:
Then I expect to be able to use it like this:
However, when I do so, I get an error:
cebe\openapi\exceptions\UnresolvableReferenceException : Cyclic reference detected, setReferenceContext() called on a Reference Object.