YAML to Shared Flow
This command takes a YAML document and converts it into a ready-to-use Apigee shared flow bundle.
Usage
The yaml-to-sharedflow command takes two parameters -input and -output
-
--inputis the YAML document that contains the shared flow definitions -
--outputis either a bundle zip or a bundle directory to be created -
--outputfull path is created if it does not exist (likemkdir -p)
Bundle resources are read relative to the location of the
--input
Examples
Below are a few examples for using the yaml-to-sharedflow command.
Create bundle zip
Creating a bundle zip
apigee-go-gen transform yaml-to-sharedflow \
--input ./examples/yaml-first/owasp/sharedflow.yaml \
--output ./out/sharedflows/owasp.zip
Create bundle dir
Creating a bundle directory