mirror of
https://github.com/openfaas/faas.git
synced 2025-06-16 04:06:47 +00:00
Update swagger for function query
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
This commit is contained in:
parent
b67d0526ce
commit
1e4b0e3c0b
@ -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
|
||||
|
@ -3,7 +3,7 @@ services:
|
||||
gateway:
|
||||
ports:
|
||||
- 8080:8080
|
||||
image: functions/gateway:0.7.2
|
||||
image: functions/gateway:0.7.3
|
||||
networks:
|
||||
- functions
|
||||
environment:
|
||||
|
Loading…
x
Reference in New Issue
Block a user