Versions in this module Expand all Collapse all v0 v0.31.0 Mar 12, 2025 Changes in this version + type PetstoreAPI struct + APIAuthorizer runtime.Authorizer + APIKeyAuth func(string) (interface{}, error) + 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 + PetAddPetHandler pet.AddPetHandler + PetDeletePetHandler pet.DeletePetHandler + PetFindPetsByStatusHandler pet.FindPetsByStatusHandler + PetFindPetsByTagsHandler pet.FindPetsByTagsHandler + PetGetPetByIDHandler pet.GetPetByIDHandler + PetUpdatePetHandler pet.UpdatePetHandler + PetUpdatePetWithFormHandler pet.UpdatePetWithFormHandler + PetstoreAuthAuth func(string, []string) (interface{}, error) + PreServerShutdown func() + ServeError func(http.ResponseWriter, *http.Request, error) + ServerShutdown func() + StoreDeleteOrderHandler store.DeleteOrderHandler + StoreGetOrderByIDHandler store.GetOrderByIDHandler + StorePlaceOrderHandler store.PlaceOrderHandler + UrlformConsumer runtime.Consumer + UserCreateUserHandler user.CreateUserHandler + UserCreateUsersWithArrayInputHandler user.CreateUsersWithArrayInputHandler + UserCreateUsersWithListInputHandler user.CreateUsersWithListInputHandler + UserDeleteUserHandler user.DeleteUserHandler + UserGetUserByNameHandler user.GetUserByNameHandler + UserLoginUserHandler user.LoginUserHandler + UserLogoutUserHandler user.LogoutUserHandler + UserUpdateUserHandler user.UpdateUserHandler + XMLConsumer runtime.Consumer + XMLProducer runtime.Producer + func NewPetstoreAPI(spec *loads.Document) *PetstoreAPI + func (o *PetstoreAPI) AddMiddlewareFor(method, path string, builder middleware.Builder) + 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) UseRedoc() + func (o *PetstoreAPI) UseSwaggerUI() + func (o *PetstoreAPI) Validate() error