diff --git a/arkindex/templates/redoc.html b/arkindex/templates/redoc.html index 979207a30f4d086a801e36c0502f91afe0aa61c5..e98ecb41850dce68e67baf2ad428c9f81ea3602e 100644 --- a/arkindex/templates/redoc.html +++ b/arkindex/templates/redoc.html @@ -16,8 +16,8 @@ </style> </head> <body> - <!-- Add ?format=yaml to make ReDoc's download button get a YAML file, not HTML --> - <redoc spec-url="{% url 'api:openapi-schema' %}?format=yaml"></redoc> + <!-- Add ?format=json to make ReDoc's download button get a JSON file, not HTML --> + <redoc spec-url="{% url 'api:openapi-schema' %}?format=json"></redoc> <script src="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js"> </script> </body> </html>