API: generate /api/state documentation from UI types (#32431)

Co-authored-by: Michael Geers <michael@geers.tv>
This commit is contained in:
andig 2026-08-03 13:06:37 +02:00 • committed by GitHub
parent c7c744f54e
commit c3f3384bfc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
44 changed files with 8757 additions and 3347 deletions

View file

@ -11,6 +11,7 @@
"lint:tsc": "vue-tsc --noEmit",
"lint:i18n": "tsx i18n/check.ts",
"dev": "vp dev",
"openapi": "tsx scripts/state-schema/index.ts",
"playwright": "playwright install && playwright test --ui",
"playwright:ci": "cross-env CI=true playwright test",
"simulator": "vp dev tests/simulator",
@ -61,6 +62,7 @@
"repository": "github:evcc-io/evcc",
"devDependencies": {
"@playwright/test": "^1.62.0",
"@redocly/openapi-core": "^2.38.0",
"@storybook/vue3": "^10.4.4",
"@storybook/vue3-vite": "^10.5.5",
"@types/body-parser": "^1.19.6",
@ -76,6 +78,8 @@
"@vue/compiler-sfc": "^3.5.38",
"@vue/test-utils": "^2.4.11",
"@vue/tsconfig": "^0.9.1",
"ajv": "^8.20.0",
"ajv-formats": "^3.0.1",
"body-parser": "^2.3.0",
"cross-env": "^10.1.0",
"happy-dom": "^20.11.1",
@ -85,6 +89,7 @@
"rollup-plugin-visualizer": "^7.0.1",
"storybook": "^10.5.5",
"terser": "^5.49.0",
"ts-json-schema-generator": "^2.9.0",
"tsx": "^4.23.1",
"typescript": "^5.9.3",
"vite": "npm:@voidzero-dev/vite-plus-core@0.2.6",
@ -93,6 +98,7 @@
"vue-tsc": "^3.3.8",
"wait-on": "^9.1.0",
"ws": "^8.21.1",
"yaml": "^2.9.0",
"vite-plus": "0.2.6"
},
"overrides": {