File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,6 +37,9 @@ format: ## Format the code into unified format
3737schema : # # Generate OpenAPI schema file
3838 uv run scripts/generate_openapi_schema.py docs/openapi.json
3939
40+ openapi-doc : docs/openapi.json # # Generate OpenAPI documentation
41+ openapi-to-markdown --input_file docs/openapi.json --output_file docs/output.md
42+
4043# TODO uv migration
4144requirements.txt : pyproject.toml pdm.lock # # Generate requirements.txt file containing hashes for all non-devel packages
4245 pdm export --prod --format requirements --output requirements.txt --no-extras --without evaluation
Original file line number Diff line number Diff line change @@ -261,6 +261,7 @@ check-types Checks type hints in sources
261261security-check Check the project for security issues
262262format Format the code into unified format
263263schema Generate OpenAPI schema file
264+ openapi-doc Generate OpenAPI documentation
264265requirements.txt Generate requirements.txt file containing hashes for all non-devel packages
265266shellcheck Run shellcheck
266267verify Run all linters
Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ dev = [
7676 " types-cachetools>=6.1.0.20250717" ,
7777 " build>=1.2.2.post1" ,
7878 " twine>=6.1.0" ,
79+ " openapi-to-md>=0.1.0b2" ,
7980]
8081llslibdev = [
8182 " fastapi>=0.115.12" ,
You can’t perform that action at this time.
0 commit comments