Skip to content

[integrations] Align StellarRoute quote and route JSON parsing with live v1 schema #35

Description

@yinkscss

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

  • Parsing handles documented StellarRoute quote/route payloads
  • Unhealthy signal when required fields missing
  • Does not reimplement pathfinder (NG1)

References

  • src/stellarhydra/integrations/stellarroute_client.py
  • StellarRoute /api/v1/quote, /api/v1/routes (companion repo)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    complexity:highLarge or cross-cutting changeenhancementNew feature or requestphase:1Roadmap Phase 1 core loopphase:2Roadmap Phase 2 feature complete

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions