adds authorize to swagger docs to pass apiKey (#2524)
This commit is contained in:
1 parent
2e9d4125ed
commit
6d5af81f68
1 file changed
+3
@@ -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=""
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user