- 安装
autorest
npm i autorest -g- 生成 SDK 代码
autorest autorest.yamlcd out/typescript
npm config set registry https://registry.npm.taobao.org
npm pack
npm config delete registry
npm publish --access public- 发布前需要增加版本号再生成SDK。(配置项:typescript.package-version)