Versions in this module Expand all Collapse all v0 v0.3.3 Aug 7, 2021 Changes in this version + type OpenMockAPI struct + APIKeyAuthenticator func(string, string, security.TokenAuthentication) runtime.Authenticator + BasicAuthenticator func(security.UserPassAuthentication) runtime.Authenticator + BearerAuthenticator func(string, security.ScopedTokenAuthentication) runtime.Authenticator + CommandLineOptionsGroups []swag.CommandLineOptionsGroup + EvaluateEvaluateHandler evaluate.EvaluateHandler + HealthGetHealthHandler health.GetHealthHandler + JSONConsumer runtime.Consumer + JSONProducer runtime.Producer + Logger func(string, ...interface{}) + Middleware func(middleware.Builder) http.Handler + PreServerShutdown func() + ServeError func(http.ResponseWriter, *http.Request, error) + ServerShutdown func() + TemplateDeleteTemplateHandler template.DeleteTemplateHandler + TemplateDeleteTemplatesHandler template.DeleteTemplatesHandler + TemplateGetTemplatesHandler template.GetTemplatesHandler + TemplatePostTemplatesHandler template.PostTemplatesHandler + TemplateSetDeleteTemplateSetHandler template_set.DeleteTemplateSetHandler + TemplateSetPostTemplateSetHandler template_set.PostTemplateSetHandler + YamlConsumer runtime.Consumer + YamlProducer runtime.Producer + func NewOpenMockAPI(spec *loads.Document) *OpenMockAPI + func (o *OpenMockAPI) AddMiddlewareFor(method, path string, builder middleware.Builder) + func (o *OpenMockAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator + func (o *OpenMockAPI) Authorizer() runtime.Authorizer + func (o *OpenMockAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer + func (o *OpenMockAPI) Context() *middleware.Context + func (o *OpenMockAPI) DefaultConsumes() string + func (o *OpenMockAPI) DefaultProduces() string + func (o *OpenMockAPI) Formats() strfmt.Registry + func (o *OpenMockAPI) HandlerFor(method, path string) (http.Handler, bool) + func (o *OpenMockAPI) Init() + func (o *OpenMockAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer + func (o *OpenMockAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer) + func (o *OpenMockAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator) + func (o *OpenMockAPI) RegisterProducer(mediaType string, producer runtime.Producer) + func (o *OpenMockAPI) Serve(builder middleware.Builder) http.Handler + func (o *OpenMockAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error) + func (o *OpenMockAPI) SetDefaultConsumes(mediaType string) + func (o *OpenMockAPI) SetDefaultProduces(mediaType string) + func (o *OpenMockAPI) SetSpec(spec *loads.Document) + func (o *OpenMockAPI) Validate() error