Versions in this module Expand all Collapse all v0 v0.17.0 Oct 7, 2018 Changes in this version + type PetstoreAPI struct + APIAuthorizer runtime.Authorizer + APIKeyAuthenticator func(string, string, security.TokenAuthentication) runtime.Authenticator + BasicAuthenticator func(security.UserPassAuthentication) runtime.Authenticator + BearerAuthenticator func(string, security.ScopedTokenAuthentication) runtime.Authenticator + CommandLineOptionsGroups []swag.CommandLineOptionsGroup + JSONConsumer runtime.Consumer + JSONProducer runtime.Producer + Logger func(string, ...interface{}) + Middleware func(middleware.Builder) http.Handler + PetPetCreateHandler pet.PetCreateHandler + PetPetDeleteHandler pet.PetDeleteHandler + PetPetGetHandler pet.PetGetHandler + PetPetListHandler pet.PetListHandler + PetPetUpdateHandler pet.PetUpdateHandler + PetPetUploadImageHandler pet.PetUploadImageHandler + RolesAuth func(string) (interface{}, error) + ServeError func(http.ResponseWriter, *http.Request, error) + ServerShutdown func() + StoreInventoryGetHandler store.InventoryGetHandler + StoreOrderCreateHandler store.OrderCreateHandler + StoreOrderDeleteHandler store.OrderDeleteHandler + StoreOrderGetHandler store.OrderGetHandler + func NewPetstoreAPI(spec *loads.Document) *PetstoreAPI + func (o *PetstoreAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator + func (o *PetstoreAPI) Authorizer() runtime.Authorizer + func (o *PetstoreAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer + func (o *PetstoreAPI) Context() *middleware.Context + func (o *PetstoreAPI) DefaultConsumes() string + func (o *PetstoreAPI) DefaultProduces() string + func (o *PetstoreAPI) Formats() strfmt.Registry + func (o *PetstoreAPI) HandlerFor(method, path string) (http.Handler, bool) + func (o *PetstoreAPI) Init() + func (o *PetstoreAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer + func (o *PetstoreAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer) + func (o *PetstoreAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator) + func (o *PetstoreAPI) RegisterProducer(mediaType string, producer runtime.Producer) + func (o *PetstoreAPI) Serve(builder middleware.Builder) http.Handler + func (o *PetstoreAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error) + func (o *PetstoreAPI) SetDefaultConsumes(mediaType string) + func (o *PetstoreAPI) SetDefaultProduces(mediaType string) + func (o *PetstoreAPI) SetSpec(spec *loads.Document) + func (o *PetstoreAPI) Validate() error