File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Symfony/Bundle/Resources/views/SwaggerUi Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 8282 <br >
8383 Other API docs:
8484 {% set active_ui = app .request .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 %}
85+ {% if swaggerUiEnabled and active_ui != ' swagger_ui' %}<a href =" {{ path(originalRoute , originalRouteParams ) }}" >Swagger UI</a >{% endif %}
86+ {% if reDocEnabled and active_ui != ' re_doc' %}<a href =" {{ path(originalRoute , originalRouteParams | merge ( {' ui' : ' re_doc' }) ) }}" >ReDoc</a >{% endif %}
8787 {% if not graphQlEnabled or graphiQlEnabled %}<a {% if graphiQlEnabled %}href =" {{ path(' api_graphql_graphiql' ) }}" {% endif %} class =" graphiql-link" >GraphiQL</a >{% endif %}
8888 </div >
8989 </div >
You can’t perform that action at this time.
0 commit comments