feat: adds apikeyAuth in swagger ui for all endpoints

This commit is contained in:
Agusti Fernandez Pardo committed 2022-04-17 16:39:38 +02:00
1 parent 5013ea2ef5
commit 25a2a405da
38 files changed
+164 -1

No files matched your search

-1
View File
@@ -13,7 +13,6 @@ const swaggerHandler = withSwagger({
securitySchemes: { ApiKeyAuth: { type: "apiKey", in: "query", name: "apiKey" } },
schemas: { ...jsonSchema.definitions },
},
// definitions: jsonSchema.definitions,
},
apiFolder: "pages/api",
tags: ["users", "teams", "memeberships"],