mirror of https://github.com/jumpserver/jumpserver
[Update] 修改settings DEFAULT_AUTO_SCHEMA_CLASS 路径 (#3518)
parent
cea336a8ce
commit
b2932803b0
|
@ -44,7 +44,7 @@ REST_FRAMEWORK = {
|
|||
}
|
||||
|
||||
SWAGGER_SETTINGS = {
|
||||
'DEFAULT_AUTO_SCHEMA_CLASS': 'jumpserver.swagger.CustomSwaggerAutoSchema',
|
||||
'DEFAULT_AUTO_SCHEMA_CLASS': 'jumpserver.views.swagger.CustomSwaggerAutoSchema',
|
||||
'USE_SESSION_AUTH': True,
|
||||
'SECURITY_DEFINITIONS': {
|
||||
'Bearer': {
|
||||
|
|
Loading…
Reference in New Issue