UNPKG

unleash-server

Version:

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

34 lines 883 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.segmentSchema = void 0; const constraint_schema_1 = require("./constraint-schema"); exports.segmentSchema = { $id: '#/components/schemas/segmentSchema', type: 'object', additionalProperties: false, required: ['id', 'constraints'], properties: { id: { type: 'number', }, name: { type: 'string', }, description: { type: 'string', nullable: true, }, constraints: { type: 'array', items: { $ref: '#/components/schemas/constraintSchema', }, }, }, components: { schemas: { constraintSchema: constraint_schema_1.constraintSchema, }, }, }; //# sourceMappingURL=segment-schema.js.map