Customizing the web UIΒΆ
The web UI can be customized using the settings available in Swagger UI settings and ReDoc UI settings.
You can also extend one of the drf-yasg/swagger-ui.html or drf-yasg/redoc.html templates that are used for rendering. See the template source code (linked above) for a complete list of customizable blocks.
The swagger-ui
view has some quite involed JavaScript hooks used for some functionality, which you might also
want to review at drf-yasg/swagger-ui-init.js.