{% load custom_filters %} {% for stylesheet in stylesheets %} {% endfor %} {% for script in scripts %} {% endfor %} # {{ method|upper }} {{ path }} {{ method|format_method_badge|safe }} `{{ path }}` **View class:** {{ viewset_name }} {% if summary %} ## Overview {{ summary }} {% endif %} {% if operation_id %} **Operation ID:** `{{ operation_id }}` {% endif %} {% include "endpoints/detail/permissions.html" %} {% if description %} {{ description|format_description }} {% endif %} {% include "endpoints/detail/path_parameters.html" %} {% include "endpoints/detail/query_parameters.html" %} {% include "endpoints/detail/request_body.html" %} {% if request_schema_tree or response_schema_tree or request_schema_fields or response_schema_fields %} {% include "endpoints/detail/schema.html" %} {% endif %} {% include "endpoints/detail/responses.html" %} {% if enable_auto_auth %} // Auto-authentication configuration window.DRF_TO_MKDOC_AUTH_CONFIG = { enabled: {{ enable_auto_auth|yesno:"true,false" }}, authRequired: {{ auth_required|yesno:"true,false" }}, }; {% if auth_function_js %} {{ auth_function_js|safe }} {% endif %} {% endif %} {% include 'try-out/main.html' %}