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 ¶
type Cmd struct {
// contains filtered or unexported fields
}
Cmd contains the information necessary to execute the typescript API generator command.
type Option ¶
type Option func(*configs)
Option configures Generate configs.
func WithCommand ¶
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.