types

package
v0.0.0-...-31d91a3 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2025 License: MIT Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

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