mirror of
https://github.com/openfaas/faas.git
synced 2025-06-18 03:56:37 +00:00
Update swagger for function query
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
This commit is contained in:
committed by
Alex Ellis
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
|
||||
|
Reference in New Issue
Block a user