mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 12:58:02 +08:00
fix(apikey): show api key configuration in mgmt API (#2138)
Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
This commit is contained in:
@@ -1308,6 +1308,9 @@ const docTemplate = `{
|
||||
"extensions.Auth": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apikey": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"bearer": {
|
||||
"$ref": "#/definitions/extensions.BearerConfig"
|
||||
},
|
||||
|
||||
@@ -1299,6 +1299,9 @@
|
||||
"extensions.Auth": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apikey": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"bearer": {
|
||||
"$ref": "#/definitions/extensions.BearerConfig"
|
||||
},
|
||||
|
||||
@@ -101,6 +101,8 @@ definitions:
|
||||
type: object
|
||||
extensions.Auth:
|
||||
properties:
|
||||
apikey:
|
||||
type: boolean
|
||||
bearer:
|
||||
$ref: '#/definitions/extensions.BearerConfig'
|
||||
htpasswd:
|
||||
|
||||
Reference in New Issue
Block a user