Rendering issue with schemas with circular dependancies
andreaspsson opened this issue · comments
Andreas Pålsson commented
When a schema have circular dependancies, the rendered output looks really strange, see here:
Here is a small schema that illustrates the problem:
https://gist.github.com/andreaspsson/3aea82c0489de63755c0145d017c80c3
I don't know that the best way t render such structure is, but now the entire document looks kind of bloated due tho these large objects. For example on https://editor.swagger.io/ it is rendered as an empty object, maybe not super, but way better, see:
Tommy Schnabel commented
+1
Kam Low commented
Just merged a fix for this! Hope it helps and thanks for the PR