Add OpenAPI spec validation hook (Redocly CLI)
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:
5
backend/redocly.yaml
Normal file
5
backend/redocly.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
extends:
|
||||
- recommended
|
||||
|
||||
rules:
|
||||
security-defined: off
|
||||
Reference in New Issue
Block a user