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.
@@ -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
