Skip to content

Commit 3f740c8

Browse files
committed
fix: schema access failure to https
1 parent f6e089d commit 3f740c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/smartdoc/settings/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686

8787
SWAGGER_SETTINGS = {
8888
'DEFAULT_AUTO_SCHEMA_CLASS': 'common.config.swagger_conf.CustomSwaggerAutoSchema',
89+
'DEFAULT_GENERATOR_CLASS': 'common.config.swagger_conf.CustomOpenAPISchemaGenerator',
8990
"DEFAULT_MODEL_RENDERING": "example",
9091
'USE_SESSION_AUTH': False,
9192
'SECURITY_DEFINITIONS': {

0 commit comments

Comments
 (0)