Openstatus www.openstatus.dev

😱 add missing field api (#1040)

* add missing field api

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

authored by

Thibault Le Ouay
autofix-ci[bot]
and committed by
GitHub
789a55d8 5b798e15

+6
+6
apps/server/src/v1/monitors/schema.ts
··· 199 199 .boolean() 200 200 .default(false) 201 201 .openapi({ description: "If the monitor is public" }), 202 + degratedAfter: z.number().optional().openapi({ 203 + description: "The time after the monitor is considered degrated", 204 + }), 205 + timeout: z.number().optional().openapi({ 206 + description: "The timeout of the request", 207 + }), 202 208 }) 203 209 .openapi({ 204 210 description: "The monitor",