nest-redoc
Version:
A NestJS Frontend for your OpenAPI Specs powered by ReDoc
29 lines (24 loc) • 789 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.HANDLEBARS_MAIN = void 0;
exports.HANDLEBARS_MAIN = `
<html lang="">
<head>
<!-- Core tags -->
<title>{{ data.title }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8" />
<!-- Favicon -->
{{#if data.favicon }}
<link rel="shortcut icon" type="image/x-icon" href="{{ data.urls.favicon }}" />
{{/if}}
<!-- Styles -->
{{ data.components.styles }}
</head>
<body>
<div id="redoc"></div>
{{ data.components.scripts }}
</body>
</html>
`;