mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 00:36:46 +00:00
chore: add missing List Namespaces endpoint
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
This commit is contained in:
parent
373a79256f
commit
c0d710c97f
@ -351,6 +351,22 @@ paths:
|
|||||||
'500':
|
'500':
|
||||||
description: Internal Server Error
|
description: Internal Server Error
|
||||||
|
|
||||||
|
"/system/namespaces":
|
||||||
|
get:
|
||||||
|
operationId: ListNamespaces
|
||||||
|
description: Get a list of namespaces
|
||||||
|
tags:
|
||||||
|
- system
|
||||||
|
responses:
|
||||||
|
'200':
|
||||||
|
description: List of namespaces
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: '#/components/schemas/ListNamespaceResponse'
|
||||||
|
'500':
|
||||||
|
description: Internal Server Error
|
||||||
|
|
||||||
"/async-function/{functionName}":
|
"/async-function/{functionName}":
|
||||||
post:
|
post:
|
||||||
operationId: InvokeAsync
|
operationId: InvokeAsync
|
||||||
@ -966,3 +982,10 @@ components:
|
|||||||
text:
|
text:
|
||||||
type: string
|
type: string
|
||||||
description: raw log message content
|
description: raw log message content
|
||||||
|
|
||||||
|
ListNamespaceResponse:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
description: Namespace name
|
||||||
|
example: openfaas-fn
|
||||||
|
Loading…
x
Reference in New Issue
Block a user