From b8d9e901b4c2a198827588206172e93cecf5ebac Mon Sep 17 00:00:00 2001 From: Dhravya Shah Date: Sun, 23 Mar 2025 21:21:38 -0700 Subject: [PATCH] auth info in endpoints --- apps/docs/openapi.json | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) 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" + } + } + } }