          accepted_media_type = getattr(self, 'accepted_media_type', None)
          context = getattr(self, 'renderer_context', None)
  
          assert renderer, ".accepted_renderer not set on Response"
          assert context, ".renderer_context not set on Response"
          context['response'] = self
  
          media_type = renderer.media_type
 
</s> remove         ret = renderer.render(self.data, media_type, context)
 </s> add         ret = renderer.render(self.data, accepted_media_type, context) </s> remove         self.renderers = [MockJSONRenderer(), MockHTMLRenderer()]
 </s> add         self.renderers = [MockJSONRenderer(), MockHTMLRenderer(), MockOpenAPIRenderer()]
        assert accepted_media_type, ".accepted_media_type not set on Response"
          accepted_media_type = getattr(self, 'accepted_media_type', None)
          context = getattr(self, 'renderer_context', None)
  
          assert renderer, ".accepted_renderer not set on Response"
        assert accepted_media_type, ".accepted_media_type not set on Response"
          assert context, ".renderer_context not set on Response"
          context['response'] = self
  
          media_type = renderer.media_type
keep keep keep add keep keep keep keep
 Fix json indent parameter. Closes #4281 (#4313) 
rest_framework/response.py