Skip to content

Brain Client Reference

Brain Client Reference

Sirloin consumes Brain’s OpenAPI contract through the generated Go client under apps/sirloin/pkg/brain-client/.

Generated files include:

  • apps/sirloin/pkg/brain-client/README.md
  • apps/sirloin/pkg/brain-client/api/openapi.yaml
  • apps/sirloin/pkg/brain-client/docs/

Regenerate from the repo root with make generate-brain while Brain is serving its OpenAPI JSON on port 9970.

Do not hand-edit generated Brain client docs. Change Brain’s OpenAPI-producing source and regenerate.