1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-10 17:53:36 +02:00

feat: disallow additional properties on admin strategies

This commit is contained in:
Thomas Heartman 2023-11-21 13:16:04 +01:00
parent ae20bcbae0
commit 7162d82234
No known key found for this signature in database
GPG Key ID: BD1F880DAED1EE78

View File

@ -6,6 +6,7 @@ export const segmentStrategiesSchema = {
required: ['strategies'],
description:
'A collection of strategies using the specified segment, as well as any strategies using the segment in active change requests.',
additionalProperties: false,
properties: {
strategies: {
description: 'The list of strategies',