diff options
Diffstat (limited to 'packages/open-api')
| -rw-r--r-- | packages/open-api/index.ts | 10 | ||||
| -rw-r--r-- | packages/open-api/karakeep-openapi-spec.json (renamed from packages/open-api/hoarder-openapi-spec.json) | 8 |
2 files changed, 9 insertions, 9 deletions
diff --git a/packages/open-api/index.ts b/packages/open-api/index.ts index d96cb5ca..9186805e 100644 --- a/packages/open-api/index.ts +++ b/packages/open-api/index.ts @@ -27,16 +27,16 @@ function getOpenApiDocumentation() { openapi: "3.0.0", info: { version: "1.0.0", - title: "Hoarder API", - description: "The API for the Hoarder app", + title: "Karakeep API", + description: "The API for the Karakeep app", }, servers: [ { url: "{address}/api/v1", variables: { address: { - default: "https://try.hoarder.app", - description: "The address of the hoarder server", + default: "https://try.karakeep.app", + description: "The address of the Karakeep server", }, }, }, @@ -47,7 +47,7 @@ function getOpenApiDocumentation() { function writeDocumentation() { const docs = getOpenApiDocumentation(); const fileContent = JSON.stringify(docs, null, 2); - fs.writeFileSync(`./hoarder-openapi-spec.json`, fileContent, { + fs.writeFileSync(`./karakeep-openapi-spec.json`, fileContent, { encoding: "utf-8", }); } diff --git a/packages/open-api/hoarder-openapi-spec.json b/packages/open-api/karakeep-openapi-spec.json index 9a1d8634..0f8074d4 100644 --- a/packages/open-api/hoarder-openapi-spec.json +++ b/packages/open-api/karakeep-openapi-spec.json @@ -2,16 +2,16 @@ "openapi": "3.0.0", "info": { "version": "1.0.0", - "title": "Hoarder API", - "description": "The API for the Hoarder app" + "title": "Karakeep API", + "description": "The API for the Karakeep app" }, "servers": [ { "url": "{address}/api/v1", "variables": { "address": { - "default": "https://try.hoarder.app", - "description": "The address of the hoarder server" + "default": "https://try.karakeep.app", + "description": "The address of the Karakeep server" } } } |
