diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-11-22 21:05:36 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-11-22 21:05:36 +0100 |
commit | 2d37e7fa391679ad4daa0725d2af9681e4dd9635 (patch) | |
tree | 1cdb6f21c3ff97460084483f2a29d5941bc89059 /doc/api | |
parent | 4f473f43c979c58e57184a2aab4f2a322f607b29 (diff) | |
download | garage-2d37e7fa391679ad4daa0725d2af9681e4dd9635.tar.gz garage-2d37e7fa391679ad4daa0725d2af9681e4dd9635.zip |
convert showsecretkey from bool to enum
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/garage-admin-v1.yml | 9 |
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: |