Skip to content

Commit

Permalink
fix: add additionalproperties to the sdkContextSchema (#4682)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
FredrikOseberg authored Sep 13, 2023
1 parent 14423c5 commit 99308a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/openapi/spec/sdk-context-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 99308a7

Please sign in to comment.