aboutsummaryrefslogtreecommitdiff
path: root/apps/docs/openapi.json
diff options
context:
space:
mode:
authorDhravya Shah <[email protected]>2025-03-23 21:21:38 -0700
committerDhravya Shah <[email protected]>2025-03-23 21:21:38 -0700
commitb8d9e901b4c2a198827588206172e93cecf5ebac (patch)
tree404b67ff4b01e538739e25bf31219c515c951e74 /apps/docs/openapi.json
parentfix: duplicate in doc (diff)
downloadsupermemory-b8d9e901b4c2a198827588206172e93cecf5ebac.tar.xz
supermemory-b8d9e901b4c2a198827588206172e93cecf5ebac.zip
auth info in endpoints
Diffstat (limited to 'apps/docs/openapi.json')
-rw-r--r--apps/docs/openapi.json17
1 files changed, 16 insertions, 1 deletions
diff --git a/apps/docs/openapi.json b/apps/docs/openapi.json
index 473b08cd..8ee782ca 100644
--- a/apps/docs/openapi.json
+++ b/apps/docs/openapi.json
@@ -11,6 +11,11 @@
"description": "Production Server"
}
],
+ "security": [
+ {
+ "ApiKeyAuth": []
+ }
+ ],
"paths": {
"/add": {
"post": {
@@ -375,5 +380,15 @@
}
}
},
- "components": { "schemas": {} }
+ "components": {
+ "schemas": {},
+ "securitySchemes": {
+ "ApiKeyAuth": {
+ "type": "apiKey",
+ "in": "header",
+ "name": "x-api-key",
+ "description": "API key for authentication"
+ }
+ }
+ }
}