Documentation
¶
Overview ¶
Package config handles loading and parsing the .respec.yaml configuration file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Info *openapi3.Info `yaml:"info"`
SecuritySchemes map[string]interface{} `yaml:"securitySchemes"`
RouterDefinitions []RouterDefinition `yaml:"routerDefinitions"`
}
Config represents the structure of the .respec.yaml file.
type RouterDefinition ¶
type RouterDefinition struct {
Type string `yaml:"type"`
EndpointMethods []string `yaml:"endpointMethods"`
GroupMethods []string `yaml:"groupMethods"`
MiddlewareWrapperMethods []string `yaml:"middlewareWrapperMethods"`
}
RouterDefinition allows users to teach `respec` about their routing library.
Click to show internal directories.
Click to hide internal directories.