{% block head_metas %} {% endblock %} {% block title %} {% if title %}{{ title }} - {% endif %}API Platform {% endblock %} {% block stylesheet %} {% endblock %} {% set oauth_data = {'oauth': swagger_data.oauth|merge({'redirectUrl' : absolute_url(asset('bundles/apiplatform/swagger-ui/oauth2-redirect.html', assetPackage)) })} %} {% block head_javascript %} {# json_encode(65) is for JSON_UNESCAPED_SLASHES|JSON_HEX_TAG to avoid JS XSS #} {% endblock %} {% block header %}
{% endblock %} {% if showWebby %}
{% endif %}
Available formats: {% for format in formats|keys %} {{ format }} {% endfor %}
Other API docs: {% set active_ui = app.request.get('ui', 'swagger_ui') %} {% if swaggerUiEnabled and active_ui != 'swagger_ui' %}Swagger UI{% endif %} {% if reDocEnabled and active_ui != 're_doc' %}ReDoc{% endif %} {% if not graphQlEnabled or graphiQlEnabled %}GraphiQL{% endif %} {% if graphQlPlaygroundEnabled %}GraphQL Playground (deprecated){% endif %}
{% block javascript %} {% if (reDocEnabled and not swaggerUiEnabled) or (reDocEnabled and 're_doc' == active_ui) %} {% else %} {% endif %} {% endblock %}