mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-09-21 11:35:32 -04:00
groupware: change Makefile to use groupware-apidocs instead of go-swagger
This commit is contained in:
1 parent
c72b9d82a5
commit
1eaed23b25
2 files changed
+2
-5
No files matched your search
@@ -1,5 +1,4 @@
|
||||
/swagger.yml
|
||||
/openapi.yml
|
||||
/api.html
|
||||
/api.html.template
|
||||
/node_modules
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user