docs: add bilingual READMEs for top-level directories
This commit is contained in:
1 parent
e9f56a6aa2
commit
70f96adf26
29 files changed
+401
-8
No files matched your search
@@ -0,0 +1,15 @@
|
||||
# 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).
|
||||
Reference in new issue
Block a user