Skip to content

Commit 1e84168

Browse files
martinsifraclaude
andcommitted
feat: PATCH semantics for MergeRequest::$autoMergeStrategy
- DMD-1257 - Omitting autoMergeStrategy from the update request now preserves the existing value instead of resetting it to disabled. - New enum value `none` allows explicitly disabling auto-merge. - DB column changed to NOT NULL DEFAULT 'none'. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 340b910 commit 1e84168

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

apiary.apib

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9955,6 +9955,7 @@ other buckets (production buckets or buckets belongs the other development branc
99559955
+ Members
99569956
+ `immediately`
99579957
+ `scheduled`
9958+
+ `none`
99589959
+ autoMergeAt (optional, string) - ISO 8601 datetime for scheduled auto-merge, required when autoMergeStrategy is "scheduled" (e.g. "2026-04-01T12:00:00+00:00")
99599960
99609961
+ Request (application/json)
@@ -10017,10 +10018,11 @@ other buckets (production buckets or buckets belongs the other development branc
1001710018
+ title (required, string) - title of the merge request
1001810019
+ description (optional, string) - description of the merge request
1001910020
+ externalId (optional, string) - identifier of the merge request in an external system; omit to keep unchanged, send empty string to clear
10020-
+ autoMergeStrategy (optional, enum[string]) - auto-merge strategy
10021+
+ autoMergeStrategy (optional, enum[string]) - auto-merge strategy; omit to keep unchanged, send "none" to disable
1002110022
+ Members
1002210023
+ `immediately`
1002310024
+ `scheduled`
10025+
+ `none`
1002410026
+ autoMergeAt (optional, string) - ISO 8601 datetime for scheduled auto-merge, required when autoMergeStrategy is "scheduled" (e.g. "2026-04-01T12:00:00+00:00")
1002510027
1002610028
+ Request (application/json)

0 commit comments

Comments
 (0)