Closed chimmelb closed 10 years ago
I'm not sure if this is necessarily needed, but when experimenting with this module (instead of swagger-node-restify), my swagger-ui stopped working. Modifying the code in this way allowed the swagger-ui to run without errors.
I am noticing that my responses come back empty in swagger-ui without the Access-Control-Allow-Origin header, though not with cURL, so this might just be a configuration thing.
Default swagger-ui constantly gives "Can't access server" errors when the "Access-Control-Allow-Origin" is not set.