# 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
There are no default values defined in the spec.
NewDeletePet creates a new http.Handler for the delete pet operation.
NewDeletePetBadRequest creates DeletePetBadRequest with default headers values.
NewDeletePetParams creates a new DeletePetParams object
There are no default values defined in the spec.
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
There are no default values defined in the spec.
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
There are no default values defined in the 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
There are no default values defined in the 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
There are no default values defined in the spec.
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
There are no default values defined in the spec.
# Constants
AddPetMethodNotAllowedCode is the HTTP code returned for type AddPetMethodNotAllowed.
DeletePetBadRequestCode is the HTTP code returned for type DeletePetBadRequest.
FindPetsByStatusBadRequestCode is the HTTP code returned for type FindPetsByStatusBadRequest.
FindPetsByStatusOKCode is the HTTP code returned for type FindPetsByStatusOK.
FindPetsByTagsBadRequestCode is the HTTP code returned for type FindPetsByTagsBadRequest.
FindPetsByTagsOKCode is the HTTP code returned for type FindPetsByTagsOK.
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.
UpdatePetWithFormMethodNotAllowedCode is the HTTP code returned for type UpdatePetWithFormMethodNotAllowed.
# Variables
UpdatePetWithFormMaxParseMemory sets the maximum size in bytes for the multipart form parser for this operation.
# Structs
AddPet swagger:route POST /pets 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.
AddPetURL generates an URL for the add pet operation.
DeletePet swagger:route DELETE /pets/{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.
DeletePetURL generates an URL for the delete pet operation.
FindPetsByStatus swagger:route GET /pets/findByStatus pet findPetsByStatus
# Finds Pets by status
Multiple status values can be provided with comma separated 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.
FindPetsByStatusURL generates an URL for the find pets by status operation.
FindPetsByTags swagger:route GET /pets/findByTags pet findPetsByTags
# Finds Pets by tags
Muliple tags can be provided with comma separated 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.
FindPetsByTagsURL generates an URL for the find pets by tags operation.
GetPetByID swagger:route GET /pets/{petId} pet getPetById
# Find pet by ID
Returns a pet when ID < 10.
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 /pets 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.
UpdatePetWithForm swagger:route POST /pets/{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.
UpdatePetWithFormURL generates an URL for the update pet with form operation.
# 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.
# 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.