root: fix duplicate enum in api scheme
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
5eeaac1ad9
commit
3554406aa5
|
@ -166,6 +166,7 @@ SPECTACULAR_SETTINGS = {
|
||||||
"PolicyEngineMode": "authentik.policies.models.PolicyEngineMode",
|
"PolicyEngineMode": "authentik.policies.models.PolicyEngineMode",
|
||||||
"ProxyMode": "authentik.providers.proxy.models.ProxyMode",
|
"ProxyMode": "authentik.providers.proxy.models.ProxyMode",
|
||||||
"PromptTypeEnum": "authentik.stages.prompt.models.FieldTypes",
|
"PromptTypeEnum": "authentik.stages.prompt.models.FieldTypes",
|
||||||
|
"LDAPAPIAccessMode": "authentik.providers.ldap.models.APIAccessMode",
|
||||||
},
|
},
|
||||||
"ENUM_ADD_EXPLICIT_BLANK_NULL_CHOICE": False,
|
"ENUM_ADD_EXPLICIT_BLANK_NULL_CHOICE": False,
|
||||||
"POSTPROCESSING_HOOKS": [
|
"POSTPROCESSING_HOOKS": [
|
||||||
|
|
31
schema.yml
31
schema.yml
|
@ -20068,11 +20068,6 @@ components:
|
||||||
- authentik.core.auth.TokenBackend
|
- authentik.core.auth.TokenBackend
|
||||||
- authentik.sources.ldap.auth.LDAPBackend
|
- authentik.sources.ldap.auth.LDAPBackend
|
||||||
type: string
|
type: string
|
||||||
BindModeEnum:
|
|
||||||
enum:
|
|
||||||
- direct
|
|
||||||
- cached
|
|
||||||
type: string
|
|
||||||
BindingTypeEnum:
|
BindingTypeEnum:
|
||||||
enum:
|
enum:
|
||||||
- REDIRECT
|
- REDIRECT
|
||||||
|
@ -22311,6 +22306,11 @@ components:
|
||||||
the currently selected context.
|
the currently selected context.
|
||||||
required:
|
required:
|
||||||
- name
|
- name
|
||||||
|
LDAPAPIAccessMode:
|
||||||
|
enum:
|
||||||
|
- direct
|
||||||
|
- cached
|
||||||
|
type: string
|
||||||
LDAPOutpostConfig:
|
LDAPOutpostConfig:
|
||||||
type: object
|
type: object
|
||||||
description: LDAPProvider Serializer
|
description: LDAPProvider Serializer
|
||||||
|
@ -22356,9 +22356,9 @@ components:
|
||||||
for POSIX groups. Default is 4000 to ensure that we don't collide with
|
for POSIX groups. Default is 4000 to ensure that we don't collide with
|
||||||
local groups or users primary groups gidNumber
|
local groups or users primary groups gidNumber
|
||||||
search_mode:
|
search_mode:
|
||||||
$ref: '#/components/schemas/SearchModeEnum'
|
$ref: '#/components/schemas/LDAPAPIAccessMode'
|
||||||
bind_mode:
|
bind_mode:
|
||||||
$ref: '#/components/schemas/BindModeEnum'
|
$ref: '#/components/schemas/LDAPAPIAccessMode'
|
||||||
required:
|
required:
|
||||||
- application_slug
|
- application_slug
|
||||||
- bind_flow_slug
|
- bind_flow_slug
|
||||||
|
@ -22509,9 +22509,9 @@ components:
|
||||||
type: string
|
type: string
|
||||||
readOnly: true
|
readOnly: true
|
||||||
search_mode:
|
search_mode:
|
||||||
$ref: '#/components/schemas/SearchModeEnum'
|
$ref: '#/components/schemas/LDAPAPIAccessMode'
|
||||||
bind_mode:
|
bind_mode:
|
||||||
$ref: '#/components/schemas/BindModeEnum'
|
$ref: '#/components/schemas/LDAPAPIAccessMode'
|
||||||
required:
|
required:
|
||||||
- assigned_application_name
|
- assigned_application_name
|
||||||
- assigned_application_slug
|
- assigned_application_slug
|
||||||
|
@ -22571,9 +22571,9 @@ components:
|
||||||
for POSIX groups. Default is 4000 to ensure that we don't collide with
|
for POSIX groups. Default is 4000 to ensure that we don't collide with
|
||||||
local groups or users primary groups gidNumber
|
local groups or users primary groups gidNumber
|
||||||
search_mode:
|
search_mode:
|
||||||
$ref: '#/components/schemas/SearchModeEnum'
|
$ref: '#/components/schemas/LDAPAPIAccessMode'
|
||||||
bind_mode:
|
bind_mode:
|
||||||
$ref: '#/components/schemas/BindModeEnum'
|
$ref: '#/components/schemas/LDAPAPIAccessMode'
|
||||||
required:
|
required:
|
||||||
- authorization_flow
|
- authorization_flow
|
||||||
- name
|
- name
|
||||||
|
@ -27337,9 +27337,9 @@ components:
|
||||||
for POSIX groups. Default is 4000 to ensure that we don't collide with
|
for POSIX groups. Default is 4000 to ensure that we don't collide with
|
||||||
local groups or users primary groups gidNumber
|
local groups or users primary groups gidNumber
|
||||||
search_mode:
|
search_mode:
|
||||||
$ref: '#/components/schemas/SearchModeEnum'
|
$ref: '#/components/schemas/LDAPAPIAccessMode'
|
||||||
bind_mode:
|
bind_mode:
|
||||||
$ref: '#/components/schemas/BindModeEnum'
|
$ref: '#/components/schemas/LDAPAPIAccessMode'
|
||||||
PatchedLDAPSourceRequest:
|
PatchedLDAPSourceRequest:
|
||||||
type: object
|
type: object
|
||||||
description: LDAP Source Serializer
|
description: LDAP Source Serializer
|
||||||
|
@ -30160,11 +30160,6 @@ components:
|
||||||
- expression
|
- expression
|
||||||
- name
|
- name
|
||||||
- scope_name
|
- scope_name
|
||||||
SearchModeEnum:
|
|
||||||
enum:
|
|
||||||
- direct
|
|
||||||
- cached
|
|
||||||
type: string
|
|
||||||
SelectableStage:
|
SelectableStage:
|
||||||
type: object
|
type: object
|
||||||
description: Serializer for stages which can be selected by users
|
description: Serializer for stages which can be selected by users
|
||||||
|
|
Reference in New Issue