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 Config
- type Installer
- func (i *Installer) AfterInstall(_ *setup.Builder, handler miruken.Handler) error
- func (i *Installer) BindingCreated(policy miruken.Policy, handlerInfo *miruken.HandlerInfo, ...)
- func (i *Installer) DependsOn() []setup.Feature
- func (i *Installer) Docs() map[string]*openapi3.T
- func (i *Installer) HandlerInfoCreated(_ *miruken.HandlerInfo)
- func (i *Installer) Install(b *setup.Builder) 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 Config ¶ added in v0.30.38
type Config struct { AuthorizationUrl string TokenUrl string ClientId string Scopes []struct { Name string Description string } OpenIdConnectUrl string }
Config defines the configuration for openapi/swagger support.
func (*Config) ScopeNames ¶ added in v0.30.41
type Installer ¶
type Installer struct {
// contains filtered or unexported fields
}
Installer configures openapi support.
func (*Installer) AfterInstall ¶
func (*Installer) BindingCreated ¶
func (*Installer) HandlerInfoCreated ¶ added in v0.30.25
func (i *Installer) HandlerInfoCreated( _ *miruken.HandlerInfo, )
Click to show internal directories.
Click to hide internal directories.