Files
recipe-api/openapi/index.html

25 lines
602 B
HTML

<!doctype html>
<html>
<head>
<title>Recipe API Reference</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
<div id="app"></div>
<!-- Load the Script -->
<script src="https://cdn.jsdelivr.net/npm/@scalar/api-reference"></script>
<!-- Initialize the Scalar API Reference -->
<script>
Scalar.createApiReference("#app", {
// The URL of the OpenAPI/Swagger document
url: "/recipe-openapi.yaml",
hideTestRequestButton: true,
});
</script>
</body>
</html>