unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
24 lines • 697 B
JavaScript
import { dateSchema } from './date-schema.js';
import { customMetricSchema } from './custom-metric-schema.js';
export const customMetricsSchema = {
$id: '#/components/schemas/customMetricsSchema',
type: 'object',
required: ['metrics'],
description: 'A collection of custom metrics',
properties: {
metrics: {
type: 'array',
description: 'Array of custom metrics',
items: {
$ref: '#/components/schemas/customMetricSchema',
},
},
},
components: {
schemas: {
customMetricSchema,
dateSchema,
},
},
};
//# sourceMappingURL=custom-metrics-schema.js.map