Commit Graph

7 Commits

Author SHA1 Message Date
Viktor Scharf
de01c1e75c fixed connection reset issue. adapted make file to generate swagger docs on mac 2026-02-04 09:40:21 +01:00
Pascal Bleser
0ef3af4e19 groupware: add mock endpoints for addressbooks and contacts 2026-02-04 09:40:21 +01:00
Pascal Bleser
3968eedcc5 docs(groupware): OpenAPI improvements
* refactor some pkg/jmap and groupware methods to make more sense from
   an API point-of-view

 * add path parameter documentation, but automate it by injecting their
   definition into the OpenAPI YAML tree that is extracted from the
   source code using go-swagger as it is too cumbersome, repetitive and
   error-prine to document them in the source code; wrote a TypeScript
   file apidoc-process.ts to do so

 * add generating an offline HTML file for the OpenAPI documentation
   using redocly, and injecting a favicon into the resulting HTML; wrote
   a TypeScript file apidoc-postprocess-html.ts to do so
2026-02-04 09:40:20 +01:00
Pascal Bleser
42a4c5c156 groupware: swagger API documentation improvements
* add more documentation for properties

 * fixes after a bit of trial-and-error with go-swagger

 * fix email filter marshalling when there are no search criteria

 * introduce an apidoc.yml that contains Swagger data and is merged when
   generating the swagger.yml from sources
2026-02-04 09:40:20 +01:00
Pascal Bleser
04336a9c3a refactored the Session object, refactored the services/groupware directory, and started Swagger documentation implementation 2026-02-04 09:40:20 +01:00
Pascal Bleser
46690c81b3 add an auth-api service to make an exemplary implementation of an external authentication API for third party services such as Stalwart 2026-02-04 09:40:19 +01:00
Pascal Bleser
71ed48ace4 WIP: initial implementation of the groupware service 2026-02-04 09:40:19 +01:00