-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
"Try it out!" doesn't work in new generated project (after swagger-ui update to 2.0.21) #432
Comments
raymondfeng
pushed a commit
to strongloop/loopback-component-explorer
that referenced
this issue
Aug 4, 2014
This was referenced Aug 4, 2014
Closed
changing the package.json file in loopback-explorer to read "swagger-ui": "2.0.18" does seem to fix the problem |
[email protected] is published to npmjs. It should fix (or work around) the problem while we are waiting for a root fix at swagger-api/swagger-js#107. |
+1 works for me. Thanks. |
+1 [email protected] works |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm new to loopback, this is what I did (which can reproduce this issue):
Then open a browser to access http://localhost:3000/explorer, under POST /Users, type
{}
in data field, then click Try it out!. a throbber keeps showing, but no response is received. It seems that request is not sent (monitor by chrome dev tool).Actually, I try the same commands two day ago, everything works fine. So I compare the two demo, the only difference is the version of swagger-ui: the working (old) one uses swagger-ui 2.0.18, while the broken (new) one uses swagger-ui 2.0.21.
The text was updated successfully, but these errors were encountered: