Skip to content

Commit 84c5f05

Browse files
author
Stanislav Idolov
committed
1 parent 84d0875 commit 84c5f05

File tree

1 file changed

+4
-1
lines changed
  • app/code/Magento/Swagger/view/frontend/templates/swagger-ui

1 file changed

+4
-1
lines changed

app/code/Magento/Swagger/view/frontend/templates/swagger-ui/index.phtml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<?php
22
/**
3+
* Copyright © Magento, Inc. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*
36
* swagger-ui - Swagger UI is a dependency-free collection of HTML, JavaScript, and CSS
47
* assets that dynamically generate beautiful documentation from a Swagger-compliant API
58
*
@@ -21,7 +24,7 @@ $schemaUrl = $block->getSchemaUrl();
2124
<div class="swagger-ui-wrap">
2225
<a id="logo" href="http://swagger.io">swagger</a>
2326
<form id='api_selector'>
24-
<input id="input_baseUrl" type="hidden" value="<?= /* @escapeNotVerified */ $schemaUrl ?>"/>
27+
<input id="input_baseUrl" type="hidden" value="<?php /* @escapeNotVerified */ echo $schemaUrl ?>"/>
2528
<div class='input'><input placeholder="api_key" id="input_apiKey" name="apiKey" type="text"/></div>
2629
<div class='input'><a id="explore" href="#" data-sw-translate>apply</a></div>
2730
</form>

0 commit comments

Comments
 (0)