chore(schema): extend changelog schema with isSemver bool
This commit is contained in:
parent
b45e815f1d
commit
ee3faad379
@ -6,6 +6,7 @@ export const ChangelogCreateInput = z
|
|||||||
.object({
|
.object({
|
||||||
title: z.string().min(3, 'Title must contain at least 3 charachters.'),
|
title: z.string().min(3, 'Title must contain at least 3 charachters.'),
|
||||||
description: z.string(),
|
description: z.string(),
|
||||||
|
isSemver: z.boolean().default(true),
|
||||||
})
|
})
|
||||||
.openapi({
|
.openapi({
|
||||||
required: ['title', 'userId'],
|
required: ['title', 'userId'],
|
||||||
|
Loading…
Reference in New Issue
Block a user