This PR updates our routing system to use the latest version of the axum_auto_routes library. The main changes are:
Simplified route definitions by removing explicit path specifications.
Updated import statements and use declarations related to axum_auto_routes.
Motivation
The aim of this change is to simplify our HTTP request handling, specifically the routing system. By using the latest version of axum_auto_routes, we can take advantage of its new features, such as optional middleware specification, while removing the need to explicitly specify function paths.
Implementation Details
Modified route definitions in files under src/endpoints/
Updated any necessary import statements to reflect changes in the axum_auto_routes library.
Testing
Ran all existing tests to ensure functionality remains intact.
Manually tested affected routes to verify correct behavior.
Additional Notes
This change should make our routing system more maintainable and less prone to errors from mismatched path specifications.
This PR fixes #236
Changes
This PR updates our routing system to use the latest version of the
axum_auto_routes
library. The main changes are:axum_auto_routes
.Motivation
The aim of this change is to simplify our HTTP request handling, specifically the routing system. By using the latest version of
axum_auto_routes
, we can take advantage of its new features, such as optional middleware specification, while removing the need to explicitly specify function paths.Implementation Details
src/endpoints/
axum_auto_routes
library.Testing
Additional Notes
This change should make our routing system more maintainable and less prone to errors from mismatched path specifications.
Closes #236
Checklist