Documentation
¶
Index ¶
Constants ¶
View Source
const (
TuneTypeFuncName = "TuneType"
)
Variables ¶
This section is empty.
Functions ¶
func AddSecurityScheme ¶ added in v4.0.13
func AddSecurityScheme(name string, sr *oa.SecuritySchemeRef)
func CodesForMethod ¶ added in v4.0.2
Types ¶
type Config ¶
type Config struct {
APIversion string `toml:"api-version"`
Title string `toml:"title"`
Description string `toml:"description"`
TermsOfService string `toml:"terms-of-service"`
ContactName string `toml:"contact-name"`
ContactURL string `toml:"contact-url"`
ContactEmail string `toml:"contact-email"`
LicenseName string `toml:"license-name"`
LicenseURL string `toml:"license-url"`
Version string `toml:"version"`
Server string `toml:"server"`
ExtraServers []string `toml:"extra-servers"`
Protocol string `toml:"protocol"`
Host string `toml:"host"`
Port uint `toml:"port"`
}
Click to show internal directories.
Click to hide internal directories.