feat: adding openapi spect generation to the frontend client aas well as to fast api. Broke API out into different routes

This commit is contained in:
lucas.oskorep
2023-07-17 02:07:41 -04:00
parent add28cafc6
commit 4a20152ff5
45 changed files with 3379 additions and 206 deletions

View File

@@ -6,7 +6,8 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
"lint": "next lint",
"gen-apis": "curl localhost:8000/openapi.json -O --output-dir ./gen-sources/mta-sign-api && openapi-generator-cli generate"
},
"dependencies": {
"@types/node": "20.4.1",
@@ -23,5 +24,8 @@
"tailwindcss": "3.3.2",
"typescript": "5.1.6"
},
"packageManager": "yarn@3.6.1"
"packageManager": "yarn@3.6.1",
"devDependencies": {
"@openapitools/openapi-generator-cli": "^2.6.0"
}
}