Versions in this module Expand all Collapse all v0 v0.31.0 Mar 12, 2025 Changes in this version + const AddPetMethodNotAllowedCode + const DeletePetBadRequestCode + const FindPetsByStatusBadRequestCode + const FindPetsByStatusOKCode + const FindPetsByTagsBadRequestCode + const FindPetsByTagsOKCode + const GetPetByIDBadRequestCode + const GetPetByIDNotFoundCode + const GetPetByIDOKCode + const UpdatePetBadRequestCode + const UpdatePetMethodNotAllowedCode + const UpdatePetNotFoundCode + const UpdatePetWithFormMethodNotAllowedCode + var UpdatePetWithFormMaxParseMemory int64 = 32 << 20 + type AddPet struct + Context *middleware.Context + Handler AddPetHandler + func NewAddPet(ctx *middleware.Context, handler AddPetHandler) *AddPet + func (o *AddPet) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type AddPetHandler interface + Handle func(AddPetParams, interface{}) middleware.Responder + type AddPetHandlerFunc func(AddPetParams, interface{}) middleware.Responder + func (fn AddPetHandlerFunc) Handle(params AddPetParams, principal interface{}) middleware.Responder + type AddPetMethodNotAllowed struct + func NewAddPetMethodNotAllowed() *AddPetMethodNotAllowed + func (o *AddPetMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type AddPetParams struct + Body *models.Pet + HTTPRequest *http.Request + func NewAddPetParams() AddPetParams + func (o *AddPetParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type AddPetURL struct + func (o *AddPetURL) Build() (*url.URL, error) + func (o *AddPetURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *AddPetURL) Must(u *url.URL, err error) *url.URL + func (o *AddPetURL) SetBasePath(bp string) + func (o *AddPetURL) String() string + func (o *AddPetURL) StringFull(scheme, host string) string + func (o *AddPetURL) WithBasePath(bp string) *AddPetURL + type DeletePet struct + Context *middleware.Context + Handler DeletePetHandler + func NewDeletePet(ctx *middleware.Context, handler DeletePetHandler) *DeletePet + func (o *DeletePet) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type DeletePetBadRequest struct + func NewDeletePetBadRequest() *DeletePetBadRequest + func (o *DeletePetBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type DeletePetHandler interface + Handle func(DeletePetParams, interface{}) middleware.Responder + type DeletePetHandlerFunc func(DeletePetParams, interface{}) middleware.Responder + func (fn DeletePetHandlerFunc) Handle(params DeletePetParams, principal interface{}) middleware.Responder + type DeletePetParams struct + APIKey string + HTTPRequest *http.Request + PetID int64 + func NewDeletePetParams() DeletePetParams + func (o *DeletePetParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type DeletePetURL struct + PetID int64 + func (o *DeletePetURL) Build() (*url.URL, error) + func (o *DeletePetURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *DeletePetURL) Must(u *url.URL, err error) *url.URL + func (o *DeletePetURL) SetBasePath(bp string) + func (o *DeletePetURL) String() string + func (o *DeletePetURL) StringFull(scheme, host string) string + func (o *DeletePetURL) WithBasePath(bp string) *DeletePetURL + type FindPetsByStatus struct + Context *middleware.Context + Handler FindPetsByStatusHandler + func NewFindPetsByStatus(ctx *middleware.Context, handler FindPetsByStatusHandler) *FindPetsByStatus + func (o *FindPetsByStatus) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type FindPetsByStatusBadRequest struct + func NewFindPetsByStatusBadRequest() *FindPetsByStatusBadRequest + func (o *FindPetsByStatusBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type FindPetsByStatusHandler interface + Handle func(FindPetsByStatusParams, interface{}) middleware.Responder + type FindPetsByStatusHandlerFunc func(FindPetsByStatusParams, interface{}) middleware.Responder + func (fn FindPetsByStatusHandlerFunc) Handle(params FindPetsByStatusParams, principal interface{}) middleware.Responder + type FindPetsByStatusOK struct + Payload []*models.Pet + func NewFindPetsByStatusOK() *FindPetsByStatusOK + func (o *FindPetsByStatusOK) SetPayload(payload []*models.Pet) + func (o *FindPetsByStatusOK) WithPayload(payload []*models.Pet) *FindPetsByStatusOK + func (o *FindPetsByStatusOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type FindPetsByStatusParams struct + HTTPRequest *http.Request + Status []string + func NewFindPetsByStatusParams() FindPetsByStatusParams + func (o *FindPetsByStatusParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type FindPetsByStatusURL struct + Status []string + func (o *FindPetsByStatusURL) Build() (*url.URL, error) + func (o *FindPetsByStatusURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *FindPetsByStatusURL) Must(u *url.URL, err error) *url.URL + func (o *FindPetsByStatusURL) SetBasePath(bp string) + func (o *FindPetsByStatusURL) String() string + func (o *FindPetsByStatusURL) StringFull(scheme, host string) string + func (o *FindPetsByStatusURL) WithBasePath(bp string) *FindPetsByStatusURL + type FindPetsByTags struct + Context *middleware.Context + Handler FindPetsByTagsHandler + func NewFindPetsByTags(ctx *middleware.Context, handler FindPetsByTagsHandler) *FindPetsByTags + func (o *FindPetsByTags) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type FindPetsByTagsBadRequest struct + func NewFindPetsByTagsBadRequest() *FindPetsByTagsBadRequest + func (o *FindPetsByTagsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type FindPetsByTagsHandler interface + Handle func(FindPetsByTagsParams, interface{}) middleware.Responder + type FindPetsByTagsHandlerFunc func(FindPetsByTagsParams, interface{}) middleware.Responder + func (fn FindPetsByTagsHandlerFunc) Handle(params FindPetsByTagsParams, principal interface{}) middleware.Responder + type FindPetsByTagsOK struct + Payload []*models.Pet + func NewFindPetsByTagsOK() *FindPetsByTagsOK + func (o *FindPetsByTagsOK) SetPayload(payload []*models.Pet) + func (o *FindPetsByTagsOK) WithPayload(payload []*models.Pet) *FindPetsByTagsOK + func (o *FindPetsByTagsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type FindPetsByTagsParams struct + HTTPRequest *http.Request + Tags []string + func NewFindPetsByTagsParams() FindPetsByTagsParams + func (o *FindPetsByTagsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type FindPetsByTagsURL struct + Tags []string + func (o *FindPetsByTagsURL) Build() (*url.URL, error) + func (o *FindPetsByTagsURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *FindPetsByTagsURL) Must(u *url.URL, err error) *url.URL + func (o *FindPetsByTagsURL) SetBasePath(bp string) + func (o *FindPetsByTagsURL) String() string + func (o *FindPetsByTagsURL) StringFull(scheme, host string) string + func (o *FindPetsByTagsURL) WithBasePath(bp string) *FindPetsByTagsURL + type GetPetByID struct + Context *middleware.Context + Handler GetPetByIDHandler + func NewGetPetByID(ctx *middleware.Context, handler GetPetByIDHandler) *GetPetByID + func (o *GetPetByID) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type GetPetByIDBadRequest struct + func NewGetPetByIDBadRequest() *GetPetByIDBadRequest + func (o *GetPetByIDBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type GetPetByIDHandler interface + Handle func(GetPetByIDParams, interface{}) middleware.Responder + type GetPetByIDHandlerFunc func(GetPetByIDParams, interface{}) middleware.Responder + func (fn GetPetByIDHandlerFunc) Handle(params GetPetByIDParams, principal interface{}) middleware.Responder + type GetPetByIDNotFound struct + func NewGetPetByIDNotFound() *GetPetByIDNotFound + func (o *GetPetByIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type GetPetByIDOK struct + Payload *models.Pet + func NewGetPetByIDOK() *GetPetByIDOK + func (o *GetPetByIDOK) SetPayload(payload *models.Pet) + func (o *GetPetByIDOK) WithPayload(payload *models.Pet) *GetPetByIDOK + func (o *GetPetByIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type GetPetByIDParams struct + HTTPRequest *http.Request + PetID int64 + func NewGetPetByIDParams() GetPetByIDParams + func (o *GetPetByIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type GetPetByIDURL struct + PetID int64 + func (o *GetPetByIDURL) Build() (*url.URL, error) + func (o *GetPetByIDURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *GetPetByIDURL) Must(u *url.URL, err error) *url.URL + func (o *GetPetByIDURL) SetBasePath(bp string) + func (o *GetPetByIDURL) String() string + func (o *GetPetByIDURL) StringFull(scheme, host string) string + func (o *GetPetByIDURL) WithBasePath(bp string) *GetPetByIDURL + type UpdatePet struct + Context *middleware.Context + Handler UpdatePetHandler + func NewUpdatePet(ctx *middleware.Context, handler UpdatePetHandler) *UpdatePet + func (o *UpdatePet) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type UpdatePetBadRequest struct + func NewUpdatePetBadRequest() *UpdatePetBadRequest + func (o *UpdatePetBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type UpdatePetHandler interface + Handle func(UpdatePetParams, interface{}) middleware.Responder + type UpdatePetHandlerFunc func(UpdatePetParams, interface{}) middleware.Responder + func (fn UpdatePetHandlerFunc) Handle(params UpdatePetParams, principal interface{}) middleware.Responder + type UpdatePetMethodNotAllowed struct + func NewUpdatePetMethodNotAllowed() *UpdatePetMethodNotAllowed + func (o *UpdatePetMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type UpdatePetNotFound struct + func NewUpdatePetNotFound() *UpdatePetNotFound + func (o *UpdatePetNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type UpdatePetParams struct + Body *models.Pet + HTTPRequest *http.Request + func NewUpdatePetParams() UpdatePetParams + func (o *UpdatePetParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type UpdatePetURL struct + func (o *UpdatePetURL) Build() (*url.URL, error) + func (o *UpdatePetURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *UpdatePetURL) Must(u *url.URL, err error) *url.URL + func (o *UpdatePetURL) SetBasePath(bp string) + func (o *UpdatePetURL) String() string + func (o *UpdatePetURL) StringFull(scheme, host string) string + func (o *UpdatePetURL) WithBasePath(bp string) *UpdatePetURL + type UpdatePetWithForm struct + Context *middleware.Context + Handler UpdatePetWithFormHandler + func NewUpdatePetWithForm(ctx *middleware.Context, handler UpdatePetWithFormHandler) *UpdatePetWithForm + func (o *UpdatePetWithForm) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type UpdatePetWithFormHandler interface + Handle func(UpdatePetWithFormParams, interface{}) middleware.Responder + type UpdatePetWithFormHandlerFunc func(UpdatePetWithFormParams, interface{}) middleware.Responder + func (fn UpdatePetWithFormHandlerFunc) Handle(params UpdatePetWithFormParams, principal interface{}) middleware.Responder + type UpdatePetWithFormMethodNotAllowed struct + func NewUpdatePetWithFormMethodNotAllowed() *UpdatePetWithFormMethodNotAllowed + func (o *UpdatePetWithFormMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type UpdatePetWithFormParams struct + HTTPRequest *http.Request + Name string + PetID string + Status string + func NewUpdatePetWithFormParams() UpdatePetWithFormParams + func (o *UpdatePetWithFormParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type UpdatePetWithFormURL struct + PetID string + func (o *UpdatePetWithFormURL) Build() (*url.URL, error) + func (o *UpdatePetWithFormURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *UpdatePetWithFormURL) Must(u *url.URL, err error) *url.URL + func (o *UpdatePetWithFormURL) SetBasePath(bp string) + func (o *UpdatePetWithFormURL) String() string + func (o *UpdatePetWithFormURL) StringFull(scheme, host string) string + func (o *UpdatePetWithFormURL) WithBasePath(bp string) *UpdatePetWithFormURL