Update swagger for function query

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis (VMware) 2018-02-28 21:29:58 +00:00 committed by Alex Ellis
parent b67d0526ce
commit 1e4b0e3c0b
2 changed files with 17 additions and 1 deletions

View File

@ -197,6 +197,22 @@ paths:
description: Function not found
'500':
description: Error connecting to function
'/system/function/{functionName}':
get:
summary: Get a summary of an OpenFaaS function
parameters:
- in: path
name: functionName
description: Function name
type: string
required: true
responses:
'200':
description: Function definition
'404':
description: Function not found
'500':
description: Error querying function
definitions:
DeleteFunctionRequest:
type: object

View File

@ -3,7 +3,7 @@ services:
gateway:
ports:
- 8080:8080
image: functions/gateway:0.7.2
image: functions/gateway:0.7.3
networks:
- functions
environment: