summaryrefslogtreecommitdiff
path: root/lambda-calcul/haskell/public/api.html
diff options
context:
space:
mode:
authorArnaud Bailly <arnaud@pankzsoft.com>2025-11-05 16:28:56 +0100
committerArnaud Bailly <arnaud@pankzsoft.com>2025-11-05 16:28:56 +0100
commitf08fa03af4f6cf38e664d74c6a0a4a3e65746fb2 (patch)
tree8c988caea702e0f2ac9be9c8b697a8a7bb0e9ed3 /lambda-calcul/haskell/public/api.html
parentafcfa146122179dc80dd8055314b1381d152fb09 (diff)
downloadlambda-nantes-f08fa03af4f6cf38e664d74c6a0a4a3e65746fb2.tar.gz
provide help on the leaderboard and OpenAPI specification
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>