Last active
April 14, 2021 06:48
-
-
Save KimSoungRyoul/2088182fbdc40114ee717697747b58ed to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# settings.py | |
INSTALLED_APPS = [ | |
# ... | |
'rest_framework', | |
'drf_spectacular', | |
# ... | |
] | |
REST_FRAMEWORK = { | |
# YOUR SETTINGS drf의 schema 클래스를 drf-specacular의 AutoSchema로 교체해줍니다. | |
'DEFAULT_SCHEMA_CLASS': 'drf_spectacular.openapi.AutoSchema', | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment