Const
Creates an openapi-fetch client using createClient.
openapi-fetch
Optional
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}`, },})
Creates an
openapi-fetch
client using createClient.