const STOPLIGHT_UI_TEMPLATE: &str = r#"
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Catalyst Gateway API Documentation - StopLight Elements</title>
<style charset="UTF-8">{:style}</style>
<script charset="UTF-8">{:script}</script>
</head>
<body>
<elements-api id="docs"
router="hash"
layout="sidebar">
</elements-api>
<script>
(async () => {
const docs = document.getElementById('docs');
const apiDescriptionDocument = {:spec};
docs.apiDescriptionDocument = apiDescriptionDocument;
})();
</script>
</body>
</html>
"#;
Expand description
Stoplight Elements UI Template