swagger response togirlandi

This commit is contained in:
behruz-dev
2025-11-26 14:38:28 +05:00
parent ee9b626666
commit 830ab74b80
3 changed files with 29 additions and 27 deletions

View File

@@ -1,3 +1,4 @@
from .rest_framework import *
from .corsheaders import *
from .simple_jwt import *
from .simple_jwt import *
from .drf_yasg import *

3
config/conf/drf_yasg.py Normal file
View File

@@ -0,0 +1,3 @@
SWAGGER_SETTINGS = {
'DEFAULT_MODEL_RENDERING': 'example'
}