package
0.31.0
Repository: https://github.com/circl-dev/go-swagger.git
Documentation: pkg.go.dev

# Functions

NewPetCreate creates a new http.Handler for the pet create operation.
NewPetCreateCreated creates PetCreateCreated with default headers values.
NewPetCreateMethodNotAllowed creates PetCreateMethodNotAllowed with default headers values.
NewPetCreateParams creates a new PetCreateParams object There are no default values defined in the spec.
NewPetDelete creates a new http.Handler for the pet delete operation.
NewPetDeleteBadRequest creates PetDeleteBadRequest with default headers values.
NewPetDeleteNoContent creates PetDeleteNoContent with default headers values.
NewPetDeleteNotFound creates PetDeleteNotFound with default headers values.
NewPetDeleteParams creates a new PetDeleteParams object There are no default values defined in the spec.
NewPetGet creates a new http.Handler for the pet get operation.
NewPetGetBadRequest creates PetGetBadRequest with default headers values.
NewPetGetNotFound creates PetGetNotFound with default headers values.
NewPetGetOK creates PetGetOK with default headers values.
NewPetGetParams creates a new PetGetParams object There are no default values defined in the spec.
NewPetList creates a new http.Handler for the pet list operation.
NewPetListBadRequest creates PetListBadRequest with default headers values.
NewPetListOK creates PetListOK with default headers values.
NewPetListParams creates a new PetListParams object There are no default values defined in the spec.
NewPetUpdate creates a new http.Handler for the pet update operation.
NewPetUpdateBadRequest creates PetUpdateBadRequest with default headers values.
NewPetUpdateCreated creates PetUpdateCreated with default headers values.
NewPetUpdateMethodNotAllowed creates PetUpdateMethodNotAllowed with default headers values.
NewPetUpdateNotFound creates PetUpdateNotFound with default headers values.
NewPetUpdateParams creates a new PetUpdateParams object There are no default values defined in the spec.
NewPetUploadImage creates a new http.Handler for the pet upload image operation.
NewPetUploadImageOK creates PetUploadImageOK with default headers values.
NewPetUploadImageParams creates a new PetUploadImageParams object There are no default values defined in the spec.

# Constants

PetCreateCreatedCode is the HTTP code returned for type PetCreateCreated.
PetCreateMethodNotAllowedCode is the HTTP code returned for type PetCreateMethodNotAllowed.
PetDeleteBadRequestCode is the HTTP code returned for type PetDeleteBadRequest.
PetDeleteNoContentCode is the HTTP code returned for type PetDeleteNoContent.
PetDeleteNotFoundCode is the HTTP code returned for type PetDeleteNotFound.
PetGetBadRequestCode is the HTTP code returned for type PetGetBadRequest.
PetGetNotFoundCode is the HTTP code returned for type PetGetNotFound.
PetGetOKCode is the HTTP code returned for type PetGetOK.
PetListBadRequestCode is the HTTP code returned for type PetListBadRequest.
PetListOKCode is the HTTP code returned for type PetListOK.
PetUpdateBadRequestCode is the HTTP code returned for type PetUpdateBadRequest.
PetUpdateCreatedCode is the HTTP code returned for type PetUpdateCreated.
PetUpdateMethodNotAllowedCode is the HTTP code returned for type PetUpdateMethodNotAllowed.
PetUpdateNotFoundCode is the HTTP code returned for type PetUpdateNotFound.
PetUploadImageOKCode is the HTTP code returned for type PetUploadImageOK.

# Variables

PetUploadImageMaxParseMemory sets the maximum size in bytes for the multipart form parser for this operation.

# Structs

PetCreate swagger:route POST /pet pet petCreate Add a new pet to the store */.
PetCreateCreated Created swagger:response petCreateCreated */.
PetCreateMethodNotAllowed Invalid input swagger:response petCreateMethodNotAllowed */.
PetCreateParams contains all the bound params for the pet create operation typically these are obtained from a http.Request swagger:parameters PetCreate.
PetCreateURL generates an URL for the pet create operation.
PetDelete swagger:route DELETE /pet/{petId} pet petDelete Deletes a pet */.
PetDeleteBadRequest Invalid ID supplied swagger:response petDeleteBadRequest */.
PetDeleteNoContent Deleted successfully swagger:response petDeleteNoContent */.
PetDeleteNotFound Pet not found swagger:response petDeleteNotFound */.
PetDeleteParams contains all the bound params for the pet delete operation typically these are obtained from a http.Request swagger:parameters PetDelete.
PetDeleteURL generates an URL for the pet delete operation.
PetGet swagger:route GET /pet/{petId} pet petGet Get pet by it's ID */.
PetGetBadRequest Invalid ID supplied swagger:response petGetBadRequest */.
PetGetNotFound Pet not found swagger:response petGetNotFound */.
PetGetOK successful operation swagger:response petGetOK */.
PetGetParams contains all the bound params for the pet get operation typically these are obtained from a http.Request swagger:parameters PetGet.
PetGetURL generates an URL for the pet get operation.
PetList swagger:route GET /pet pet petList List pets */.
PetListBadRequest Invalid status value swagger:response petListBadRequest */.
PetListOK successful operation swagger:response petListOK */.
PetListParams contains all the bound params for the pet list operation typically these are obtained from a http.Request swagger:parameters PetList.
PetListURL generates an URL for the pet list operation.
PetUpdate swagger:route PUT /pet pet petUpdate Update an existing pet */.
PetUpdateBadRequest Invalid ID supplied swagger:response petUpdateBadRequest */.
PetUpdateCreated Updated successfully swagger:response petUpdateCreated */.
PetUpdateMethodNotAllowed Validation exception swagger:response petUpdateMethodNotAllowed */.
PetUpdateNotFound Pet not found swagger:response petUpdateNotFound */.
PetUpdateParams contains all the bound params for the pet update operation typically these are obtained from a http.Request swagger:parameters PetUpdate.
PetUpdateURL generates an URL for the pet update operation.
PetUploadImage swagger:route POST /pet/{petId}/image pet petUploadImage uploads an image */.
PetUploadImageOK successful operation swagger:response petUploadImageOK */.
PetUploadImageParams contains all the bound params for the pet upload image operation typically these are obtained from a http.Request swagger:parameters PetUploadImage.
PetUploadImageURL generates an URL for the pet upload image operation.

# Interfaces

PetCreateHandler interface for that can handle valid pet create params.
PetDeleteHandler interface for that can handle valid pet delete params.
PetGetHandler interface for that can handle valid pet get params.
PetListHandler interface for that can handle valid pet list params.
PetUpdateHandler interface for that can handle valid pet update params.
PetUploadImageHandler interface for that can handle valid pet upload image params.

# Type aliases

PetCreateHandlerFunc turns a function with the right signature into a pet create handler.
PetDeleteHandlerFunc turns a function with the right signature into a pet delete handler.
PetGetHandlerFunc turns a function with the right signature into a pet get handler.
PetListHandlerFunc turns a function with the right signature into a pet list handler.
PetUpdateHandlerFunc turns a function with the right signature into a pet update handler.
PetUploadImageHandlerFunc turns a function with the right signature into a pet upload image handler.