From 39a4c1a5d06f7fccaa75b3ce90c25e54b4484c1d Mon Sep 17 00:00:00 2001 From: aaron-collier Date: Fri, 27 Mar 2020 16:57:31 -0700 Subject: [PATCH] Valided workflow_tempaltes as array of Workflow --- openapi.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/openapi.yml b/openapi.yml index 3f9596a9..07398486 100644 --- a/openapi.yml +++ b/openapi.yml @@ -404,7 +404,12 @@ paths: content: application/json: schema: - type: string + type: array + items: + type: object + properties: + externalIdentifier: + $ref: '#/components/schemas/Workflow' /workflow_templates/{workflow}: get: summary: Retrieve workflow template for given workflow