Swagger-ui: UI get stuck on loading image

Created on 22 Apr 2018  路  8Comments  路  Source: swagger-api/swagger-ui

Using swagger-ui-dist version 3.13.5 on Windows.
Happens with chrome 65, 66 and latest Edge.

When the loading image (black circle turning around itself) is shown it gets stuck (stop cycling) and the browser doesn't respond anymore.
Happens when using OpenAPI 3 files. With version 2 of the files it is working well.

Attached is a screen shot:
loading

lock-bot swagger-js regression

Most helpful comment

Looks like we will be doing a hotfix for this, so you can expect one today... right after I do some more testing :smile:

All 8 comments

I'm having a similar issue with swagger v2 file, see #4467

Hey @gonenduk, sorry for the trouble here.

I believe I've fixed the issue by testing @jemerald's example - can you give this build a try, and see if it solves your issue as well? http://crowded-squirrel.surge.sh

As for a release, I'm going to bring this up tomorrow and see what we can do to get this patch out.

Hey,
I cannot upload or access my yaml file from the build you provided, so I'm sending a minimum version of my yaml which reproduces the issue on my local machine.

api3.zip

Looks like it works! http://crowded-squirrel.surge.sh/?url=https://gist.githubusercontent.com/shockey/852d839ad3540c797b027281e1fe565e/raw/a8c31235c303c9f89be41cedb86d824542f0aae6/api3.yaml

Great job!
And now the obvious question: when can we have the fix? 馃榿

Looks like we will be doing a hotfix for this, so you can expect one today... right after I do some more testing :smile:

@shockey if you can, please also make a release for swagger-editor too. Thanks

Locking due to inactivity.

This is done to avoid resurrecting old issues and bumping long threads with new, possibly unrelated content.

If you think you're experiencing something similar to what you've found here: please open a new issue, follow the template, and reference this issue in your report.

Thanks!

Was this page helpful?
0 / 5 - 0 ratings