Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Hide Download Button - Redoc Documentation feature! #848

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

saifxd7
Copy link

@saifxd7 saifxd7 commented May 17, 2023

Added

@axnsan12
I see. Issue #820 is a request to add a new setting to the drf-yasg package that allows you to hide the download button from the generated documentation. This request has been merged into the drf-yasg package, so you can now use the hideDownloadButton setting to hide the download button from the generated documentation.

To use the hideDownloadButton setting, you need to add it to the redoc_settings in settings.py. The following is an example of how to do
REDOC_SETTINGS = {
'HIDE_DOWNLOAD_BUTTON': True
}

@saifxd7 saifxd7 changed the title Added Hide Download feature! Added Hide Download Button - Redoc Documentation feature! May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants