Skip to content

testnet: contract test proving OpenAPI matches every implemented route #513

Description

@Depo-dev

Related to #421 and #232. A spec that drifts from the implementation is worse than no spec, because SDKs and users trust it.

Scope

  • A test that fails when a route exists without a spec entry, or a spec entry without a route.
  • Cover status codes and error envelopes, not just paths and happy-path shapes.
  • Run it in CI so drift is caught at the PR, not at release.

Done when

  • CI fails on any divergence between the OpenAPI spec and the implemented API.

Activity

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

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programapiGo REST API + Rust gRPC APItestingTests and test coveragetestnet-launchBlocks or de-risks the testnet launch

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions