Skip to content

Commit e6e01f7

Browse files
committed
API docs
1 parent 440c406 commit e6e01f7

File tree

2 files changed

+118
-1
lines changed

2 files changed

+118
-1
lines changed

package-lock.json

Lines changed: 115 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
"mochawesome": "4.1.0",
8181
"mochawesome-merge": "2.1.0",
8282
"mochawesome-report-generator": "4.0.1",
83+
"openapi-typescript-codegen": "^0.9.3",
8384
"pkg-fetch": "3.2.1",
8485
"power-assert": "1.6.1",
8586
"prettier": "1.19.1",
@@ -264,7 +265,8 @@
264265
"test:mocha:ts": "mocha -r ts-node/register tests/mocha/**/*.test.ts",
265266
"types": "cd ts && tsc",
266267
"up": "docker-compose up --abort-on-container-exit --exit-code-from e2e",
267-
"watch": "tsc --watch --noEmit --project ./ts/tsconfig.json"
268+
"watch": "tsc --watch --noEmit --project ./ts/tsconfig.json",
269+
"openapi": "npx openapi-typescript-codegen --input ./docs/open-api-v3.yaml --output ./src/api"
268270
},
269271
"cordovaPlugins": [],
270272
"cordovaPlatforms": [

0 commit comments

Comments
 (0)