Fixed formating errors. Swagger still isn't liking multiple OrderLine entries (duplciate key error)

This commit is contained in:
RaggedStaff
2024-05-02 13:10:35 +01:00
parent aeb4825479
commit 09a98b2820
+2 -2
View File
@@ -610,7 +610,7 @@ paths:
dfc-b:totalTheoreticalStock: 0.0 dfc-b:totalTheoreticalStock: 0.0
dfc-b:image: http://test.host/rails/active_storage/url/logo-white.png dfc-b:image: http://test.host/rails/active_storage/url/logo-white.png
'404': '404':
description: Any offered product or service. For example: a carrot, a box of fruits, or soap. description: "Any offered product or service. For example: a carrot, a box of fruits, or soap."
put: put:
summary: Update SuppliedProduct summary: Update SuppliedProduct
parameters: [] parameters: []
@@ -768,7 +768,7 @@ paths:
dfc-b:hasUnit: GBP dfc-b:hasUnit: GBP
dfc-b:value: 19.95 dfc-b:value: 19.95
dfc-b:VATrate: 0.0 dfc-b:VATrate: 0.0
dfc-b: discount: 0.00 dfc-b:discount: 0.00
dfc-b:hasPart: http://test.host/api/dfc/enterprises/{enterprise_id}/orderlines/10001-02 dfc-b:hasPart: http://test.host/api/dfc/enterprises/{enterprise_id}/orderlines/10001-02
'404': '404':
description: An order is a confirmation of a transaction (a receipt), which can contain multiple line items, each represented by an Offer that has been accepted by the customer. description: An order is a confirmation of a transaction (a receipt), which can contain multiple line items, each represented by an Offer that has been accepted by the customer.