unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
17 lines • 710 B
JavaScript
export const healthCheckSchema = {
$id: '#/components/schemas/healthCheckSchema',
type: 'object',
description: 'Used by service orchestrators to decide whether this Unleash instance should be marked as healthy or unhealthy',
additionalProperties: false,
required: ['health'],
properties: {
health: {
description: 'The state this Unleash instance is in. GOOD if the server is up and running. It never returns BAD, if the server is unhealthy you will get an unsuccessful http response.',
type: 'string',
enum: ['GOOD', 'BAD'],
example: 'GOOD',
},
},
components: {},
};
//# sourceMappingURL=health-check-schema.js.map