You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
swagger: '2.0'info:
title: Reference parametersversion: v0.0.1paths:
'/orders/{orderId}/order-items/{orderItemId}':
parameters:
- $ref: '#/parameters/OrderId'
- $ref: '#/parameters/OrderItemId'delete:
summary: Delete an order itemdescription: >- This method allows to remove an order item from an order, by specifying their ids.responses:
"204":
description: No Content.default:
description: Default responseschema:
$ref: '#/definitions/Error'definitions:
Error:
type: objectproperties:
message:
type: stringparameters:
OrderId:
name: orderIdin: pathdescription: Identifier of the order.required: truetype: stringformat: uuidOrderItemId:
name: orderItemIdin: pathdescription: Identifier of the order item.required: truetype: stringformat: uuid
Generated code:
publicinterfaceIReferenceparameters{/// <summary>/// This method allows to remove an order item from an order, by specifying their ids./// </summary>[Delete("/orders/{orderId}/order-items/{orderItemId}")]TaskOrderItems();}
missing orderId and orderItemId path parameters
The text was updated successfully, but these errors were encountered:
This was pointed out to me by @kgamecarter
Example YAML:
Generated code:
missing orderId and orderItemId path parameters
The text was updated successfully, but these errors were encountered: