mirror of
https://github.com/openfaas/faas.git
synced 2025-06-18 20:16:37 +00:00
Clean up docs and refactor createhandler
**What** - Add a description for the secret key to the api swagger spec. - Remove optional examples from the secret management guide. - Update the ApiKeyProtected README to point at the new guide. - Refactor the `makeSpec` function to accept the already assembled secrets array because this should be easier to unit test. Signed-off-by: Lucas Roesler <lucas.roesler@gmail.com>
This commit is contained in:
committed by
Alex Ellis
parent
5dce1deb21
commit
35f0e9e657
@ -229,6 +229,7 @@ definitions:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
description: An array of names of secrets that are required to be loaded from the Docker Swarm.
|
||||
registryAuth:
|
||||
type: string
|
||||
description: >-
|
||||
|
Reference in New Issue
Block a user