Skip to content

OpenAPIを利用したAPI作成と、開発、リリースフローまでの仕組みづくりの練習

License

Notifications You must be signed in to change notification settings

Himenon/openapi-typescript-practice

Repository files navigation

@himenon/openapi-typescript-practice

Development

scripts description
build build:code, build:docs を順次実行
build:code TypeScript のコードを生成
build:docs ドキュメントを生成
clean build 関連のファイル・ディレクトリを削除
json2schema json から OpenApi 3.0 の schema を吐き出す。巨大な json などに利用すると良い
mock:server yarn run mock:server localhostと実行することで API Mock Server を起動
publish:ghpages docs を ghpages に publish
ts ts-node を実行する

Build Pipeline

yarn build:code

build:code

Release

release version

yarn run lerna version --yes

Tools

Reference

LICENSE

MIT