aboutsummaryrefslogtreecommitdiffstats
path: root/packages/open-api
diff options
context:
space:
mode:
authoradripo <26493496+adripo@users.noreply.github.com>2025-04-21 19:59:40 +0200
committerGitHub <noreply@github.com>2025-04-21 18:59:40 +0100
commit4296e7f4d8de64a62dbf5e5d152b19ae25df489e (patch)
treea976ea13ec1396078de2047fdcb125bb086c6a17 /packages/open-api
parent86728d7f0e48e5cf8fbd1977240909302b2d8ad9 (diff)
downloadkarakeep-4296e7f4d8de64a62dbf5e5d152b19ae25df489e.tar.zst
chore: rename missing files/conf from Hoarder to Karakeep (#1280)
* refactor: Rename remaining project configuration from Hoarder to Karakeep * some fixes --------- Co-authored-by: Mohamed Bassem <me@mbassem.com>
Diffstat (limited to 'packages/open-api')
-rw-r--r--packages/open-api/index.ts10
-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"
}
}
}