Unverified Commit b2932803 authored by BaiJiangJie's avatar BaiJiangJie Committed by GitHub

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

parent cea336a8
...@@ -44,7 +44,7 @@ REST_FRAMEWORK = { ...@@ -44,7 +44,7 @@ REST_FRAMEWORK = {
} }
SWAGGER_SETTINGS = { SWAGGER_SETTINGS = {
'DEFAULT_AUTO_SCHEMA_CLASS': 'jumpserver.swagger.CustomSwaggerAutoSchema', 'DEFAULT_AUTO_SCHEMA_CLASS': 'jumpserver.views.swagger.CustomSwaggerAutoSchema',
'USE_SESSION_AUTH': True, 'USE_SESSION_AUTH': True,
'SECURITY_DEFINITIONS': { 'SECURITY_DEFINITIONS': {
'Bearer': { 'Bearer': {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment