summaryrefslogtreecommitdiff
path: root/lambda-calcul/haskell/public/api.html
diff options
context:
space:
mode:
Diffstat (limited to 'lambda-calcul/haskell/public/api.html')
-rw-r--r--lambda-calcul/haskell/public/api.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/lambda-calcul/haskell/public/api.html b/lambda-calcul/haskell/public/api.html
new file mode 100644
index 0000000..24ee64c
--- /dev/null
+++ b/lambda-calcul/haskell/public/api.html
@@ -0,0 +1,24 @@
+<html>
+ <head>
+ <title>λ-Calculus API</title>
+ <link rel="stylesheet" href="/swagger-ui/swagger-ui.css" >
+</head>
+<body>
+<div id="swagger-ui"></div>
+<script src="/swagger-ui/swagger-ui-bundle.js"> </script>
+<script>
+ const ui = SwaggerUIBundle({
+ url: "/api.json",
+ dom_id: '#swagger-ui',
+ presets: [
+ SwaggerUIBundle.presets.apis,
+ ],
+ layout: "BaseLayout",
+ deepLinking: true,
+ showExtensions: true,
+ showCommonExtensions: true
+ });
+ window.ui = ui;
+</script>
+</body>
+</html>