Documentation
¶
Overview ¶
cmd/regen provides an ergonomic entry point for regenerating an already-bootstrapped SDK.
Instead of manually specifying -s, -o, and -l flags, point it at an SDK directory and it infers the language from gen.yaml and the schema from workflow.yaml or an openapi* file in the directory root.
Usage:
go run cmd/regen/main.go [flags] [dir]
Examples:
go run cmd/regen/main.go ~/sdks/my-go-sdk go run cmd/regen/main.go -s override.yaml . go run cmd/regen/main.go --set go.version=2.0.0 ~/sdks/my-go-sdk go run cmd/regen/main.go --set generation.sdkClassName=MySDK --set go.flattenGlobalSecurity=true .
Click to show internal directories.
Click to hide internal directories.