Skip to content

Allow configuration of DefaultRouter's root view renderer classes #4268

@marcgibbons

Description

@marcgibbons

Currently, we can set the schema_renderer classes as kwargs on the DefaultRouter, but can't override the renderer classes used on the root view which comes from the settings.

https://github.com/tomchristie/django-rest-framework/blob/master/rest_framework/routers.py#L292

It would be desirable to replace BrowsableAPI renderer with the SwaggerUI html renderer in Django REST Swagger.

Referencing issue:
marcgibbons/django-rest-swagger#479 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy