16 lines
966 B
Markdown
16 lines
966 B
Markdown
# Shared scripts
|
|
|
|
[Русский](README.md) | English
|
|
|
|
Helper tools that work across multiple parts of the repository.
|
|
|
|
- `merge-schemas.py` merges OpenAPI schemas; `requirements-codegen.txt` lists its dependencies.
|
|
- `check-api-compat.sh` checks public API compatibility against a selected Git ref.
|
|
- `check-generated.py` detects generated files that differ from Git.
|
|
- `docs-check.py` checks documentation, README language pairs, and local links.
|
|
- `test_docs_check.py` and `test_merge_schemas.py` test documentation validation and schema merging; `test_contract_copies.py` checks that the OpenAPI 3.2 fixture and the ML contract keep identical copies of the api/core conventions.
|
|
|
|
Run them through Make from the repository root: `make -C api check`, `make -C api check-compat API_BASE_REF=<ref>`, `make check-generated`, and `make docs-check`. Service-specific scripts live in their service directories.
|
|
|
|
See the [development guide](../docs/en/DEVELOPMENT.md).
|