def swagger(request):  # pylint: disable=unused-argument
    """
    Render Swagger UI and the underlying Open API schema JSON file.
    """
    generator = schemas.SchemaGenerator(title='django-user-tasks REST API')
    return response.Response(generator.get_schema())