mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 13:59:16 +01:00
refactor(api): ♻️ Properly reuse error messages and schemas
This commit is contained in:
parent
7112a66e4c
commit
65e2e19ff1
84 changed files with 478 additions and 597 deletions
|
|
@ -55,6 +55,7 @@ export const Notification = z
|
|||
event: z.undefined().openapi({
|
||||
description:
|
||||
"Versia Server does not sever relationships, so this field is always empty.",
|
||||
type: "null",
|
||||
}),
|
||||
moderation_warning: AccountWarning.optional().openapi({
|
||||
description:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue