Context
_unwrap_envelope and _parse_path assume flexible field names (path, routes, paths). StellarRoute API may return stricter OpenAPI shapes; mismatches yield empty paths and weak predictions.
Scope
- Document expected StellarRoute response fields with version note
- Harden parsing with explicit validation errors logged per pair
Acceptance criteria
References
src/stellarhydra/integrations/stellarroute_client.py
- StellarRoute
/api/v1/quote, /api/v1/routes (companion repo)
Context
_unwrap_envelopeand_parse_pathassume flexible field names (path,routes,paths). StellarRoute API may return stricter OpenAPI shapes; mismatches yield empty paths and weak predictions.Scope
Acceptance criteria
References
src/stellarhydra/integrations/stellarroute_client.py/api/v1/quote,/api/v1/routes(companion repo)