Skip to content

Triage the 15-entity JSON_WIRE_WITHOUT_SCHEMA backlog: register or justify each #862

Closed

Description

@athvin

API product implementation work · roadmap #1008 · use parent dependency order; not a separate product rank.

Part of #857. Stack rank 5 of 13. Depends on: T1 (wire structs exist), T3 (there are paths for the $refs to matter). Parallel with T9/T10.

Color

15 entities declare wire: [json] with no component schema — the JSON_WIRE_WITHOUT_SCHEMA backlog in er-server/src/openapi.rs: candidate_key, column_profile, entity_link, ingest_batch, matching_model, metric_snapshot, metric_snapshot_source, pair_label, profile_finding, profile_run, record_quality, s3_ingest_cursor, tag, tagging, webhook_delivery. Routes serving these (deliveries, tags, models, profile runs, labeling…) cannot carry a response $ref until each is registered — and registering is a public-API decision per entity, because er-openapi-check then tracks it for breaking changes. The existing test (every_json_wire_entity_has_a_schema_or_a_declared_gap) forces list-or-register; this ticket is the sit-down that decides all 15.

Scope

Per entity: register the wire struct's ToSchema in ApiDoc and delete the backlog line, or keep it listed with a written reason beside the name. Target state: the backlog shrinks to only genuinely non-API entities. Regenerate openapi.json / openapi.public.json / schema.d.ts for every registration.

Out of scope

Changing any entity's columns or wire declaration; new endpoints.

Testing

every_json_wire_entity_has_a_schema_or_a_declared_gap green in both directions (the test also rejects stale backlog entries, so each decision is self-enforcing). Regenerated artifacts committed. make check.

Definition of done

Epic DoD, plus: all 15 decided — registered or annotated with a reason; no bare names left in the backlog; the public document's response $refs resolve for every registered entity a public route serves.

Activity

  1. added
    rust
    mvp
    on Nov 8, 2026
  2. self-assigned this
    on Nov 9, 2026
  3. athvin commented on Nov 9, 2026

    @athvin
    OwnerAuthor

    Claimed — working in #1070 (draft), 2026-11-09T22:36:25Z. Closing that PR releases the claim. Existing registrations landed in #900; this work reconciles the remaining documentation and validation evidence.

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

Metadata

Metadata

Assignees

Labels

mvprust

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions