*: replace swagger with openapi

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-05-16 14:13:07 +02:00
parent 0bac738090
commit cac1f242dc
12 changed files with 15 additions and 16 deletions

View File

@ -154,6 +154,7 @@ SPECTACULAR_SETTINGS = {
"ENUM_NAME_OVERRIDES": {
"ChallengeChoices": "authentik.flows.challenge.ChallengeTypes"
},
"ENUM_ADD_EXPLICIT_BLANK_NULL_CHOICE": False
}
REST_FRAMEWORK = {