package
0.19.0
Repository: https://github.com/rws-github/go-swagger.git
Documentation: pkg.go.dev

# Functions

NewInventoryGet creates a new http.Handler for the inventory get operation.
NewInventoryGetOK creates InventoryGetOK with default headers values.
NewInventoryGetParams creates a new InventoryGetParams object no default values defined in spec.
NewOrderCreate creates a new http.Handler for the order create operation.
NewOrderCreateBadRequest creates OrderCreateBadRequest with default headers values.
NewOrderCreateOK creates OrderCreateOK with default headers values.
NewOrderCreateParams creates a new OrderCreateParams object no default values defined in spec.
NewOrderDelete creates a new http.Handler for the order delete operation.
NewOrderDeleteBadRequest creates OrderDeleteBadRequest with default headers values.
NewOrderDeleteNoContent creates OrderDeleteNoContent with default headers values.
NewOrderDeleteNotFound creates OrderDeleteNotFound with default headers values.
NewOrderDeleteParams creates a new OrderDeleteParams object no default values defined in spec.
NewOrderGet creates a new http.Handler for the order get operation.
NewOrderGetBadRequest creates OrderGetBadRequest with default headers values.
NewOrderGetNotFound creates OrderGetNotFound with default headers values.
NewOrderGetOK creates OrderGetOK with default headers values.
NewOrderGetParams creates a new OrderGetParams object no default values defined in spec.

# Constants

InventoryGetOKCode is the HTTP code returned for type InventoryGetOK.
OrderCreateBadRequestCode is the HTTP code returned for type OrderCreateBadRequest.
OrderCreateOKCode is the HTTP code returned for type OrderCreateOK.
OrderDeleteBadRequestCode is the HTTP code returned for type OrderDeleteBadRequest.
OrderDeleteNoContentCode is the HTTP code returned for type OrderDeleteNoContent.
OrderDeleteNotFoundCode is the HTTP code returned for type OrderDeleteNotFound.
OrderGetBadRequestCode is the HTTP code returned for type OrderGetBadRequest.
OrderGetNotFoundCode is the HTTP code returned for type OrderGetNotFound.
OrderGetOKCode is the HTTP code returned for type OrderGetOK.

# Structs

InventoryGet swagger:route GET /store/inventory store inventoryGet Returns pet inventories by status */.
InventoryGetOK successful operation swagger:response inventoryGetOK */.
InventoryGetParams contains all the bound params for the inventory get operation typically these are obtained from a http.Request swagger:parameters InventoryGet.
InventoryGetURL generates an URL for the inventory get operation.
OrderCreate swagger:route POST /store/order store orderCreate Place an order for a pet */.
OrderCreateBadRequest Invalid Order swagger:response orderCreateBadRequest */.
OrderCreateOK successful operation swagger:response orderCreateOK */.
OrderCreateParams contains all the bound params for the order create operation typically these are obtained from a http.Request swagger:parameters OrderCreate.
OrderCreateURL generates an URL for the order create operation.
OrderDelete swagger:route DELETE /store/order/{orderId} store orderDelete Delete purchase order by ID For valid response try integer IDs with positive integer value.
OrderDeleteBadRequest Invalid ID supplied swagger:response orderDeleteBadRequest */.
OrderDeleteNoContent Deleted successfully swagger:response orderDeleteNoContent */.
OrderDeleteNotFound Order not found swagger:response orderDeleteNotFound */.
OrderDeleteParams contains all the bound params for the order delete operation typically these are obtained from a http.Request swagger:parameters OrderDelete.
OrderDeleteURL generates an URL for the order delete operation.
OrderGet swagger:route GET /store/order/{orderId} store orderGet Find purchase order by ID For valid response try integer IDs with value >= 1 and <= 10.
OrderGetBadRequest Invalid ID supplied swagger:response orderGetBadRequest */.
OrderGetNotFound Order not found swagger:response orderGetNotFound */.
OrderGetOK successful operation swagger:response orderGetOK */.
OrderGetParams contains all the bound params for the order get operation typically these are obtained from a http.Request swagger:parameters OrderGet.
OrderGetURL generates an URL for the order get operation.

# Interfaces

InventoryGetHandler interface for that can handle valid inventory get params.
OrderCreateHandler interface for that can handle valid order create params.
OrderDeleteHandler interface for that can handle valid order delete params.
OrderGetHandler interface for that can handle valid order get params.

# Type aliases

InventoryGetHandlerFunc turns a function with the right signature into a inventory get handler.
OrderCreateHandlerFunc turns a function with the right signature into a order create handler.
OrderDeleteHandlerFunc turns a function with the right signature into a order delete handler.
OrderGetHandlerFunc turns a function with the right signature into a order get handler.