File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -951,9 +951,7 @@ export const ListIssuesSchema = z.object({
951
951
// Merge Requests API operation schemas
952
952
export const ListMergeRequestsSchema = z . object ( {
953
953
project_id : z . coerce . string ( ) . describe ( "Project ID or URL-encoded path" ) ,
954
- assignee_id : numericStringSchemaNullable
955
- . optional ( )
956
- . describe ( "Returns merge requests assigned to the given user ID" ) ,
954
+ assignee_id : z . coerce . string ( ) . optional ( ) . describe ( "Return issues assigned to the given user ID. user id or none or any" ) ,
957
955
assignee_username : z
958
956
. string ( )
959
957
. optional ( )
@@ -963,9 +961,9 @@ export const ListMergeRequestsSchema = z.object({
963
961
. string ( )
964
962
. optional ( )
965
963
. describe ( "Returns merge requests created by the given username" ) ,
966
- reviewer_id : numericStringSchemaNullable
964
+ reviewer_id : z . coerce . string ( )
967
965
. optional ( )
968
- . describe ( "Returns merge requests which have the user as a reviewer" ) ,
966
+ . describe ( "Returns merge requests which have the user as a reviewer. user id or none or any " ) ,
969
967
reviewer_username : z
970
968
. string ( )
971
969
. optional ( )
You can’t perform that action at this time.
0 commit comments