fix(openapi): openapi document empty (#5579)
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
1 parent
0e7b9fa2d4
commit
ce8e330c82
8 files changed
+26
-18
No files matched your search
@@ -138,14 +138,10 @@ export const userChangeColorSchemeSchema = z.object({
|
||||
|
||||
export const userFirstDayOfWeekSchema = z.object({
|
||||
firstDayOfWeek: z
|
||||
.custom<DayOfWeek>((value) => z.number().min(0).max(6).safeParse(value).success)
|
||||
.meta({
|
||||
override: {
|
||||
type: "integer",
|
||||
minimum: 0,
|
||||
maximum: 6,
|
||||
},
|
||||
}),
|
||||
.number()
|
||||
.min(0)
|
||||
.max(6)
|
||||
.transform((value) => value as DayOfWeek),
|
||||
});
|
||||
|
||||
export const userPingIconsEnabledSchema = z.object({
|
||||
|
||||
Reference in new issue
Block a user