From d66af873751974803cd81668dfa658ef7f51b84e Mon Sep 17 00:00:00 2001 From: Paulius Grabauskas Date: Thu, 15 Feb 2024 13:00:30 +0200 Subject: [PATCH] #2516 Fix additional props in openapi health schema --- lib/health-check/health-check.schema.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/health-check/health-check.schema.ts b/lib/health-check/health-check.schema.ts index 78d66b6c5e..480d79c5d6 100644 --- a/lib/health-check/health-check.schema.ts +++ b/lib/health-check/health-check.schema.ts @@ -17,15 +17,13 @@ const healthIndicatorSchema = (example: HealthIndicatorResult) => ({ example, additionalProperties: { type: 'object', + additionalProperties: true, required: ['status'], properties: { status: { type: 'string', }, }, - additionalProperties: { - type: 'object', - }, }, });