fix: use api_key instead of apiKeyAuth

This commit is contained in:
karishmas6
2024-10-28 23:59:07 +05:30
parent 75bfdfcee1
commit ed58479fd0

View File

@@ -11,7 +11,7 @@ const options = {
},
components: {
securitySchemes: {
ApiKeyAuth: {
api_key: {
type: 'apiKey',
in: 'header',
name: 'x-api-key',
@@ -21,7 +21,7 @@ const options = {
},
security: [
{
ApiKeyAuth: [], // Apply this security scheme globally
api_key: [], // Apply this security scheme globally
},
],
},