@coderabbitai/bitbucket
Version:
CodeRabbit's TypeScript API client for connecting to Bitbucket Cloud and Bitbucket Data Center
15 lines • 429 B
JavaScript
import createClient from "openapi-fetch";
/**
* Creates an `openapi-fetch` client using {@link createClient}.
*
* @example
* const client = createBitbucketServerClient({
* baseUrl: "https://example.org/rest",
* headers: {
* Accept: "application/json",
* Authorization: `Bearer ${BITBUCKET_SERVER_TOKEN}`,
* },
* })
*/
export const createBitbucketServerClient = (createClient);
//# sourceMappingURL=client.js.map