[Update] 修改settings DEFAULT_AUTO_SCHEMA_CLASS 路径 (#3518)

This commit is contained in:
BaiJiangJie
2019-12-09 16:33:02 +08:00
committed by GitHub
parent cea336a8ce
commit b2932803b0

View File

@@ -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': {