unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
28 lines • 816 B
JavaScript
import { environmentSchema } from './environment-schema.js';
export const environmentsSchema = {
$id: '#/components/schemas/environmentsSchema',
type: 'object',
additionalProperties: false,
required: ['version', 'environments'],
description: 'A versioned list of environments',
properties: {
version: {
type: 'integer',
example: 1,
description: 'Version of the environments schema',
},
environments: {
type: 'array',
items: {
$ref: '#/components/schemas/environmentSchema',
},
description: 'List of environments',
},
},
components: {
schemas: {
environmentSchema,
},
},
};
//# sourceMappingURL=environments-schema.js.map