uniquejava / blog

My notes regarding the vibrating frontend :boom and the plain old java :rofl.
Creative Commons Zero v1.0 Universal
11 stars 5 forks source link

API 管理最佳实践(best practice) #298

Open uniquejava opened 4 years ago

uniquejava commented 4 years ago

根据 yaml 生成spring boot代码

swagger editor自带的很垃圾, 换个

yarn global add @openapitools/openapi-generator-cli
openapi-generator generate -i petstore.yaml -g spring

自定义模板: https://openapi-generator.tech/docs/customization

yapi待研究

https://github.com/YMFE/yapi

References

  1. api接口管理工具