From 7f7e2310d62c5e0ffc6a50d35962e47a66aac3a0 Mon Sep 17 00:00:00 2001 From: ghostoverflow256 <46546505+GhostDog98@users.noreply.github.com> Date: Wed, 5 Nov 2025 12:32:53 +1100 Subject: [PATCH] Fix swagger.yml file After commit a8a7f6c931a11a0338cab9d6dd86298da017ad81 the swagger.yml is no longer valid. If we look after that commit: ``` MultiOpBatchRecipe: type: object properties: input: type: array items: string example: "input for recipe" recipe: type: array items: $ref: "#/components/schemas/Operation" ``` Versus before: ``` MultiOpBatchRecipe: type: object properties: input: type: string example: "input for recipe" recipe: type: array items: $ref: "#/components/schemas/Operation" ``` ** Fix ** Change multiopbatchrecipe to use an object in items. --- swagger.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/swagger.yml b/swagger.yml index fb8e871..98ed36d 100644 --- a/swagger.yml +++ b/swagger.yml @@ -228,7 +228,9 @@ components: properties: input: type: array - items: string + items: + type: string + description: "Input string(s) for recipe" example: "input for recipe" recipe: type: array @@ -344,4 +346,4 @@ components: timestamp: type: string - \ No newline at end of file +