Documentation
¶
Index ¶
- func DebugConcurrency() int
- func DebugCycles() bool
- func DebugDisableMockServer() bool
- func DebugGojaPort() int
- func DebugInferDiscriminators() bool
- func DebugOperationFilter() string
- func DebugPreApplyUnionDiscriminators() bool
- func DebugWriteFiles() bool
- func GetMap() map[string]string
- func IsDebug() bool
- func IsForceGeneration() bool
- func IsGithubAction() bool
- func SnapshotSkipCompile() bool
- func SnapshotsSkipCleanDir() bool
- func UpdateSnapshots() bool
- func WatchTemplatesEnabled() bool
- func WatchTemplatesLocation() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DebugConcurrency ¶
func DebugConcurrency() int
func DebugCycles ¶
func DebugCycles() bool
func DebugDisableMockServer ¶
func DebugDisableMockServer() bool
func DebugGojaPort ¶
func DebugGojaPort() int
DebugGojaPort returns the DAP debug port for the goja JS runtime. Set SPEAKEASY_DEBUG_GOJA=true for the default port (4711), or a number for a custom port. Returns 0 when debugging is disabled.
func DebugInferDiscriminators ¶
func DebugInferDiscriminators() bool
func DebugOperationFilter ¶
func DebugOperationFilter() string
func DebugPreApplyUnionDiscriminators ¶
func DebugPreApplyUnionDiscriminators() bool
func DebugWriteFiles ¶
func DebugWriteFiles() bool
func GetMap ¶
Returns os.Environ as a mapping of environment variable names to values.
func IsForceGeneration ¶
func IsForceGeneration() bool
func IsGithubAction ¶
func IsGithubAction() bool
func SnapshotSkipCompile ¶
func SnapshotSkipCompile() bool
func SnapshotsSkipCleanDir ¶
func SnapshotsSkipCleanDir() bool
func UpdateSnapshots ¶
func UpdateSnapshots() bool
func WatchTemplatesEnabled ¶
func WatchTemplatesEnabled() bool
Usage: export WATCH_TEMPLATES_LOCATION=/path/to/openapi-generation/templates WATCH_TEMPLATES=1 go run cmd/generate/main.go
func WatchTemplatesLocation ¶
func WatchTemplatesLocation() string
Usage: export WATCH_TEMPLATES_LOCATION=/path/to/openapi-generation/templates go run cmd/generate/main.go --watch-templates
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.