adds authorize to swagger docs to pass apiKey (#2524)

This commit is contained in:
Agusti Fernandez authored and GitHub committed 2022-04-16 08:22:22 +01:00
1 parent 2e9d4125ed
commit 6d5af81f68
1 file changed
+3
+3
View File
@@ -32,7 +32,10 @@ export default function APIDocs() {
docExpansion="none"
operationsSorter="method"
filter={true}
withCredentials={true}
persistAuthorization={true}
url={process.env.NEXT_PUBLIC_SWAGGER_DOCS_URL || "https://api.cal.com/api/docs"}
// preauthorizeApiKey=""
/>
);
}