Add OpenAPI spec validation hook (Redocly CLI)
All checks were successful
CI / backend-test (push) Successful in 50s
CI / frontend-test (push) Successful in 17s
CI / build-and-publish (push) Has been skipped

PostToolUse hook triggers on openapi/*.yaml edits and runs
redocly lint with the recommended ruleset (security-defined
disabled since endpoints are intentionally public).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-04 23:52:12 +01:00
parent 91e566efea
commit c2bbb78b7b
5 changed files with 257 additions and 0 deletions

5
backend/redocly.yaml Normal file
View File

@@ -0,0 +1,5 @@
extends:
- recommended
rules:
security-defined: off