From 99308a705421e3acbf3c16cf7d5adfd05ecb3b55 Mon Sep 17 00:00:00 2001 From: Fredrik Strand Oseberg Date: Wed, 13 Sep 2023 12:39:36 +0200 Subject: [PATCH] fix: add additionalproperties to the sdkContextSchema (#4682) This was changed a month ago, but it ends up breaking the frontend when we regenerate the types because the playground needs to have this structure for now. We'll need to add this back until we can rewrite the playground to follow the schema. --- src/lib/openapi/spec/sdk-context-schema.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/openapi/spec/sdk-context-schema.ts b/src/lib/openapi/spec/sdk-context-schema.ts index 3260280d6d..a74a022bcb 100644 --- a/src/lib/openapi/spec/sdk-context-schema.ts +++ b/src/lib/openapi/spec/sdk-context-schema.ts @@ -5,6 +5,7 @@ export const sdkContextSchema = { description: 'The Unleash context as modeled in client SDKs', type: 'object', required: ['appName'], + additionalProperties: true, properties: { appName: { type: 'string',