Currently, the API's routes are using snakeCase: /api/pharmacies/byLocation. The standard for URLs is kebab-case, like so: /api/pharmacies/by-location.
These routes are already used in production so we need to deprecate the old routes and add the new ones.
Currently, the API's routes are using snakeCase:
/api/pharmacies/byLocation. The standard for URLs is kebab-case, like so:/api/pharmacies/by-location.These routes are already used in production so we need to deprecate the old routes and add the new ones.