Prefix changes the Api path in SwaggerUi but Not Acceptable
Hi sorry, I set
prefix "/api/v1" in my json_api and it is changed inside SwaggerUi to this prefix.
For example /api/v1/auth/sign-in like this
But when i send from SwaggerUi and terminal it returns Not Acceptable
But if i use without prefix /api/json/auth//sign-in even i set it, it works
I am using
Thank you in advance3 Replies
Instead of setting the prefix
Solution
Just change the route that you serve the api at in your router
Yes for now i leave this, but i think i can create 2
base_route like base_route "/v1/auth" and "/v2/auth"
Thank you