automate api generation

This commit is contained in:
Pascal Fischer
2023-05-09 17:51:27 +02:00
parent b5c24e786d
commit 56a1901a84
2 changed files with 1 additions and 0 deletions

View File

@@ -5,6 +5,7 @@
"scripts": {
"dev": "next dev",
"build": "next build",
"gen": "swagger-codegen generate -i generator/openapi.yml -l openapi -o generator/api.json && npx ts-node generator/index.ts gen --input generator/api.json/openapi.json --output src/pages/ipa",
"start": "next start",
"lint": "next lint"
},