Closes #20203: Add a pre-commit check for OpenAPI schema changes (#20230)

This commit is contained in:
Jeremy Stretch
2025-09-04 19:02:12 -04:00
committed by GitHub
parent 399d51b466
commit 8a1db81111
4 changed files with 256594 additions and 10 deletions

View File

@@ -21,6 +21,14 @@ repos:
language: system
pass_filenames: false
types: [python]
- id: openapi-check
name: "Validate OpenAPI schema"
description: "Check for any unexpected changes to the OpenAPI schema"
files: api/.*\.py$
entry: scripts/verify-openapi.sh
language: system
pass_filenames: false
types: [python]
- id: mkdocs-build
name: "Build documentation"
description: "Build the documentation with mkdocs"