Task 5: OpenAPI vendoring and contract check (spike with decision) #5

Closed
opened 2026-11-11 08:01:22 +00:00 by charles · 0 comments
Owner

Files:

  • Create: xtask/src/vendor_spec.rs, xtask/src/spec_check.rs, crates/fluxer-proto/spec/{openapi.json,SOURCE}
  • Test: crates/fluxer-proto/tests/spec_contract.rs

Interfaces:

  • Produces: cargo xtask vendor-spec --from <path-or-url> copies the fork's generated fluxer_api/src/api/openapi/openapi.json (OpenAPI 3.1.0, ~1.85 MB; produced in the fork with pnpm openapi:generate, also served at {instance}/api/openapi.json) and writes SOURCE (fork commit <sha> or url <url> <date>). cargo xtask spec-check runs the contract test.

Plan: https://git.forked.io/charles/fluxer-native/src/branch/foundation/docs/superpowers/plans/2026-11-11-foundation.md (section "Task 5")

**Files:** - Create: `xtask/src/vendor_spec.rs`, `xtask/src/spec_check.rs`, `crates/fluxer-proto/spec/{openapi.json,SOURCE}` - Test: `crates/fluxer-proto/tests/spec_contract.rs` **Interfaces:** - Produces: `cargo xtask vendor-spec --from <path-or-url>` copies the fork's generated `fluxer_api/src/api/openapi/openapi.json` (OpenAPI 3.1.0, ~1.85 MB; produced in the fork with `pnpm openapi:generate`, also served at `{instance}/api/openapi.json`) and writes `SOURCE` (`fork commit <sha>` or `url <url> <date>`). `cargo xtask spec-check` runs the contract test. --- Plan: https://git.forked.io/charles/fluxer-native/src/branch/foundation/docs/superpowers/plans/2026-11-11-foundation.md (section "Task 5")
charles added this to the Foundation milestone 2026-11-11 08:01:22 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#5
No description provided.