Authoritative OpenAPI 3.1 specification for the BondForge API.
- Spec:
openapi/bondforge.yaml - Current spec version: 1.0.0
This repo exists to keep the API contract versioned, reviewable, and close to engineering workflows:
- API-first change review (diffs on the spec)
- Validation & linting in CI
- A single source-of-truth for client SDK / server stubs generation
This repo uses Node-based tools for validation & docs.
npm installnpm run validate
npm run lintnpm run docsThis will start a local docs server powered by Redocly.
These commands are intentionally opt-in (no generated code committed by default).
You can generate SDKs using openapi-generator:
npm run gen:php
npm run gen:python
npm run gen:csharp
npm run gen:tsGenerated output will land in generated/ (gitignored by default).
- Contract changes require review. Treat
openapi/bondforge.yamllike production code. - Prefer backward-compatible changes where possible.
- When making breaking changes, bump the
info.versionand document it inCHANGELOG.md.
If you’re inside the BondForge org: open an issue in this repo and tag api.