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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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