Skip to content

Commit

Permalink
docs: add missing namespace field to the scale request
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
LucasRoesler authored and alexellis committed Jul 19, 2023
1 parent 9e6f814 commit 5c851cd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions api-docs/spec.openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -908,13 +908,18 @@ components:
ScaleServiceRequest:
required:
- serviceName
- namespace
- replicas
type: object
properties:
serviceName:
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
Expand Down

0 comments on commit 5c851cd

Please sign in to comment.