desc:"#{options[:prefix]}Returns merge requests created by the given user `id`. Mutually exclusive with `author_username`. Combine with `scope=all` or `scope=assigned_to_me`."
optional:author_username,type:String,
desc:"#{options[:prefix]}Returns merge requests created by the given `username`. Mutually exclusive with `author_id`."
desc:"#{options[:prefix]}Returns merge requests assigned to the given user `id`. `None` returns unassigned merge requests. `Any` returns merge requests with an assignee."
desc:"#{options[:prefix]}Returns merge requests which have the user as a reviewer with the given `username`. `None` returns merge requests with no reviewers. `Any` returns merge requests with any reviewer. Mutually exclusive with `reviewer_id`. Introduced in GitLab 13.8."
desc:"#{options[:prefix]}Returns merge requests matching a comma-separated list of labels. `None` lists all merge requests with no labels. `Any` lists all merge requests with at least one label. Predefined names are case-insensitive.",
documentation:{is_array:true}
optional:milestone,type:String,
desc:"#{options[:prefix]}Returns merge requests for a specific milestone. `None` returns merge requests with no milestone. `Any` returns merge requests that have an assigned milestone."
optional:my_reaction_emoji,type:String,
desc:"#{options[:prefix]}Returns merge requests reacted by the authenticated user by the given `emoji`. `None` returns issues not given a reaction. `Any` returns issues given at least one reaction."
desc:'Returns merge requests which have the user as a reviewer with the given user `id`. `None` returns merge requests with no reviewers. `Any` returns merge requests with any reviewer. Mutually exclusive with `reviewer_username`.'
desc:"Returns merge requests ordered by #{Helpers::MergeRequestsHelpers.sort_options_help} fields. Introduced in GitLab 14.8."
optional:sort,type:String,
values:%w[asc desc],
default:'desc',
desc:'Returns merge requests sorted in `asc` or `desc` order.'
optional:with_labels_details,type:Boolean,
default:false,
desc:'If `true`, response returns more details for each label in labels field: `:name`,`:color`, `:description`, `:description_html`, `:text_color`'
optional:with_merge_status_recheck,type:Boolean,
default:false,
desc:'If `true`, this projection requests (but does not guarantee) that the `merge_status` field be recalculated asynchronously. Introduced in GitLab 13.0.'
optional:created_after,type:DateTime,
desc:'Returns merge requests created on or after the given time. Expected in ISO 8601 format.',
documentation:{example:'2019-03-15T08:00:00Z'}
optional:created_before,type:DateTime,
desc:'Returns merge requests created on or before the given time. Expected in ISO 8601 format.',
documentation:{example:'2019-03-15T08:00:00Z'}
optional:updated_after,type:DateTime,
desc:'Returns merge requests updated on or after the given time. Expected in ISO 8601 format.',
documentation:{example:'2019-03-15T08:00:00Z'}
optional:updated_before,type:DateTime,
desc:'Returns merge requests updated on or before the given time. Expected in ISO 8601 format.',
documentation:{example:'2019-03-15T08:00:00Z'}
optional:view,type:String,
values:%w[simple],
desc:'If simple, returns the `iid`, URL, title, description, and basic state of merge request'
desc:'`<Negated>` Returns merge requests which have the user as a reviewer with the given user `id`. `None` returns merge requests with no reviewers. `Any` returns merge requests with any reviewer. Mutually exclusive with `reviewer_username`.'