Documentation
¶
Overview ¶
Package responseref reproduces go-swagger issue #1109 using the OP's exact "200: order" form, where "order" names a model (not a named response object). Historically this produced an invalid spec with a dangling "$ref: #/responses/order". Today, scanned with -m (ScanModels), codescan's definition-fallback promotes the model name to a body ref ("$ref: #/definitions/order"); without -m the unresolved ref is dropped with a warning rather than emitting an invalid reference.
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: order
Types ¶
Click to show internal directories.
Click to hide internal directories.