Allow the configuration of a project's merge method via the API
Description
At present there is no facility for setting a project's merge method via the api, only through the user interface. This limits the ability of automatically creating a project with a non-default merge method, and significantly impinges the ability to change this method in bulk.
Proposal
Extend the Project resource of the API to accept a new optional string parameter: merge_method
.
Links / references
https://docs.gitlab.com/ee/api/projects.html#edit-project
From my brief dive into the api code, this seems like it should be a relatively trivial modification and I'd be happy to submit a PR if it aided in seeing this functionality added.
Edited by Coung Ngo