Returns schema view which renders Swagger/OpenAPI.

def get_swagger_view(title=None, url=None, generator_class=SchemaGenerator):
    """
    Returns schema view which renders Swagger/OpenAPI.
    """
    return schemas.get_schema_view(
        title=title,
        url=url,
        renderer_classes=[
            CoreJSONRenderer,
            renderers.OpenAPIRenderer,
            renderers.SwaggerUIRenderer],
        generator_class=generator_class)