desktop
desktop copied to clipboard
Recursive JSON Schema breaks Viewer
Sometimes a model needs to reference itself, creating a recursive situation. This is completely valid JSON Schema, but seems to break the Viewer in Stoplight.
Example



Hey @distinctgrey! What are you thinking it should look like in the UI when it is a recursive model?
Hi @tbarn !
I'd suggest to keep it simple, either:
- show the model name without further nesting
- just show "recursive reference" ?
https://speca.io/ does a good job of showing recursive endpoints as well.
