diff options
| author | Mohamed Bassem <me@mbassem.com> | 2025-03-11 20:09:32 +0000 |
|---|---|---|
| committer | Mohamed Bassem <me@mbassem.com> | 2025-03-11 20:09:32 +0000 |
| commit | b8c587e3c3e717263da84522d59c7904715ae22a (patch) | |
| tree | a26a67162118b4a629d33a833dd25be67d344855 /packages/open-api/index.ts | |
| parent | 59c444a503c0124988608c190342acc53c797107 (diff) | |
| download | karakeep-b8c587e3c3e717263da84522d59c7904715ae22a.tar.zst | |
feat: Add endpoints for whoami and user stats. Fixes #1113
Diffstat (limited to 'packages/open-api/index.ts')
| -rw-r--r-- | packages/open-api/index.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/open-api/index.ts b/packages/open-api/index.ts index 75850e5a..d96cb5ca 100644 --- a/packages/open-api/index.ts +++ b/packages/open-api/index.ts @@ -9,6 +9,7 @@ import { registry as commonRegistry } from "./lib/common"; import { registry as highlightsRegistry } from "./lib/highlights"; import { registry as listsRegistry } from "./lib/lists"; import { registry as tagsRegistry } from "./lib/tags"; +import { registry as userRegistry } from "./lib/users"; function getOpenApiDocumentation() { const registry = new OpenAPIRegistry([ @@ -17,6 +18,7 @@ function getOpenApiDocumentation() { listsRegistry, tagsRegistry, highlightsRegistry, + userRegistry, ]); const generator = new OpenApiGeneratorV3(registry.definitions); |
