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:
parent
ae20bcbae0
commit
7162d82234
@ -6,6 +6,7 @@ export const segmentStrategiesSchema = {
|
|||||||
required: ['strategies'],
|
required: ['strategies'],
|
||||||
description:
|
description:
|
||||||
'A collection of strategies using the specified segment, as well as any strategies using the segment in active change requests.',
|
'A collection of strategies using the specified segment, as well as any strategies using the segment in active change requests.',
|
||||||
|
additionalProperties: false,
|
||||||
properties: {
|
properties: {
|
||||||
strategies: {
|
strategies: {
|
||||||
description: 'The list of strategies',
|
description: 'The list of strategies',
|
||||||
|
Loading…
Reference in New Issue
Block a user