configurator

package
v1.0.53 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	SwaggerAddr string `config:"swagger-addr,required"`
	Package     string `config:"package,required"`
	Path        string `config:"path,required"`

	ComponentsPackage string `config:"componentsPackage"`
	ComponentsPath    string `config:"componentsPath"`

	Authorization string `` /* 134-byte string literal not displayed */

	PrioritizeXGoType bool `config:"prioritize-x-go-type,description=prioritize x-go-type declaration over schema type, if both are provided"`
}

func (*Config) Defaults

func (config *Config) Defaults() *Config

func (*Config) Headers added in v1.0.25

func (config *Config) Headers() (http.Header, error)

type Configurator

type Configurator struct {
	// contains filtered or unexported fields
}

func (*Configurator) PostConstruct

func (configurator *Configurator) PostConstruct() (err error)

Jump to

Keyboard shortcuts

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