Create REST API endpoint for route queries that fetches HSL routes and prepares them for AI enhancement.
Technical Details:
- Create app/api/v1/endpoints/routes.py
- Implement POST /api/v1/routes/search endpoint
- Accept origin/destination (coordinates)
- Call HSL service that was implemented to fetch routes
- Return routes in standardized format
- Add request validation with Pydantic schemas
Acceptance Criteria:
- POST /api/v1/routes/search endpoint works
- Accepts origin and destination parameters
- Returns list of routes with details
- Validates input data
Create REST API endpoint for route queries that fetches HSL routes and prepares them for AI enhancement.
Technical Details:
Acceptance Criteria: