Skip to content

Open-source status page, incident response and uptime monitoring

🐛 openapi fix

Thibault Le Ouay987685f249f0
diff --git a/apps/server/src/v1/notification.ts b/apps/server/src/v1/notification.ts
index 380c123bf..e26d95cd2 100644
--- a/apps/server/src/v1/notification.ts
+++ b/apps/server/src/v1/notification.ts
@@ -46,10 +46,6 @@ const NotificationSchema = z.object({
}),
payload: NotificationDataSchema.openapi({
description: "The data of the notification",
- examples: [
- { email: "[email protected]" },
- { discord: "https://discord.com/api/webhooks/{channelId}/xxx..." },
- ],
}),
monitors: z
.array(z.number())
@@ -71,10 +67,6 @@ const CreateNotificationSchema = z.object({
}),
payload: NotificationDataSchema.openapi({
description: "The data of the notification",
- examples: [
- { email: "[email protected]" },
- { discord: "https://discord.com/api/webhooks/{channelId}/xxx..." },
- ],
}),
monitors: z
.array(z.number())