MunifTanjim / node-bitbucket

Bitbucket API client for Browser and Node.js
https://bitbucketjs.netlify.app
MIT License
106 stars 28 forks source link

Not able to submit a body to UpdateBranchingModelSettings #45

Closed folofse closed 4 years ago

folofse commented 4 years ago

"version": "1.15.2"

I guess it should be possible to update the branching models according to https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D/%7Brepo_slug%7D/branching-model/settings#put

But the generated ts code does not accept a body:

export type RepositoriesUpdateBranchingModelSettings =
      {
        "repo_slug": string;
        "username": string;
      };
MunifTanjim commented 4 years ago

Published v1.16.0 :tada: