Commit Graph

7 Commits

Author SHA1 Message Date
Viktor Scharf
22966cc823 fixed connection reset issue. adapted make file to generate swagger docs on mac 2026-02-27 14:46:43 +01:00
Pascal Bleser
e405edd612 groupware: add mock endpoints for addressbooks and contacts 2026-02-27 14:46:43 +01:00
Pascal Bleser
648cc817fc 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-27 14:46:42 +01:00
Pascal Bleser
df98358ddf 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-27 14:46:42 +01:00
Pascal Bleser
b397cd461e refactored the Session object, refactored the services/groupware directory, and started Swagger documentation implementation 2026-02-27 14:46:42 +01:00
Pascal Bleser
bb2874177f add an auth-api service to make an exemplary implementation of an external authentication API for third party services such as Stalwart 2026-02-27 14:46:41 +01:00
Pascal Bleser
b12e0d5b29 WIP: initial implementation of the groupware service 2026-02-27 14:46:41 +01:00