Skip to content

Commit f59b570

Browse files
committed
wip
Signed-off-by: Sébastien Han <[email protected]>
1 parent dd67339 commit f59b570

14 files changed

+32566
-55997
lines changed

.pre-commit-config.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,20 @@ repos:
108108
name: API Spec Codegen
109109
additional_dependencies:
110110
- uv==0.7.8
111-
entry: uv run scripts/fastapi_generator.py docs/static
111+
entry: uv run scripts/run_openapi_generator.sh
112112
language: python
113113
pass_filenames: false
114114
require_serial: true
115115
files: ^src/llama_stack/apis/
116+
- id: openapi-validate
117+
name: OpenAPI Schema Validation
118+
additional_dependencies:
119+
- uv==0.7.8
120+
entry: uv run scripts/validate_openapi.py docs/static/ --quiet
121+
language: python
122+
pass_filenames: false
123+
require_serial: true
124+
files: ^docs/static/.*\.ya?ml$
116125
- id: check-workflows-use-hashes
117126
name: Check GitHub Actions use SHA-pinned actions
118127
entry: ./scripts/check-workflows-use-hashes.sh

0 commit comments

Comments
 (0)