feat: add automated RAML 1.0 package generation to CI/CD pipeline
Docs Check / Markdown lint (push) Successful in 1m6s
Licence Check / Licence compatibility and copyright header verification (push) Successful in 1m20s
Build and Push Docker Image / build (push) Successful in 1m35s
CI / Swagger Validation & Coverage (push) Failing after 2m0s
CI / Security audit (push) Successful in 2m6s
Docs Check / Mermaid diagram parse check (push) Successful in 2m20s
CI / Tests & coverage (push) Failing after 2m30s

- Add RAML generation scripts (generate-openapi, downgrade-openapi, simple-raml-converter, package-raml)
- Add /api/swagger.json endpoint to server/app.js
- Add minimal .spectral.yml ruleset for OpenAPI linting
- Add npm scripts for OpenAPI/RAML generation and packaging
- Extend CI swagger job with RAML generation steps
- Upload raml-package artifact with 14-day retention
- Update CHANGELOG.md for v1.7.1
This commit is contained in:
2026-05-21 14:26:21 +01:00
parent 1a4ff73067
commit 37bed1cd4e
5 changed files with 323 additions and 2 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "sofarr",
"version": "1.7.0",
"version": "1.7.1",
"description": "A personal media download dashboard that shows your downloads 'so far' while you relax on the sofa waiting for your *arr services to finish",
"main": "server/index.js",
"scripts": {
@@ -15,7 +15,7 @@
"audit:fix": "npm audit fix",
"audit:critical": "npm audit --audit-level=critical",
"generate:openapi": "node scripts/generate-openapi.js",
"generate:raml": "npx oas3-to-raml -i dist/openapi-merged.json -o dist/api.raml",
"generate:raml": "node scripts/downgrade-openapi.js && node scripts/simple-raml-converter.js",
"package:raml": "node scripts/package-raml.js"
},
"dependencies": {