docs(swagger): update swagger docs

pull/1188/merge
Anthony Lapenna 2017-10-02 18:21:42 +02:00
parent 3e99fae070
commit c6341eead0
1 changed files with 24 additions and 1 deletions

View File

@ -1889,7 +1889,14 @@ definitions:
type: "integer" type: "integer"
example: 1 example: 1
description: "Active authentication method for the Portainer instance. Valid values are: 1 for managed or 2 for LDAP." description: "Active authentication method for the Portainer instance. Valid values are: 1 for managed or 2 for LDAP."
AllowBindMountsForRegularUsers:
type: "boolean"
example: false
description: "Whether non-administrator should be able to use bind mounts when creating containers"
AllowPrivilegedModeForRegularUsers:
type: "boolean"
example: true
description: "Whether non-administrator should be able to use privileged mode when creating containers"
TLSConfiguration: TLSConfiguration:
type: "object" type: "object"
properties: properties:
@ -1987,6 +1994,14 @@ definitions:
description: "Active authentication method for the Portainer instance. Valid values are: 1 for managed or 2 for LDAP." description: "Active authentication method for the Portainer instance. Valid values are: 1 for managed or 2 for LDAP."
LDAPSettings: LDAPSettings:
$ref: "#/definitions/LDAPSettings" $ref: "#/definitions/LDAPSettings"
AllowBindMountsForRegularUsers:
type: "boolean"
example: false
description: "Whether non-administrator should be able to use bind mounts when creating containers"
AllowPrivilegedModeForRegularUsers:
type: "boolean"
example: true
description: "Whether non-administrator should be able to use privileged mode when creating containers"
Settings_BlackListedLabels: Settings_BlackListedLabels:
properties: properties:
name: name:
@ -2394,6 +2409,14 @@ definitions:
description: "Active authentication method for the Portainer instance. Valid values are: 1 for managed or 2 for LDAP." description: "Active authentication method for the Portainer instance. Valid values are: 1 for managed or 2 for LDAP."
LDAPSettings: LDAPSettings:
$ref: "#/definitions/LDAPSettings" $ref: "#/definitions/LDAPSettings"
AllowBindMountsForRegularUsers:
type: "boolean"
example: true
description: "Whether non-administrator users should be able to use bind mounts when creating containers"
AllowPrivilegedModeForRegularUsers:
type: "boolean"
example: true
description: "Whether non-administrator users should be able to use privileged mode when creating containers"
UserCreateRequest: UserCreateRequest:
type: "object" type: "object"
required: required: