Creates an openapi-fetch client using createClient.
openapi-fetch
const client = createBitbucketServerClient({ baseUrl: "https://example.org/rest", headers: { Accept: "application/json", Authorization: `Bearer ${BITBUCKET_SERVER_TOKEN}`, },}) Copy
const client = createBitbucketServerClient({ baseUrl: "https://example.org/rest", headers: { Accept: "application/json", Authorization: `Bearer ${BITBUCKET_SERVER_TOKEN}`, },})
Optional
Creates an
openapi-fetch
client using createClient.Example