Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
// InputFileMode input file
InputFile string
// InputFileMode specifies the mode of input file (jsonl, etc)
InputFileMode string
// NoOrigin defines if we are adding Origin: to all requests
NoOrigin bool
// OutputDirectory specifies custom directory to store openapi specifications
OutputDirectory string
// Keep404 keep response codes equals to 404 for files
Keep404 bool
// ServerRoots server roots mapping
ServerRoots goflags.StringSlice
// FilterEndpoints filter endpoints using regexes
FilterEndpoints goflags.StringSlice
// FilterEndpointsBase filter endpoints using regexes (intended usage for generic configuration files)
FilterEndpointsBase goflags.StringSlice
// FilterEndpointsRegex filter endpoints using regexes
FilterEndpointsRegex []*regexp.Regexp
// Silent shows only output
Silent bool
// Verbose specifies showing verbose output
Verbose bool
// Debug
Debug bool
// Version enables showing of tool version
Version bool
// CLI indicate if we are currently using the CLI
CLI bool
}
func (*Options) ConfigureOutput ¶
func (options *Options) ConfigureOutput()
ConfigureOutput configures the output logging levels to be displayed on the screen
Click to show internal directories.
Click to hide internal directories.