From b71a8a812bbaf892b5e4c37a8648530fe7f04e55 Mon Sep 17 00:00:00 2001 From: "Alex Ellis (VMware)" Date: Thu, 17 May 2018 10:55:41 +0100 Subject: [PATCH] Update swagger definition for envVars EnvVars are incorrectly marked as arrays and this is causing some confusion. Made a fix with Ivana reviewing and tested in Swagger UI. https://github.com/openfaas/faas-netes/issues/204 Signed-off-by: Alex Ellis (VMware) --- api-docs/swagger.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/api-docs/swagger.yml b/api-docs/swagger.yml index 7ba0b8d8..83f8dcf2 100644 --- a/api-docs/swagger.yml +++ b/api-docs/swagger.yml @@ -236,8 +236,8 @@ definitions: type: string description: Process for watchdog to fork envVars: - type: array - items: + type: object + additionalProperties: type: string description: Overrides to environmental variables secrets: @@ -253,3 +253,4 @@ definitions: externalDocs: description: More documentation available on Github url: 'https://github.com/openfaas/faas' + \ No newline at end of file