mirror of
https://github.com/openfaas/faas.git
synced 2025-06-10 09:16:48 +00:00
Update Swagger scaling edpoint docs to POST
The scaling endpoint supports POST method, but in Swagger it was documented with GET instead. Also bumped up the gateway version to 0.8.12 Signed-off-by: Ivana Yovcheva (VMware) <iyovcheva@vmware.com>
This commit is contained in:
parent
a99ad5708b
commit
d2087cc701
@ -1,7 +1,7 @@
|
||||
swagger: '2.0'
|
||||
info:
|
||||
description: OpenFaaS API documentation
|
||||
version: 0.8.9
|
||||
version: 0.8.12
|
||||
title: OpenFaaS API Gateway
|
||||
license:
|
||||
name: MIT
|
||||
@ -209,7 +209,7 @@ paths:
|
||||
'500':
|
||||
description: Internal server error
|
||||
'/system/scale-function/{functionName}':
|
||||
get:
|
||||
post:
|
||||
summary: Scale a function
|
||||
parameters:
|
||||
- in: path
|
||||
|
Loading…
x
Reference in New Issue
Block a user