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

pull/2529/head
Agusti Fernandez 2022-04-16 09:22:22 +02:00 committed by GitHub
parent 2e9d4125ed
commit 6d5af81f68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

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=""
/>
);
}