@coderabbitai/bitbucket
    Preparing search index...

    Variable createBitbucketServerClientConst

    createBitbucketServerClient: (
        clientOptions?: ClientOptions,
    ) => Client<OpenApi.paths, "application/json"> = ...

    Creates an openapi-fetch client using createClient.

    Type declaration

      • (clientOptions?: ClientOptions): Client<OpenApi.paths, "application/json">
      • Parameters

        • OptionalclientOptions: ClientOptions

        Returns Client<OpenApi.paths, "application/json">

    const client = createBitbucketServerClient({
    baseUrl: "https://example.org/rest",
    headers: {
    Accept: "application/json",
    Authorization: `Bearer ${BITBUCKET_SERVER_TOKEN}`,
    },
    })