# Functions
NewAddPet creates a new http.Handler for the add pet operation.
NewAddPetMethodNotAllowed creates AddPetMethodNotAllowed with default headers values.
NewAddPetOK creates AddPetOK with default headers values.
NewAddPetParams creates a new AddPetParams object no default values defined in spec.
NewDeletePet creates a new http.Handler for the delete pet operation.
NewDeletePetBadRequest creates DeletePetBadRequest with default headers values.
NewDeletePetNotFound creates DeletePetNotFound with default headers values.
NewDeletePetOK creates DeletePetOK with default headers values.
NewDeletePetParams creates a new DeletePetParams object no default values defined in spec.
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 no default values defined in spec.
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 no default values defined in spec.
# Constants
AddPetMethodNotAllowedCode is the HTTP code returned for type AddPetMethodNotAllowed.
AddPetOKCode is the HTTP code returned for type AddPetOK.
DeletePetBadRequestCode is the HTTP code returned for type DeletePetBadRequest.
DeletePetNotFoundCode is the HTTP code returned for type DeletePetNotFound.
DeletePetOKCode is the HTTP code returned for type DeletePetOK.
GetPetByIDBadRequestCode is the HTTP code returned for type GetPetByIDBadRequest.
GetPetByIDNotFoundCode is the HTTP code returned for type GetPetByIDNotFound.
GetPetByIDOKCode is the HTTP code returned for type GetPetByIDOK.
UpdatePetBadRequestCode is the HTTP code returned for type UpdatePetBadRequest.
UpdatePetMethodNotAllowedCode is the HTTP code returned for type UpdatePetMethodNotAllowed.
UpdatePetNotFoundCode is the HTTP code returned for type UpdatePetNotFound.
# Structs
AddPet swagger:route POST /pet pet addPet
Add a new pet to the store
*/.
AddPetMethodNotAllowed Invalid input
swagger:response addPetMethodNotAllowed
*/.
AddPetOK successfully added
swagger:response addPetOK
*/.
AddPetParams contains all the bound params for the add pet operation typically these are obtained from a http.Request
swagger:parameters addPet.
AddPetURL generates an URL for the add pet operation.
DeletePet swagger:route DELETE /pet/{petId} pet deletePet
Deletes a pet
*/.
DeletePetBadRequest Invalid ID supplied
swagger:response deletePetBadRequest
*/.
DeletePetNotFound Pet not found
swagger:response deletePetNotFound
*/.
DeletePetOK success
swagger:response deletePetOK
*/.
DeletePetParams contains all the bound params for the delete pet operation typically these are obtained from a http.Request
swagger:parameters deletePet.
DeletePetURL generates an URL for the delete pet operation.
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.
GetPetByIDURL generates an URL for the get pet by Id operation.
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.
UpdatePetURL generates an URL for the update pet operation.
# Interfaces
AddPetHandler interface for that can handle valid add pet params.
DeletePetHandler interface for that can handle valid delete pet params.
GetPetByIDHandler interface for that can handle valid get pet by Id params.
UpdatePetHandler interface for that can handle valid update pet 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.
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.