Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Constructors = fx.Provide( NewFxContainer, fx.Annotated{ Group: "container", Target: NewFxOa2Converter, }, fx.Annotated{ Group: "container", Target: NewFxOa3Converter, }, )
View Source
var (
ErrUnsupportedConverterType = errors.New("unsupported spec type")
)
Functions ¶
This section is empty.
Types ¶
type Container ¶
func NewFxContainer ¶
func NewFxContainer(in ContainerFxIn) Container
type ContainerFxIn ¶
type Converter ¶
type Converter interface { GetType() common.SpecType Convert(ctx context.Context, arguments common.Arguments) (common.TemplateContainer, error) }
func NewFxOa2Converter ¶
func NewFxOa2Converter( loggerFactory common.LoggerFactory, ) Converter
func NewFxOa3Converter ¶
func NewFxOa3Converter() Converter
type XOperationExample ¶
type XOperationExample struct { Request XOperationRequestExample `json:"request"` Response XOperationResponseExample `json:"response"` Tags []string `json:"tags"` Priority int `json:"priority"` PostProcessors []common.PostProcessor `json:"post_processors"` }
type XOperationExamples ¶
type XOperationExamples map[string]XOperationExample
Click to show internal directories.
Click to hide internal directories.