redoc/tests/e2e/index.html
Roman Hotsiy 53b4f55876 Refactor
2016-06-22 21:53:11 +03:00

24 lines
616 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) || 'http://rebilly.github.io/SwaggerTemplateRepo/swagger.json';
Redoc.init(decodeURIComponent(url), {disableLazySchemas: true}).then(function() {}, function(err) {
window.redocError = err;
});
</script>
</body>
</html>