UNPKG

unleash-server

Version:

Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.

42 lines 1.61 kB
export const featureTagSchema = { $id: '#/components/schemas/featureTagSchema', type: 'object', description: 'Describes a tag applied to a feature', additionalProperties: false, required: ['featureName', 'tagValue'], properties: { featureName: { type: 'string', example: 'my-feature', description: 'The name of the feature this tag is applied to', }, tagType: { type: 'string', example: 'simple', description: 'The [type](https://docs.getunleash.io/reference/feature-toggles#tags tag types) of the tag', }, tagValue: { type: 'string', example: 'my-tag', description: 'The value of the tag', }, type: { deprecated: true, type: 'string', description: 'The [type](https://docs.getunleash.io/reference/feature-toggles#tags tag types) of the tag. This property is deprecated and will be removed in a future version of Unleash. Superseded by the `tagType` property.', }, value: { deprecated: true, type: 'string', description: 'The value of the tag. This property is deprecated and will be removed in a future version of Unleash. Superseded by the `tagValue` property.', }, createdByUserId: { type: 'number', nullable: true, example: 1, description: 'The id of the user who created this tag', }, }, components: {}, }; //# sourceMappingURL=feature-tag-schema.js.map