Hi All,

I need help to resolve this swagger UI issue. I am hosting swagger UI 
locally. I have the swagger specification json pointing to my server.

When I try to send any request from Swagger UI, I am getting TypeError: 
Failed to fetch error all the time. But the request is actually successful 
and I could see the response in the browser console. I am able to run the 
curl command generated from the command prompt as well. I have downloaded 
swagger UI and using *http-server --cors* I am starting the server. I am 
opening the swagger UI using this Url 
*http://127.0.0.1:8080/swagger-ui/swagger-ui/dist/*. Note: the 
default http://petstore.swagger.io/v2/swagger.json is working fine. But if 
I browse my swagger spec file from the swagger UI and execute any request I 
am getting the above error all the time. My swagger specification file is 
present in the same /dist folder. Looking forward to get help from experts 
in this group.

Regards,
Dimpy

-- 
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-swaggersocket+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to