Documentation
¶
Overview ¶
Package bodyref reproduces go-swagger issue #1109 using casualjim's recommended "200: body:order" form, which references a model as the response body. Scanned with -m, codescan emits a 200 response with "schema: $ref #/definitions/order" and the order definition.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateOrder ¶
func UpdateOrder()
UpdateOrder swagger:route PUT /orders/{id} orders updateOrder
Updates an order.
Responses:
200: body:order
Types ¶
Click to show internal directories.
Click to hide internal directories.