Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
✨ (core) OpenAPI Inversifiy Models
Browse files Browse the repository at this point in the history
#12 #15 #13 #14
  • Loading branch information
PhearZero committed Sep 10, 2019
1 parent 2999af8 commit 54a920c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
swagger-codegen-cli*
.DS_Store
# TODO: Remove when ready
package-lock.json
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
"scripts": {
"test": "exit 0",
"clean": "rimraf packages/*/node_modules packages/*/dist packages/*/build node_modules",
"download": "wget http://central.maven.org/maven2/io/swagger/swagger-codegen-cli/2.4.8/swagger-codegen-cli-2.4.8.jar -d ./bin/",
"build:core": "npm run download && npm run build:swagger && java -Dmodels -jar ./bin/swagger-codegen-cli-2.4.8.jar generate -i ./build/swagger.yml -l typescript-inversify -o ./packages/core",
"build:swagger": "mkdirp ./build && swagger-merger -i ./spec/next/index.yml -o ./build/swagger.yml",
"build:fastify": "npm run build:swagger && snc -t ./templates/fastify -o ./packages/server ./build/swagger.yml"
},
Expand All @@ -25,6 +27,7 @@
"dateformat": "^3.0.3",
"husky": "^3.0.5",
"mkdirp": "^0.5.1",
"node-wget": "^0.4.3",
"pnpm": "^3.8.1",
"rimraf": "^3.0.0",
"semantic-release-gitmoji": "^1.3.2",
Expand Down

0 comments on commit 54a920c

Please sign in to comment.