auth info in endpoints

This commit is contained in:
Dhravya Shah 2025-03-23 21:21:38 -07:00
parent 4e1e1ab5e2
commit b8d9e901b4

View file

@ -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"
}
}
}
}