File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Bridge/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 10
10
<link rel =" stylesheet" href =" {{ asset(' bundles/apiplatform/style.css' ) }}" >
11
11
{% endblock %}
12
12
13
- {% set oauthData = {' oauth' : swagger_data .oauth |merge ({' redirectUrl' : absolute_url(asset(' bundles/apiplatform/swagger-ui/oauth2-redirect.html' )) })} %}
13
+ {% set oauth_data = {' oauth' : swagger_data .oauth |merge ({' redirectUrl' : absolute_url(asset(' bundles/apiplatform/swagger-ui/oauth2-redirect.html' )) })} %}
14
14
{# json_encode(65) is for JSON_UNESCAPED_SLASHES|JSON_HEX_TAG to avoid JS XSS #}
15
- <script id =" swagger-data" type =" application/json" >{{ swagger_data | merge (oauthData )| json_encode(65 )| raw }}</script >
15
+ <script id =" swagger-data" type =" application/json" >{{ swagger_data | merge (oauth_data )| json_encode(65 )| raw }}</script >
16
16
</head >
17
17
18
18
<body >
You can’t perform that action at this time.
0 commit comments