@1023-ventures/piral-cli-rupel-react-codegen
v0.2.27-alpha.0
Published
Scripts and templates for generating react code
Downloads
12
Readme
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