Commit Graph

7 Commits

Author SHA1 Message Date
Viktor Scharf
5c82a138f4 fixed connection reset issue. adapted make file to generate swagger docs on mac 2026-06-03 18:39:09 +02:00
Pascal Bleser
cf349481fc groupware: add mock endpoints for addressbooks and contacts 2026-06-03 18:39:08 +02:00
Pascal Bleser
243f4103c4 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-06-03 18:39:08 +02:00
Pascal Bleser
a76d40e493 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-06-03 18:39:08 +02:00
Pascal Bleser
6e23f5fe8f refactored the Session object, refactored the services/groupware directory, and started Swagger documentation implementation 2026-06-03 18:39:07 +02:00
Pascal Bleser
f422448f68 add an auth-api service to make an exemplary implementation of an external authentication API for third party services such as Stalwart 2026-06-03 18:39:07 +02:00
Pascal Bleser
4ca6a0d74c WIP: initial implementation of the groupware service 2026-06-03 18:39:07 +02:00