package
0.19.0
Repository: https://github.com/rws-github/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 no default values defined in spec.
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 no default values defined in spec.
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 no default values defined in spec.

# Constants

DeleteOrderBadRequestCode is the HTTP code returned for type DeleteOrderBadRequest.
DeleteOrderNotFoundCode is the HTTP code returned for type DeleteOrderNotFound.
GetOrderByIDBadRequestCode is the HTTP code returned for type GetOrderByIDBadRequest.
GetOrderByIDNotFoundCode is the HTTP code returned for type GetOrderByIDNotFound.
GetOrderByIDOKCode is the HTTP code returned for type GetOrderByIDOK.
PlaceOrderBadRequestCode is the HTTP code returned for type PlaceOrderBadRequest.
PlaceOrderOKCode is the HTTP code returned for type PlaceOrderOK.

# Structs

DeleteOrder swagger:route DELETE /stores/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.
DeleteOrderURL generates an URL for the delete order operation.
GetOrderByID swagger:route GET /stores/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.
GetOrderByIDURL generates an URL for the get order by Id operation.
PlaceOrder swagger:route POST /stores/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.
PlaceOrderURL generates an URL for the place order operation.

# Interfaces

DeleteOrderHandler interface for that can handle valid delete order 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.
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.