docs: add bilingual READMEs for top-level directories

This commit is contained in:
TakuyaYagam1 committed 2026-10-05 17:48:48 +03:00
1 parent e9f56a6aa2
commit 70f96adf26
29 files changed
+401 -8

No files matched your search

+15
View File
@@ -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).
+15
View File
@@ -0,0 +1,15 @@
# Контракты API
Русский | [English](README.en.md)
Общие OpenAPI-контракты для Go, frontend и ML. Сначала изменяется контракт, затем из него генерируются типы, серверный код и клиенты нужных сервисов.
- `core/` - публичный API основного backend.
- `ml/` - внутренний HTTP API ML-сервиса.
- `testdata/` - спецификация для проверки совместимости инструментов с OpenAPI 3.2.0.
Маршруты лежат в `routes/`, схемы - в `components/`. Файлы `openapi.bundle.yml` собираются автоматически. Конфигурации генераторов находятся в `backend/codegen/`, `frontend/codegen/` и `ml/codegen/`.
Из корня: `make -C api check` проверяет контракты, `make generate` обновляет весь сгенерированный код.
Подробнее: [разработка](../docs/ru/DEVELOPMENT.md).