aboutsummaryrefslogtreecommitdiff
path: root/doc/api/garage-admin-v0.yml
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-09-12 17:24:44 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-11-11 09:22:36 +0100
commit5f0928f89c0e8bba21464fe569689e049607e1ae (patch)
tree7d8404b01f7013474903680aafc2abd0d06b08ac /doc/api/garage-admin-v0.yml
parent0a01b34e8119ff9e6c3f922f0434d8c80af20b45 (diff)
downloadgarage-5f0928f89c0e8bba21464fe569689e049607e1ae.tar.gz
garage-5f0928f89c0e8bba21464fe569689e049607e1ae.zip
Declare Authorization scheme in OpenAPI
Diffstat (limited to 'doc/api/garage-admin-v0.yml')
-rw-r--r--doc/api/garage-admin-v0.yml13
1 files changed, 9 insertions, 4 deletions
diff --git a/doc/api/garage-admin-v0.yml b/doc/api/garage-admin-v0.yml
index 5e2f1940..64c519dd 100644
--- a/doc/api/garage-admin-v0.yml
+++ b/doc/api/garage-admin-v0.yml
@@ -429,11 +429,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/KeyInfo'
-
-
+ $ref: '#/components/schemas/KeyInfo'
components:
+ securitySchemes:
+ bearerAuth:
+ type: http
+ scheme: bearer
schemas:
NodeNetworkInfo:
type: object
@@ -554,7 +556,10 @@ components:
owner:
type: boolean
example: false
-
+
+security:
+ - bearerAuth: []
+
servers:
- description: A local server
url: http://localhost:3903/v0/