mirror of
https://github.com/openfaas/faas.git
synced 2025-06-16 21:06:54 +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
|
description: Function not found
|
||||||
'500':
|
'500':
|
||||||
description: Error connecting to function
|
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:
|
definitions:
|
||||||
DeleteFunctionRequest:
|
DeleteFunctionRequest:
|
||||||
type: object
|
type: object
|
||||||
|
@ -3,7 +3,7 @@ services:
|
|||||||
gateway:
|
gateway:
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
image: functions/gateway:0.7.2
|
image: functions/gateway:0.7.3
|
||||||
networks:
|
networks:
|
||||||
- functions
|
- functions
|
||||||
environment:
|
environment:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user