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

# Functions

NewAddOrder creates a new http.Handler for the add order operation.
NewAddOrderDefault creates AddOrderDefault with default headers values.
NewAddOrderForbidden creates AddOrderForbidden with default headers values.
NewAddOrderOK creates AddOrderOK with default headers values.
NewAddOrderParams creates a new AddOrderParams object There are no default values defined in the spec.
NewAddOrderUnauthorized creates AddOrderUnauthorized with default headers values.
NewGetAccount creates a new http.Handler for the get account operation.
NewGetAccountDefault creates GetAccountDefault with default headers values.
NewGetAccountOK creates GetAccountOK with default headers values.
NewGetAccountParams creates a new GetAccountParams object There are no default values defined in the spec.
NewGetAccountUnauthorized creates GetAccountUnauthorized with default headers values.
NewGetItems creates a new http.Handler for the get items operation.
NewGetItemsDefault creates GetItemsDefault with default headers values.
NewGetItemsOK creates GetItemsOK with default headers values.
NewGetItemsParams creates a new GetItemsParams object There are no default values defined in the spec.
NewGetOrder creates a new http.Handler for the get order operation.
NewGetOrderDefault creates GetOrderDefault with default headers values.
NewGetOrderForbidden creates GetOrderForbidden with default headers values.
NewGetOrderOK creates GetOrderOK with default headers values.
NewGetOrderParams creates a new GetOrderParams object There are no default values defined in the spec.
NewGetOrdersForItem creates a new http.Handler for the get orders for item operation.
NewGetOrdersForItemDefault creates GetOrdersForItemDefault with default headers values.
NewGetOrdersForItemForbidden creates GetOrdersForItemForbidden with default headers values.
NewGetOrdersForItemOK creates GetOrdersForItemOK with default headers values.
NewGetOrdersForItemParams creates a new GetOrdersForItemParams object There are no default values defined in the spec.
NewGetOrdersForItemUnauthorized creates GetOrdersForItemUnauthorized with default headers values.
NewGetOrderUnauthorized creates GetOrderUnauthorized with default headers values.
NewMultiAuthExampleAPI creates a new MultiAuthExample instance.

# Constants

AddOrderForbiddenCode is the HTTP code returned for type AddOrderForbidden.
AddOrderOKCode is the HTTP code returned for type AddOrderOK.
AddOrderUnauthorizedCode is the HTTP code returned for type AddOrderUnauthorized.
GetAccountOKCode is the HTTP code returned for type GetAccountOK.
GetAccountUnauthorizedCode is the HTTP code returned for type GetAccountUnauthorized.
GetItemsOKCode is the HTTP code returned for type GetItemsOK.
GetOrderForbiddenCode is the HTTP code returned for type GetOrderForbidden.
GetOrderOKCode is the HTTP code returned for type GetOrderOK.
GetOrdersForItemForbiddenCode is the HTTP code returned for type GetOrdersForItemForbidden.
GetOrdersForItemOKCode is the HTTP code returned for type GetOrdersForItemOK.
GetOrdersForItemUnauthorizedCode is the HTTP code returned for type GetOrdersForItemUnauthorized.
GetOrderUnauthorizedCode is the HTTP code returned for type GetOrderUnauthorized.

# Structs

AddOrder swagger:route POST /order/add addOrder post a new order Registered customers should be able to add purchase orders.
AddOrderDefault other error response swagger:response addOrderDefault */.
AddOrderForbidden forbidden access for a lack of sufficient privileges swagger:response addOrderForbidden */.
AddOrderOK empty response swagger:response addOrderOK */.
AddOrderParams contains all the bound params for the add order operation typically these are obtained from a http.Request swagger:parameters AddOrder.
AddOrderUnauthorized unauthorized access for a lack of authentication swagger:response addOrderUnauthorized */.
AddOrderURL generates an URL for the add order operation.
GetAccount swagger:route GET /account getAccount registered user account Every registered user should be able to access this operation */.
GetAccountDefault other error response swagger:response getAccountDefault */.
GetAccountOK registered user personal account infos swagger:response getAccountOK */.
GetAccountParams contains all the bound params for the get account operation typically these are obtained from a http.Request swagger:parameters GetAccount.
GetAccountUnauthorized unauthorized access for a lack of authentication swagger:response getAccountUnauthorized */.
GetAccountURL generates an URL for the get account operation.
GetItems swagger:route GET /items getItems items on sale Everybody should be able to access this operation */.
GetItemsDefault other error response swagger:response getItemsDefault */.
GetItemsOK multiple items swagger:response getItemsOK */.
GetItemsParams contains all the bound params for the get items operation typically these are obtained from a http.Request swagger:parameters GetItems.
GetItemsURL generates an URL for the get items operation.
GetOrder swagger:route GET /order/{orderID} getOrder retrieves an order Only registered customers should be able to retrieve orders */.
GetOrderDefault other error response swagger:response getOrderDefault */.
GetOrderForbidden forbidden access for a lack of sufficient privileges swagger:response getOrderForbidden */.
GetOrderOK content of an order swagger:response getOrderOK */.
GetOrderParams contains all the bound params for the get order operation typically these are obtained from a http.Request swagger:parameters GetOrder.
GetOrdersForItem swagger:route GET /orders/{itemID} getOrdersForItem retrieves all orders for an item Only registered resellers should be able to search orders for an item */.
GetOrdersForItemDefault other error response swagger:response getOrdersForItemDefault */.
GetOrdersForItemForbidden forbidden access for a lack of sufficient privileges swagger:response getOrdersForItemForbidden */.
GetOrdersForItemOK multiple orders swagger:response getOrdersForItemOK */.
GetOrdersForItemParams contains all the bound params for the get orders for item operation typically these are obtained from a http.Request swagger:parameters GetOrdersForItem.
GetOrdersForItemUnauthorized unauthorized access for a lack of authentication swagger:response getOrdersForItemUnauthorized */.
GetOrdersForItemURL generates an URL for the get orders for item operation.
GetOrderUnauthorized unauthorized access for a lack of authentication swagger:response getOrderUnauthorized */.
GetOrderURL generates an URL for the get order operation.
MultiAuthExampleAPI This sample API demonstrates how to compose several authentication schemes and configure complex security requirements for your operations.

# Interfaces

AddOrderHandler interface for that can handle valid add order params.
GetAccountHandler interface for that can handle valid get account params.
GetItemsHandler interface for that can handle valid get items params.
GetOrderHandler interface for that can handle valid get order params.
GetOrdersForItemHandler interface for that can handle valid get orders for item params.

# Type aliases

AddOrderHandlerFunc turns a function with the right signature into a add order handler.
GetAccountHandlerFunc turns a function with the right signature into a get account handler.
GetItemsHandlerFunc turns a function with the right signature into a get items handler.
GetOrderHandlerFunc turns a function with the right signature into a get order handler.
GetOrdersForItemHandlerFunc turns a function with the right signature into a get orders for item handler.