swagger UI 2 can't read the apidocs (500 error)

525 views
Skip to first unread message

Cheng Li

unread,
Sep 27, 2015, 4:01:37 PM9/27/15
to Swagger
I am using the Swagger- Ui 2.1.3 to load my api-docs file.
Below is the result that I am using curl to get

curl -I http://localhost:8080/Certificate/V1/sw/api-docs

HTTP/1.1 200 OK

Server: Apache-Coyote/1.1

Access-Control-Allow-Origin: *

Access-Control-Allow-Methods: GET, POST, DELETE, PUT

Access-Control-Allow-Headers: Content-Type, api_key, Authorization

Date: Sun, 27 Sep 2015 19:57:18 GMT

Content-Type: application/json

Content-Length: 350


Really don't know why swagger-ui can't load this api-docs. Please help. It took me three days already.

Thanks.


Ron Ratovsky

unread,
Oct 9, 2015, 7:34:29 PM10/9/15
to Swagger
Can you check your browser's web console to see if there are any errors?

--
You received this message because you are subscribed to the Google Groups "Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggers...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
-----------------------------------------
http://swagger.io
https://twitter.com/SwaggerApi
-----------------------------------------
Reply all
Reply to author
Forward
0 new messages