mirror of
https://github.com/openfaas/faas.git
synced 2025-06-08 08:25:03 +00:00
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 <roesler.lucas@gmail.com>
This commit is contained in:
parent
9e6f814f6f
commit
5c851cdf31
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user