Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { SpecFile string `validate:"required,filepath" short:"s" long:"spec" description:"Path to the openapi file"` Debug bool `short:"d" long:"debug" description:"Should the program emit debug logs on stderr"` Filter string `` /* 127-byte string literal not displayed */ Find string `long:"find" description:"Find sub-strings by regular expression to select for replacement"` Replace string `long:"replace" description:"Replace found sub-strings with the given string. Supports capture groups from the regex"` Template string `validate:"omitempty,filepath" short:"t" long:"template" description:"Path to a go template file to format the output"` StdOut io.Writer StdErr io.Writer }
App holds the configuration and io writers for the application.
Click to show internal directories.
Click to hide internal directories.