Install Rust : https://www.rust-lang.org/tools/install.
And then install codegenr
cargo install codegenr
or install the development version
cargo install --git https://github.com/eventuallyconsultant/codegenr --branch dev
codegenr documentation on docs.rs
The defaults Handlebars helpers are documented here.
You can also open the repository in GitPod with this button
In the command line you can :
cargo test --workspace to launch all the unit testscargo doc --open to compile and open the local documentationcargo doc --open compile and open the documentationcargo install --path codegenr installs codegenr command line from sourcescargo install --git https://github.com/eventuallyconsultant/codegenr --branch dev installs codegenr command line from the latest github dev branchThis tool is based on the design of a precedent one written in C# : CodegenUP.
$ref tagscodegenr in place of CodegenUP, just by calling some commandscodegenr-cli to codegenr & codegenr to codegenr-libcrates.iocodegenr.toml on a workspace root to describe all the templates to execute around the workspace[ ] Make a VSCode extension about all of this to make it live / super user friendly for everyone
[ ] Allow multiple swagger2 documents merging
OpenApi Generator templates ?$ claude mcp add codegenr \
-- python -m otcore.mcp_server <graph>