Skip to content

feat: one shared versioned output/wire schema for compute results (plan/simulate/plot) #198

Closed

Description

@CameronBrooks11

From the plan review. Folds into #189 and #191. The output-side analog of #141 (which did this for the input .wind schema).

Today the API hand-renames engine dataclasses into Pydantic DTOs (fiberpath_api/schemas.py:24-27 — timeSeconds←total_time_s; routes/plan.py:32 PlanLayer(**asdict(metric))), and the CLI emits inconsistent shapes (plan camelCase vs simulate snake_case).

Scope

Define one shared, versioned output/wire schema for plan/simulate/plot results — not the raw engine dataclasses (so the wire format isn't hostage to engine refactors). Both the API responses (#189) and the generated client (#191) derive from it.

Acceptance

  • A single versioned output schema is the source of truth for compute responses; no hand-rename DTOs remain.

Activity

  1. added
    documentation
    python
    on Jun 26, 2026
  2. added a commit that references this issue on Jun 26, 2026
    5c78247
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

    documentationpython

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions