diff --git a/pages/api/docs.ts b/pages/api/docs.ts index 356967d4a2..e87c6c1f5c 100644 --- a/pages/api/docs.ts +++ b/pages/api/docs.ts @@ -21,7 +21,7 @@ const swaggerHandler = withSwagger({ components: { securitySchemes: { ApiKeyAuth: { type: "apiKey", in: "query", name: "apiKey" } }, }, - security: [{ apiKey: [] }], + security: [{ ApiKeyAuth: [] }], }, apiFolder: "pages/api", });