Documentation
¶
Index ¶
- func ExtraComponents(components ...any) func(*Installer)
- func Handler(docs map[string]*openapi3.T, enableCors bool) http.HandlerFunc
- func Surrogates(surrogates map[reflect.Type]any) func(*Installer)
- type Installer
- func (i *Installer) AfterInstall(_ *miruken.SetupBuilder, handler miruken.Handler) error
- func (i *Installer) BindingCreated(policy miruken.Policy, descriptor *miruken.HandlerDescriptor, ...)
- func (i *Installer) DependsOn() []miruken.Feature
- func (i *Installer) DescriptorCreated(_ *miruken.HandlerDescriptor)
- func (i *Installer) Docs() map[string]*openapi3.T
- func (i *Installer) Install(setup *miruken.SetupBuilder) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtraComponents ¶ added in v0.23.0
ExtraComponents provides additional components to include schemas for.
Types ¶
type Installer ¶
type Installer struct {
// contains filtered or unexported fields
}
Installer configures openapi support.
func (*Installer) AfterInstall ¶
func (*Installer) BindingCreated ¶
func (*Installer) DescriptorCreated ¶
func (i *Installer) DescriptorCreated( _ *miruken.HandlerDescriptor, )
Click to show internal directories.
Click to hide internal directories.