richhollis/swagger-docs

"status":404,"error":"Not Found"

senurita opened this issue · 0 comments

Hi,
Swagger docs is running fine on my local machine (localhost:3000) but when i deployed it on my ubuntu server , I ran into 404 error while running swagger api-docs.json , also the thing that surprised me was running individual api from the browser is fetching correct results for ex :- Server_IP/restaurants.json is fetching the results but Server_IP/api-docs.json is giving 404 error.
I have checked my basepath in config/initializer/swagger-docs.rb , and in api-docs.json both are pointing to my server IP .