From 8840b4a2048b1a04c0833c641ae3074e5ba0fcf6 Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Tue, 28 Jun 2022 08:37:38 +0200 Subject: [PATCH] Fix: make nullable fields nullable --- src/lib/openapi/spec/event-schema.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/openapi/spec/event-schema.ts b/src/lib/openapi/spec/event-schema.ts index b68baa9e4e..056794622b 100644 --- a/src/lib/openapi/spec/event-schema.ts +++ b/src/lib/openapi/spec/event-schema.ts @@ -23,12 +23,15 @@ export const eventSchema = { }, environment: { type: 'string', + nullable: true, }, project: { type: 'string', + nullable: true, }, featureName: { type: 'string', + nullable: true, }, data: {}, preData: {}, @@ -37,6 +40,7 @@ export const eventSchema = { items: { $ref: tagSchema.$id, }, + nullable: true, }, }, components: {