# API contracts [Русский](README.md) | English Shared OpenAPI contracts for Go, the frontend, and ML. Contract changes come first; consumers then generate their types, server code, and clients from them. - `core/` defines the main backend's public API. - `ml/` defines the ML service's internal HTTP API. - `testdata/` contains a specification for checking tool compatibility with OpenAPI 3.2.0. Routes live in `routes/` and schemas in `components/`. The `openapi.bundle.yml` files are built automatically. Generator configuration lives in `backend/codegen/`, `frontend/codegen/`, and `ml/codegen/`. From the repository root, `make -C api check` checks contracts and `make generate` updates all generated code. See the [development guide](../docs/en/DEVELOPMENT.md).