aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-11-22 21:05:36 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-11-22 21:05:36 +0100
commit2d37e7fa391679ad4daa0725d2af9681e4dd9635 (patch)
tree1cdb6f21c3ff97460084483f2a29d5941bc89059
parent4f473f43c979c58e57184a2aab4f2a322f607b29 (diff)
downloadgarage-2d37e7fa391679ad4daa0725d2af9681e4dd9635.tar.gz
garage-2d37e7fa391679ad4daa0725d2af9681e4dd9635.zip
convert showsecretkey from bool to enum
-rw-r--r--doc/api/garage-admin-v1.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/api/garage-admin-v1.yml b/doc/api/garage-admin-v1.yml
index 52b2faae..078da5da 100644
--- a/doc/api/garage-admin-v1.yml
+++ b/doc/api/garage-admin-v1.yml
@@ -382,9 +382,12 @@ paths:
- name: showSecretKey
in: query
schema:
- type: boolean
- default: false
- example: true
+ type: string
+ default: "false"
+ enum:
+ - "true"
+ - "false"
+ example: "true"
required: false
description: "Wether or not the secret key should be returned in the response"
responses: