Function createBitbucketServerClient

Creates an openapi-fetch client using createClient.

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

    • OptionalclientOptions: ClientOptions

    Returns Client<paths, "application/json">