unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
24 lines • 786 B
JavaScript
export const overrideSchema = {
$id: '#/components/schemas/overrideSchema',
type: 'object',
additionalProperties: false,
required: ['contextName', 'values'],
description: 'An override for deciding which variant should be assigned to a user based on the context name',
properties: {
contextName: {
description: 'The name of the context field used to determine overrides',
type: 'string',
example: 'userId',
},
values: {
description: 'Which values that should be overriden',
type: 'array',
items: {
type: 'string',
},
example: ['red', 'blue'],
},
},
components: {},
};
//# sourceMappingURL=override-schema.js.map