unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
20 lines • 736 B
JavaScript
export const cloneFeatureSchema = {
$id: '#/components/schemas/cloneFeatureSchema',
type: 'object',
required: ['name'],
description: 'Copy of a feature with a new name',
properties: {
name: {
type: 'string',
description: 'The name of the new feature',
example: 'new-feature',
},
replaceGroupId: {
type: 'boolean',
example: true,
description: 'Whether to use the new feature name as its group ID or not. Group ID is used for calculating [stickiness](https://docs.getunleash.io/reference/stickiness#calculation). Defaults to true.',
},
},
components: {},
};
//# sourceMappingURL=clone-feature-schema.js.map