UNPKG

unleash-server

Version:

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

20 lines 619 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createRequestSchema = void 0; const createRequestSchema = (schemaName) => { return { description: schemaName, required: true, content: { 'application/json': { schema: { $ref: schemaName.startsWith('#') ? schemaName : `#/components/schemas/${schemaName}`, }, }, }, }; }; exports.createRequestSchema = createRequestSchema; //# sourceMappingURL=create-request-schema.js.map