diff --git a/rest_framework/renderers.py b/rest_framework/renderers.py index 206dc0ccf..406dda72c 100644 --- a/rest_framework/renderers.py +++ b/rest_framework/renderers.py @@ -819,7 +819,7 @@ class DocumentationRenderer(BaseRenderer): class SchemaJSRenderer(BaseRenderer): - media_type = 'script/javascript' + media_type = 'application/javascript' format = 'javascript' charset = 'utf-8' template = 'rest_framework/schema.js'