env

package
v2.937.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

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

func GetMap() map[string]string

Returns os.Environ as a mapping of environment variable names to values.

func IsDebug

func IsDebug() bool

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL