From 64a827c169ac8fdb52672076650feb6a2b1ea080 Mon Sep 17 00:00:00 2001 From: David Pashley Date: Mon, 19 Feb 2024 18:24:57 +0100 Subject: [PATCH] Replace the Order/orderLines type The `orderLines` type in the schema was incorrectly set to be `RefundLinesType` which meant that many of the values were not exposed to the user. Fixes #13, fixes #17, fixes #19 --- resources/schemas/modifications/replacements.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/resources/schemas/modifications/replacements.json b/resources/schemas/modifications/replacements.json index 6ad95a45..d7f016ff 100644 --- a/resources/schemas/modifications/replacements.json +++ b/resources/schemas/modifications/replacements.json @@ -42,6 +42,19 @@ } }, "schemas": {} + }, + "orders": { + "components": { + "schemas": { + "Order": { + "properties": { + "orderLines": { + "$ref": "#\/components\/schemas\/OrderLinesType" + } + } + } + } + } } } }