fix: use api_key instead of apiKeyAuth
This commit is contained in:
@@ -11,7 +11,7 @@ const options = {
|
|||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
securitySchemes: {
|
securitySchemes: {
|
||||||
ApiKeyAuth: {
|
api_key: {
|
||||||
type: 'apiKey',
|
type: 'apiKey',
|
||||||
in: 'header',
|
in: 'header',
|
||||||
name: 'x-api-key',
|
name: 'x-api-key',
|
||||||
@@ -21,7 +21,7 @@ const options = {
|
|||||||
},
|
},
|
||||||
security: [
|
security: [
|
||||||
{
|
{
|
||||||
ApiKeyAuth: [], // Apply this security scheme globally
|
api_key: [], // Apply this security scheme globally
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user