From 916eb6d1100d2cc878236ea98347f2a933f962e8 Mon Sep 17 00:00:00 2001
From: Pascal Bleser
Date: Thu, 22 Jan 2026 10:29:00 +0100
Subject: [PATCH] groupware: change Makefile to use groupware-apidocs instead
of go-swagger
---
services/groupware/.gitignore | 1 -
services/groupware/Makefile | 6 ++----
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/services/groupware/.gitignore b/services/groupware/.gitignore
index 36cb322bf5..9989a9005f 100644
--- a/services/groupware/.gitignore
+++ b/services/groupware/.gitignore
@@ -1,5 +1,4 @@
/swagger.yml
-/openapi.yml
/api.html
/api.html.template
/node_modules
diff --git a/services/groupware/Makefile b/services/groupware/Makefile
index fbd81785e4..da501552c5 100644
--- a/services/groupware/Makefile
+++ b/services/groupware/Makefile
@@ -21,10 +21,8 @@ node_modules:
pnpm install
.PHONY: swagger.yml
-swagger.yml: apidoc.yml tsnode openapi.yml
- #swagger generate spec --include='groupware' --include='jmap' --include='jscalendar' --include='jscontact' --scan-models --input=$< | NODE_OPTIONS='--no-warnings --loader ts-node/esm' pnpm exec ts-node apidoc-process.ts > $@
- #NODE_OPTIONS='--no-warnings --loader ts-node/esm' pnpm exec ts-node apidoc-process.ts > $@ < openapi.yml
- cp openapi.yml $@
+swagger.yml: apidoc.yml
+ groupware-apidocs -C ../../ -t $< > $@
APIDOC_PORT=9999