From 5c851cdf317551b599dc2b930cbf71c2879262fc Mon Sep 17 00:00:00 2001 From: Lucas Roesler Date: Sat, 15 Jul 2023 10:18:00 +0200 Subject: [PATCH] docs: add missing namespace field to the scale request The ScaleFunction request supports specifying the function namespace. This is now included in the API spec. Signed-off-by: Lucas Roesler --- api-docs/spec.openapi.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/api-docs/spec.openapi.yml b/api-docs/spec.openapi.yml index 0454c5bf..8b2a1691 100644 --- a/api-docs/spec.openapi.yml +++ b/api-docs/spec.openapi.yml @@ -908,6 +908,7 @@ components: ScaleServiceRequest: required: - serviceName + - namespace - replicas type: object properties: @@ -915,6 +916,10 @@ components: type: string description: Name of deployed function example: nodeinfo + namespace: + type: string + description: Namespace the function is deployed to. + example: openfaas-fn replicas: type: integer format: int64