Skip to content

Commit

Permalink
chore(boilerplate): add swagger-typescript-api
Browse files Browse the repository at this point in the history
  • Loading branch information
k1eu committed Jul 5, 2024
1 parent 7ce49f2 commit 2a56710
Show file tree
Hide file tree
Showing 2 changed files with 262 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/common_nestjs_remix/apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"dev_ssr": "node ./server.js",
"lint": "eslint --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint .",
"start": "cross-env NODE_ENV=production node ./server.js",
"generate:client": "swagger-typescript-api -p ../api/src/swagger/api-schema.json -o ./src/api --axios --name generated-api.ts --api-class-name API",
"typecheck": "tsc"
},
"dependencies": {
Expand Down Expand Up @@ -42,6 +43,7 @@
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"postcss": "^8.4.38",
"swagger-typescript-api": "^13.0.12",
"tailwindcss": "^3.4.4",
"typescript": "^5.1.6",
"vite": "^5.1.0",
Expand Down
Loading

0 comments on commit 2a56710

Please sign in to comment.