diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-09-12 17:24:44 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-11-11 09:22:36 +0100 |
commit | 5f0928f89c0e8bba21464fe569689e049607e1ae (patch) | |
tree | 7d8404b01f7013474903680aafc2abd0d06b08ac | |
parent | 0a01b34e8119ff9e6c3f922f0434d8c80af20b45 (diff) | |
download | garage-5f0928f89c0e8bba21464fe569689e049607e1ae.tar.gz garage-5f0928f89c0e8bba21464fe569689e049607e1ae.zip |
Declare Authorization scheme in OpenAPI
-rw-r--r-- | doc/api/garage-admin-v0.yml | 13 |
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/ |