We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa6a5e4 commit 85458e0Copy full SHA for 85458e0
src/Symfony/Bundle/Resources/views/SwaggerUi/index.html.twig
@@ -81,7 +81,7 @@
81
{% endfor %}
82
<br>
83
Other API docs:
84
- {% set active_ui = app.request.get('ui', 'swagger_ui') %}
+ {% set active_ui = app.request.query.get('ui', 'swagger_ui') %}
85
{% if swaggerUiEnabled and active_ui != 'swagger_ui' %}<a href="{{ path('api_doc') }}">Swagger UI</a>{% endif %}
86
{% if reDocEnabled and active_ui != 're_doc' %}<a href="{{ path('api_doc', {'ui': 're_doc'}) }}">ReDoc</a>{% endif %}
87
{% if not graphQlEnabled or graphiQlEnabled %}<a {% if graphiQlEnabled %}href="{{ path('api_graphql_graphiql') }}"{% endif %} class="graphiql-link">GraphiQL</a>{% endif %}
0 commit comments