mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-24 09:33:44 +03:00
24 lines
570 B
HTML
24 lines
570 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>ReDoc</title>
|
|
</head>
|
|
<body>
|
|
<redoc>
|
|
Loading...
|
|
</redoc>
|
|
|
|
<!-- ReDoc built file with all dependencies included -->
|
|
<script src="dist/redoc.min.js"> </script>
|
|
<script>
|
|
window.redocError = null;
|
|
/* init redoc */
|
|
var url = window.location.search.substr(5) || 'swagger.yml';
|
|
Redoc.init(decodeURIComponent(url), {disableLazySchemas: true}).then(function() {}, function(err) {
|
|
window.redocError = err;
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|