Skip to content

Scheduling infrastructure for absolutely everyone.

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

Agusti Fernandez6d5af81f6883
diff --git a/apps/swagger/pages/index.tsx b/apps/swagger/pages/index.tsx
index 806a64141df..ce739e704a8 100644
--- a/apps/swagger/pages/index.tsx
+++ b/apps/swagger/pages/index.tsx
@@ -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=""
/>
);
}