Skip to content

Commit 40db3f5

Browse files
committed
FIX
issue: #
1 parent 928e52c commit 40db3f5

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

schemas.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -951,9 +951,7 @@ export const ListIssuesSchema = z.object({
951951
// Merge Requests API operation schemas
952952
export const ListMergeRequestsSchema = z.object({
953953
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"),
957955
assignee_username: z
958956
.string()
959957
.optional()
@@ -963,9 +961,9 @@ export const ListMergeRequestsSchema = z.object({
963961
.string()
964962
.optional()
965963
.describe("Returns merge requests created by the given username"),
966-
reviewer_id: numericStringSchemaNullable
964+
reviewer_id: z.coerce.string()
967965
.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"),
969967
reviewer_username: z
970968
.string()
971969
.optional()

0 commit comments

Comments
 (0)