package
0.2.0
Repository: https://github.com/zxchris/go-swagger.git
Documentation: pkg.go.dev

# Functions

NewDeleteOrder creates a new http.Handler for the delete order operation.
NewDeleteOrderBadRequest creates DeleteOrderBadRequest with default headers values.
NewDeleteOrderNotFound creates DeleteOrderNotFound with default headers values.
NewDeleteOrderParams creates a new DeleteOrderParams object with the default values initialized.
NewGetInventory creates a new http.Handler for the get inventory operation.
NewGetInventoryOK creates GetInventoryOK with default headers values.
NewGetOrderByID creates a new http.Handler for the get order by id operation.
NewGetOrderByIDBadRequest creates GetOrderByIDBadRequest with default headers values.
NewGetOrderByIDNotFound creates GetOrderByIDNotFound with default headers values.
NewGetOrderByIDOK creates GetOrderByIDOK with default headers values.
NewGetOrderByIDParams creates a new GetOrderByIDParams object with the default values initialized.
NewPlaceOrder creates a new http.Handler for the place order operation.
NewPlaceOrderBadRequest creates PlaceOrderBadRequest with default headers values.
NewPlaceOrderOK creates PlaceOrderOK with default headers values.
NewPlaceOrderParams creates a new PlaceOrderParams object with the default values initialized.

# Structs

DeleteOrder swagger:route DELETE /store/order/{orderId} store deleteOrder Delete purchase order by ID For valid response try integer IDs with value < 1000.
DeleteOrderBadRequest Invalid ID supplied swagger:response deleteOrderBadRequest */.
DeleteOrderNotFound Order not found swagger:response deleteOrderNotFound */.
DeleteOrderParams contains all the bound params for the delete order operation typically these are obtained from a http.Request swagger:parameters deleteOrder.
GetInventory swagger:route GET /store/inventory store getInventory Returns pet inventories by status Returns a map of status codes to quantities */.
GetInventoryOK successful operation swagger:response getInventoryOK */.
GetOrderByID swagger:route GET /store/order/{orderId} store getOrderById Find purchase order by ID For valid response try integer IDs with value <= 5 or > 10.
GetOrderByIDBadRequest Invalid ID supplied swagger:response getOrderByIdBadRequest */.
GetOrderByIDNotFound Order not found swagger:response getOrderByIdNotFound */.
GetOrderByIDOK successful operation swagger:response getOrderByIdOK */.
GetOrderByIDParams contains all the bound params for the get order by id operation typically these are obtained from a http.Request swagger:parameters getOrderById.
PlaceOrder swagger:route POST /store/order store placeOrder Place an order for a pet */.
PlaceOrderBadRequest Invalid Order swagger:response placeOrderBadRequest */.
PlaceOrderOK successful operation swagger:response placeOrderOK */.
PlaceOrderParams contains all the bound params for the place order operation typically these are obtained from a http.Request swagger:parameters placeOrder.

# Interfaces

DeleteOrderHandler interface for that can handle valid delete order params.
GetInventoryHandler interface for that can handle valid get inventory params.
GetOrderByIDHandler interface for that can handle valid get order by id params.
PlaceOrderHandler interface for that can handle valid place order params.

# Type aliases

DeleteOrderHandlerFunc turns a function with the right signature into a delete order handler.
GetInventoryHandlerFunc turns a function with the right signature into a get inventory handler.
GetInventoryOKBodyBody get inventory o k body body swagger:model GetInventoryOKBodyBody */.
GetOrderByIDHandlerFunc turns a function with the right signature into a get order by id handler.
PlaceOrderHandlerFunc turns a function with the right signature into a place order handler.