37 lines
1.5 KiB
Twig
Raw Normal View History

2017-01-18 18:02:00 +01:00
{# This file is part of the API Platform project.
(c) Kévin Dunglas <dunglas@gmail.com>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code. #}
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>NelmioApiDocBundle</title>
2017-06-02 21:22:10 +02:00
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:400,700|Source+Code+Pro:300,600|Titillium+Web:400,600,700">
<link rel="stylesheet" href="{{ asset('bundles/nelmioapidoc/swagger-ui/swagger-ui.css') }}">
2017-06-22 23:00:16 +02:00
<link rel="stylesheet" href="{{ asset('bundles/nelmioapidoc/style.css') }}">
2017-01-18 18:02:00 +01:00
{# json_encode(65) is for JSON_UNESCAPED_SLASHES|JSON_HEX_TAG to avoid JS XSS #}
<script id="swagger-data" type="application/json">{{ swagger_data|json_encode(65)|raw }}</script>
</head>
2017-06-22 23:00:16 +02:00
<body>
<header>
<a id="logo" href="https://github.com/nelmio/NelmioApiDocBundle"><img src="{{ asset('bundles/nelmioapidoc/logo.png') }}" alt="NelmioApiDocBundle"></a>
</header>
2017-01-18 18:02:00 +01:00
2017-06-22 23:00:16 +02:00
<div id="swagger-ui" class="api-platform"></div>
2017-01-18 18:02:00 +01:00
<div class="swagger-ui-wrap" style="margin-top: 20px; margin-bottom: 20px;">
&copy; 2017 <a href="https://api-platform.com">Api-Platform</a>
</div>
2017-06-02 21:22:10 +02:00
<script src="{{ asset('bundles/nelmioapidoc/swagger-ui/swagger-ui-bundle.js') }}"></script>
<script src="{{ asset('bundles/nelmioapidoc/swagger-ui/swagger-ui-standalone-preset.js') }}"></script>
<script src="{{ asset('bundles/nelmioapidoc/init-swagger-ui.js') }}"></script>
2017-01-18 18:02:00 +01:00
</body>
</html>