ci(swagger): add OpenAPI validation job to CI

- Install @stoplight/spectral-cli as dev dependency
- Add "Swagger Validation & Coverage" job to .gitea/workflows/ci.yml
- Run spectral lint on server/openapi.yaml
- Run npm test to execute coverage tests
- Fail CI if spec is invalid or coverage is incomplete
- Runs on every push/PR alongside existing jobs
This commit is contained in:
2026-05-21 12:39:13 +01:00
parent 6980558ca9
commit 7dadb849f6
3 changed files with 2698 additions and 0 deletions
+2672
View File
File diff suppressed because it is too large Load Diff