adds authorize to swagger docs to pass apiKey (#2524)
This commit is contained in:
parent
2e9d4125ed
commit
6d5af81f68
1 changed files with 3 additions and 0 deletions
|
@ -32,7 +32,10 @@ export default function APIDocs() {
|
||||||
docExpansion="none"
|
docExpansion="none"
|
||||||
operationsSorter="method"
|
operationsSorter="method"
|
||||||
filter={true}
|
filter={true}
|
||||||
|
withCredentials={true}
|
||||||
|
persistAuthorization={true}
|
||||||
url={process.env.NEXT_PUBLIC_SWAGGER_DOCS_URL || "https://api.cal.com/api/docs"}
|
url={process.env.NEXT_PUBLIC_SWAGGER_DOCS_URL || "https://api.cal.com/api/docs"}
|
||||||
|
// preauthorizeApiKey=""
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue