This project extends protobuf messages with interfaces to improve how polymorphic types can be represented and described.
See Specification for details on what the syntax of .reproto
files is.
See Examples for some example API specifications.
FasterXML Backend:
bash
$> cargo run -- --debug --b java -m fasterxml -o target/java \
--path examples \
heroic.v1
You can also include one of the extensions:
bash
$> cargo run -- --debug -b java -m fasterxml -o target/java \
--path examples \
--path examples/ext \
heroic.v1
Plain Python Backend:
bash
$> cargo run -- --debug -b python -o target/python \
--path examples \
heroic.v1
A Maven plugin that integrates reproto into the build lifecycle of a maven project.