# Functions
NewAddPet creates a new http.Handler for the add pet operation.
NewAddPetMethodNotAllowed creates AddPetMethodNotAllowed with default headers values.
NewAddPetParams creates a new AddPetParams object with the default values initialized.
NewDeletePet creates a new http.Handler for the delete pet operation.
NewDeletePetBadRequest creates DeletePetBadRequest with default headers values.
NewDeletePetParams creates a new DeletePetParams object with the default values initialized.
NewFindPetsByStatus creates a new http.Handler for the find pets by status operation.
NewFindPetsByStatusBadRequest creates FindPetsByStatusBadRequest with default headers values.
NewFindPetsByStatusOK creates FindPetsByStatusOK with default headers values.
NewFindPetsByStatusParams creates a new FindPetsByStatusParams object with the default values initialized.
NewFindPetsByTags creates a new http.Handler for the find pets by tags operation.
NewFindPetsByTagsBadRequest creates FindPetsByTagsBadRequest with default headers values.
NewFindPetsByTagsOK creates FindPetsByTagsOK with default headers values.
NewFindPetsByTagsParams creates a new FindPetsByTagsParams object with the default values initialized.
NewGetPetByID creates a new http.Handler for the get pet by id operation.
NewGetPetByIDBadRequest creates GetPetByIDBadRequest with default headers values.
NewGetPetByIDNotFound creates GetPetByIDNotFound with default headers values.
NewGetPetByIDOK creates GetPetByIDOK with default headers values.
NewGetPetByIDParams creates a new GetPetByIDParams object with the default values initialized.
NewUpdatePet creates a new http.Handler for the update pet operation.
NewUpdatePetBadRequest creates UpdatePetBadRequest with default headers values.
NewUpdatePetMethodNotAllowed creates UpdatePetMethodNotAllowed with default headers values.
NewUpdatePetNotFound creates UpdatePetNotFound with default headers values.
NewUpdatePetParams creates a new UpdatePetParams object with the default values initialized.
NewUpdatePetWithForm creates a new http.Handler for the update pet with form operation.
NewUpdatePetWithFormMethodNotAllowed creates UpdatePetWithFormMethodNotAllowed with default headers values.
NewUpdatePetWithFormParams creates a new UpdatePetWithFormParams object with the default values initialized.
NewUploadFile creates a new http.Handler for the upload file operation.
NewUploadFileOK creates UploadFileOK with default headers values.
NewUploadFileParams creates a new UploadFileParams object with the default values initialized.
# Structs
AddPet swagger:route POST /pet pet addPet
Add a new pet to the store
*/.
AddPetMethodNotAllowed Invalid input
swagger:response addPetMethodNotAllowed
*/.
AddPetParams contains all the bound params for the add pet operation typically these are obtained from a http.Request
swagger:parameters addPet.
DeletePet swagger:route DELETE /pet/{petId} pet deletePet
Deletes a pet
*/.
DeletePetBadRequest Invalid pet value
swagger:response deletePetBadRequest
*/.
DeletePetParams contains all the bound params for the delete pet operation typically these are obtained from a http.Request
swagger:parameters deletePet.
FindPetsByStatus swagger:route GET /pet/findByStatus pet findPetsByStatus
Finds Pets by status
Multiple status values can be provided with comma seperated strings
*/.
FindPetsByStatusBadRequest Invalid status value
swagger:response findPetsByStatusBadRequest
*/.
FindPetsByStatusOK successful operation
swagger:response findPetsByStatusOK
*/.
FindPetsByStatusParams contains all the bound params for the find pets by status operation typically these are obtained from a http.Request
swagger:parameters findPetsByStatus.
FindPetsByTags swagger:route GET /pet/findByTags pet findPetsByTags
Finds Pets by tags
Muliple tags can be provided with comma seperated strings.
FindPetsByTagsBadRequest Invalid tag value
swagger:response findPetsByTagsBadRequest
*/.
FindPetsByTagsOK successful operation
swagger:response findPetsByTagsOK
*/.
FindPetsByTagsParams contains all the bound params for the find pets by tags operation typically these are obtained from a http.Request
swagger:parameters findPetsByTags.
GetPetByID swagger:route GET /pet/{petId} pet getPetById
Find pet by ID
Returns a single pet
*/.
GetPetByIDBadRequest Invalid ID supplied
swagger:response getPetByIdBadRequest
*/.
GetPetByIDNotFound Pet not found
swagger:response getPetByIdNotFound
*/.
GetPetByIDOK successful operation
swagger:response getPetByIdOK
*/.
GetPetByIDParams contains all the bound params for the get pet by id operation typically these are obtained from a http.Request
swagger:parameters getPetById.
UpdatePet swagger:route PUT /pet pet updatePet
Update an existing pet
*/.
UpdatePetBadRequest Invalid ID supplied
swagger:response updatePetBadRequest
*/.
UpdatePetMethodNotAllowed Validation exception
swagger:response updatePetMethodNotAllowed
*/.
UpdatePetNotFound Pet not found
swagger:response updatePetNotFound
*/.
UpdatePetParams contains all the bound params for the update pet operation typically these are obtained from a http.Request
swagger:parameters updatePet.
UpdatePetWithForm swagger:route POST /pet/{petId} pet updatePetWithForm
Updates a pet in the store with form data
*/.
UpdatePetWithFormMethodNotAllowed Invalid input
swagger:response updatePetWithFormMethodNotAllowed
*/.
UpdatePetWithFormParams contains all the bound params for the update pet with form operation typically these are obtained from a http.Request
swagger:parameters updatePetWithForm.
UploadFile swagger:route POST /pet/{petId}/uploadImage pet uploadFile
uploads an image
*/.
UploadFileOK successful operation
swagger:response uploadFileOK
*/.
UploadFileParams contains all the bound params for the upload file operation typically these are obtained from a http.Request
swagger:parameters uploadFile.
# Interfaces
AddPetHandler interface for that can handle valid add pet params.
DeletePetHandler interface for that can handle valid delete pet params.
FindPetsByStatusHandler interface for that can handle valid find pets by status params.
FindPetsByTagsHandler interface for that can handle valid find pets by tags params.
GetPetByIDHandler interface for that can handle valid get pet by id params.
UpdatePetHandler interface for that can handle valid update pet params.
UpdatePetWithFormHandler interface for that can handle valid update pet with form params.
UploadFileHandler interface for that can handle valid upload file params.
# Type aliases
AddPetHandlerFunc turns a function with the right signature into a add pet handler.
DeletePetHandlerFunc turns a function with the right signature into a delete pet handler.
FindPetsByStatusHandlerFunc turns a function with the right signature into a find pets by status handler.
FindPetsByTagsHandlerFunc turns a function with the right signature into a find pets by tags handler.
GetPetByIDHandlerFunc turns a function with the right signature into a get pet by id handler.
UpdatePetHandlerFunc turns a function with the right signature into a update pet handler.
UpdatePetWithFormHandlerFunc turns a function with the right signature into a update pet with form handler.
UploadFileHandlerFunc turns a function with the right signature into a upload file handler.