Skip to content

Updating the Docs

Any API-facing backend change should update this repo in the same task when feasible.

Examples:

  • new endpoint
  • request or response shape change
  • auth change
  • role or visibility rule change
  • pagination/filtering behavior change
  • realtime or AI integration change

Primary file:

  • public/openapi/openapi.yaml

Use src/content/docs/ for:

  • integration notes
  • examples
  • migration notes
  • behavior that is awkward to express only in OpenAPI

Backend-focused work should usually update:

  • the OpenAPI spec
  • relevant API pages

Frontend-focused work should usually update:

  • usage guides
  • examples
  • dashboard integration notes

Do not leave the OpenAPI file stale and try to compensate with prose.

If a conflict exists between prose and the spec, the spec should be fixed first.