UNPKG

unleash-server

Version:

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

44 lines 1.28 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.proxyFeatureSchema = void 0; exports.proxyFeatureSchema = { $id: '#/components/schemas/proxyFeatureSchema', type: 'object', required: ['name', 'enabled', 'impressionData'], additionalProperties: false, properties: { name: { type: 'string', }, enabled: { type: 'boolean', }, impressionData: { type: 'boolean', }, variant: { type: 'object', required: ['name', 'enabled'], additionalProperties: false, properties: { name: { type: 'string', }, enabled: { type: 'boolean', }, payload: { type: 'object', additionalProperties: false, required: ['type', 'value'], properties: { type: { type: 'string', enum: ['string'] }, value: { type: 'string' }, }, }, }, }, }, components: {}, }; //# sourceMappingURL=proxy-feature-schema.js.map