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

Bug: Redoc shows spinner only when swagger definition is empty #216

Closed
SebastianStehle opened this issue Feb 28, 2017 · 4 comments
Closed

Comments

@SebastianStehle
Copy link

Hi,

I found a minor bug. When the swagger definition is empty, Redoc only shows the spinner. I have an API where you can enable and disable API's and it would be awesome if Redoc will be also rendered if no API is enabled.

@SebastianStehle SebastianStehle changed the title Bug: Redoc only shows spinner when swagger definition is empty Bug: Redoc shows spinner only when swagger definition is empty Feb 28, 2017
@RomanHotsiy
Copy link
Member

RomanHotsiy commented Feb 28, 2017

@SebastianStehle What you mean under the swagger definition empty?
Can you please open browser console and send the output?

@SebastianStehle
Copy link
Author

There is nothing in the console. With and empty definition I mean a swagger definition without any paths.

@RomanHotsiy
Copy link
Member

@SebastianStehle nice catch, thanks for reporting.
Will fix in the upcoming release

@SebastianStehle
Copy link
Author

Awesome, do you have a timeline for the next release? we would like to release a product/open source project and it would be nice to bring it out with this fix.

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