0.1.5 • Published 3 years ago

swagger-sync v0.1.5

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

swagger-sync

拉取远程接口写入openapi.json,提示接口变化

Use Config

安装 yarn add swagger-sync 使用:yarn swagger-sync, package.json 添加 "apiDocPath": "http://XXX.com/v2/api-docs" 字段 一般与swagger-codegen-ts一起用 yarn swagger-sync && swagger2ts data ./config/openapi.json -d ./src/services/api/

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago