diff --git a/api-docs/spec.openapi.yml b/api-docs/spec.openapi.yml index 1e251e4a..0454c5bf 100644 --- a/api-docs/spec.openapi.yml +++ b/api-docs/spec.openapi.yml @@ -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