@1023-ventures/piral-cli-rupel-react-codegen 中文文档教程
Overview
@1023-ventures/piral-cli-api-client-generator
是奥陶纪项目的 api 生成器
通过在包前加上 piral-cli
它可以被 pb
命令,piral 的cli 工具。
通过运行 pb rupel-react-codegen
,它将运行在 ./src/rupel-react-codegen 中找到的命令。 js
大多数在 cli 工具之外运行的代码都可以在 scripts 文件夹中找到,该
Scripts
downloadSwaggerJson.js
实用程序脚本将下载一个 swagger 模式文件并保存它到提供的目的地
generate.js
做很多繁重工作的部分。 为 openapi-generator 使用 docker 图像。
cli Commands
ordovician-open-api-generate
ordovician-open-api-generate 可以通过命令 pb ordovician-open-api-generate
运行
Overview
@1023-ventures/piral-cli-api-client-generator
is the api generator for ordovician projects
By prefixing the package with piral-cli
it is discoverable by the pb
command, a cli tool for piral.
By running pb rupel-react-codegen
it will run the command found in ./src/rupel-react-codegen.js
Most of the code that gets ran outside of the cli tool can be found in the scripts folder
Scripts
downloadSwaggerJson.js
Utility script that will download a swagger schema file and save it to the provided destination
generate.js
The piece that does a lot of heavy lifting. Uses a docker image for openapi-generator.
cli Commands
ordovician-open-api-generate
ordovician-open-api-generate can be ran via the command pb ordovician-open-api-generate
你可能也喜欢
- 42-cent-util 中文文档教程
- 5000chou-yen-hoshii 中文文档教程
- @0x-lerna-fork/run-topologically 中文文档教程
- @100tal-yach/yylogin 中文文档教程
- @22g/tb-register 中文文档教程
- @3yourmind/kotti-style 中文文档教程
- @8pay/deployments 中文文档教程
- @9renpoto/textlint-config-ja 中文文档教程
- @aaa-backend-stack/image-service 中文文档教程
- @acas-digital-innovation/acas-frontend 中文文档教程