Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In 'focused' view, components still show up all on one page, causes hang #999

Open
jarohen opened this issue Jan 26, 2024 · 4 comments
Open

Comments

@jarohen
Copy link

jarohen commented Jan 26, 2024

Hey there 👋

I've got a decent amount of components in my schema (~75), some of which are mutually recursive (no problem with the recursive rendering btw, works great 🙂). Trouble is, when I select one component in the menu on the left, the UI hangs for ~10s trying to render them all.

Any way I can get these rendering one-to-a-page in 'focused' view? It seems like the operations go from all-on-one-page to one-to-a-page when I change the render mode from 'read' to 'focused', but the components don't?

Cheers!

James

@wparad
Copy link

wparad commented Jan 26, 2024

I'm curious do other tools on https://openapi.tools/ also hang with your spec?

@jarohen
Copy link
Author

jarohen commented Jan 30, 2024

Hey @wparad, I'll take a look 👀

It's an open-source spec, if that helps

James

@jarohen
Copy link
Author

jarohen commented Jan 30, 2024

Other ones we've already tried:

  • redoc has no plans to support it
  • swagger-ui seems to barf on any recursive schemas

@jarohen
Copy link
Author

jarohen commented Jan 30, 2024

Elements from that list looks like it does the job for us - cheers for the pointer! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants