mirror of
https://github.com/openfaas/faas.git
synced 2025-06-08 16:26:47 +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':
|
||||
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}":
|
||||
post:
|
||||
operationId: InvokeAsync
|
||||
@ -966,3 +982,10 @@ components:
|
||||
text:
|
||||
type: string
|
||||
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