Implemented suggestions by Matthieu

This commit is contained in:
Andreas
2024-01-01 10:31:43 +07:00
parent c66385b0d0
commit c603e279df
9 changed files with 65 additions and 106 deletions

View File

@@ -8,8 +8,7 @@
"start": "next start",
"lint": "next lint",
"format": "prettier --write .",
"openapi": "openapi --input http://127.0.0.1:1250/openapi.json --name OpenApi --output app/api && yarn format",
"openapi-old": "openapi-generator-cli generate -i http://localhost:1250/openapi.json -g typescript-fetch -o app/api && yarn format"
"openapi": "openapi --input http://127.0.0.1:1250/openapi.json --name OpenApi --output app/api && yarn format"
},
"dependencies": {
"@fief/fief": "^0.13.5",
@@ -47,7 +46,6 @@
"devDependencies": {
"@openapitools/openapi-generator-cli": "^2.7.0",
"@types/react": "18.2.20",
"openapi-typescript": "^6.7.3",
"openapi-typescript-codegen": "^0.25.0",
"prettier": "^3.0.0"
}