Documentation ¶
Overview ¶
Package sta provides access to swagger-typescript-api CLI.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cmd ¶ added in v0.24.0
type Cmd struct {
// contains filtered or unexported fields
}
Cmd contains the information necessary to execute the typescript API generator command.
type Option ¶ added in v0.24.0
type Option func(*configs)
Option configures Generate configs.
func WithCommand ¶ added in v0.24.0
WithCommand assigns a typescript API generator command to use for code generation. This allows to use a single nodetime STA generator binary in multiple code generation calls. Otherwise, `Generate` creates a new generator binary each time it is called.
Click to show internal directories.
Click to hide internal directories.