@@ -33182,7 +33182,10 @@ export function createRouter(implementation: Implementation): KoaRouter {
3318233182 const migrationsListForOrgQuerySchema = z.object({
3318333183 per_page: z.coerce.number().optional(),
3318433184 page: z.coerce.number().optional(),
33185- exclude: z.array(z.enum(["repositories"])).optional(),
33185+ exclude: z
33186+ .union([z.array(z.enum(["repositories"])), z.enum(["repositories"])])
33187+ .optional()
33188+ .transform((it) => (Array.isArray(it) || it === undefined ? it : [it])),
3318633189 })
3318733190
3318833191 const migrationsListForOrgResponseValidator = responseValidationFactory(
@@ -33309,7 +33312,10 @@ export function createRouter(implementation: Implementation): KoaRouter {
3330933312 })
3331033313
3331133314 const migrationsGetStatusForOrgQuerySchema = z.object({
33312- exclude: z.array(z.enum(["repositories"])).optional(),
33315+ exclude: z
33316+ .union([z.array(z.enum(["repositories"])), z.enum(["repositories"])])
33317+ .optional()
33318+ .transform((it) => (Array.isArray(it) || it === undefined ? it : [it])),
3331333319 })
3331433320
3331533321 const migrationsGetStatusForOrgResponseValidator = responseValidationFactory(
@@ -35204,7 +35210,10 @@ export function createRouter(implementation: Implementation): KoaRouter {
3520435210 page: z.coerce.number().optional(),
3520535211 sort: z.enum(["created_at"]).optional(),
3520635212 direction: z.enum(["asc", "desc"]).optional(),
35207- owner: z.array(z.string()).max(10).optional(),
35213+ owner: z
35214+ .union([z.array(z.string()).max(10), z.string()])
35215+ .optional()
35216+ .transform((it) => (Array.isArray(it) || it === undefined ? it : [it])),
3520835217 repository: z.string().optional(),
3520935218 permission: z.string().optional(),
3521035219 last_used_before: z.string().datetime({ offset: true }).optional(),
@@ -35513,7 +35522,10 @@ export function createRouter(implementation: Implementation): KoaRouter {
3551335522 page: z.coerce.number().optional(),
3551435523 sort: z.enum(["created_at"]).optional(),
3551535524 direction: z.enum(["asc", "desc"]).optional(),
35516- owner: z.array(z.string()).max(10).optional(),
35525+ owner: z
35526+ .union([z.array(z.string()).max(10), z.string()])
35527+ .optional()
35528+ .transform((it) => (Array.isArray(it) || it === undefined ? it : [it])),
3551735529 repository: z.string().optional(),
3551835530 permission: z.string().optional(),
3551935531 last_used_before: z.string().datetime({ offset: true }).optional(),
@@ -76414,7 +76426,10 @@ export function createRouter(implementation: Implementation): KoaRouter {
7641476426 })
7641576427
7641676428 const migrationsGetStatusForAuthenticatedUserQuerySchema = z.object({
76417- exclude: z.array(z.string()).optional(),
76429+ exclude: z
76430+ .union([z.array(z.string()), z.string()])
76431+ .optional()
76432+ .transform((it) => (Array.isArray(it) || it === undefined ? it : [it])),
7641876433 })
7641976434
7642076435 const migrationsGetStatusForAuthenticatedUserResponseValidator =
0 commit comments