Render Commands
The apigee-go-gen
tool includes the following set of template rendering commands to help you create Apigee API proxy bundles and shared flows.
- render template - Renders a Go-style template
- render apiproxy - Combines render template and yaml-to-apiproxy into one
- render sharedflow - Combines render template and yaml-to-sharedflow into one
Why use templates
Templates act like blueprints for creating Apigee API proxies, making it easy to generate them from popular formats like OpenAPI, GraphQL, and gRPC.
-
Tailored Control
Craft your API Proxies exactly how you need them, from security policies to dynamic behavior based on environment variables, and more!
-
Unlock Your Specs
Don't just describe your API – use the information in your OpenAPI specs (and others) to automatically build out parts of your API proxy configuration.
Template Language
The render commands
are powered by the Go text/template engine.
Some popular tools that also use this same engine are Helm, and Hugo.
Learn the Language
Here are some resources to get you started with the Go template language:
- Official text/template package docs
- Hashicorp's Go Template Tutorial