I am using apipie gem for api documentation. Under my api folder, there is one version**(api/v1)
When I access http://localhost:3000/apipie it shows me the documentation but when clicking on api document url ie POST /api/chats
It redirects to http://localhost:3000/apipie/public/chats/create.en.html
It displays error
Oops!! Method create.en not found for resource chats.
But when I remove .en form url manually it displays right api documentation.
ie http://localhost:3000/apipie/public/chats/create.html
.
I am confusing why api doc redirect to .en.html
and how I avoid adding .en
in api doc url.