groupware: also update DEVELOPER.md with new OpenAPI documentation generation tooling

This commit is contained in:
Pascal Bleser
2026-01-22 14:21:40 +01:00
parent 4778cd52e7
commit e6b59c8124

View File

@@ -611,10 +611,14 @@ If you run it from your IDE, there is obviously no need to do that.
## API Docs
The REST API documentation is extracted from the source code structure and documentation using [`go-swagger`](https://goswagger.io/go-swagger/), which needs to be installed locally as a prerequisite:
The REST API documentation is extracted from the source code structure and documentation the home-grown [`groupware-apidocs`](https://github.com/opencloud-eu/groupware-apidocs) tool, which needs to be installed locally as a prerequisite:
```bash
go install github.com/go-swagger/go-swagger/cmd/swagger@latest
cd "$OCDIR/"
git clone https://github.com/opencloud-eu/groupware-apidocs
cd ./groupware-apidocs/
go build .
ln -s "$PWD/groupware-apidocs" ~/.local/bin/
```
The build chain is integrated within the `Makefile` in `services/groupware/`: