Skip to content

Commit

Permalink
SMA-24: added openapi-typescript-codegen dependency and script generate
Browse files Browse the repository at this point in the history
  • Loading branch information
ivamach committed Feb 2, 2024
1 parent 91c3322 commit f84fb71
Show file tree
Hide file tree
Showing 2 changed files with 177 additions and 1 deletion.
174 changes: 174 additions & 0 deletions frontend/sportsmatch-app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion frontend/sportsmatch-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"preview": "vite preview",
"test": "vitest",
"format": "prettier --check ./src",
"format:fix": "prettier --write ./src"
"format:fix": "prettier --write ./src",
"generate": "openapi --input http://localhost:8080/v3/api-docs --output ./api"
},
"dependencies": {
"bootstrap": "^5.3.2",
Expand Down Expand Up @@ -44,6 +45,7 @@
"husky": "^9.0.6",
"jsdom": "^24.0.0",
"lint-staged": "^15.2.0",
"openapi-typescript-codegen": "^0.27.0",
"prettier": "^3.2.4",
"typescript": "^5.2.2",
"vite": "^5.0.8",
Expand Down

0 comments on commit f84fb71

Please sign in to comment.