0.1.5 • Published 4 years ago

swagger-sync v0.1.5

Weekly downloads
-
License
ISC
Repository
-
Last release
4 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

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago