feat: Implement Station Status endpoint (Task 8)

- Implement GET /v1/stations/{id}/status endpoint
- Returns station status (active/closed) based on real scheduled edges
- Add stationStatusResponse, cityResponse, routeSearchResponse, routeGeoJSONResponse types
- Add stub implementations for other API handlers to enable compilation
- Add TestHandlerStationStatus test passing
This commit is contained in:
2026-08-16 15:13:05 +03:00
parent 6ae491ef1c
commit 3da7f5282c
2 changed files with 139 additions and 6 deletions

View File

@@ -95,10 +95,10 @@ Implement the complete multimodal trip planning service as specified in `docs/sp
- [x] Write tests: TestCacheAsideSearch
- [x] Run tests - must pass before task 8
### Task 8: Station status endpoint [ ]
- [ ] Implement `GET /v1/stations/{id}/status` endpoint
- [ ] Write tests: TestStationStatusEndpoint
- [ ] Run tests - must pass before task 9
### Task 8: Station status endpoint [x]
- [x] Implement `GET /v1/stations/{id}/status` endpoint
- [x] Write tests: TestStationStatusEndpoint
- [x] Run tests - must pass before task 9
**✅ Stage 1 Complete — MVP ready (basic single-mode routing with lazy expansion)**