def set_context(self, renderer_context, swagger=None):
    super(SwaggerUIRenderer, self).set_context(renderer_context, swagger)
    renderer_context['swagger_settings'] = json.dumps(self.get_swagger_ui_settings())
def set_context(self, renderer_context, swagger=None):
    super(SwaggerUIRenderer, self).set_context(renderer_context, swagger)
    renderer_context['swagger_settings'] = json.dumps(self.get_swagger_ui_settings())