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

pull/3523/head
BaiJiangJie 5 years ago committed by GitHub
parent cea336a8ce
commit b2932803b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save