unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
22 lines • 836 B
JavaScript
export const projectLinkTemplateSchema = {
$id: '#/components/schemas/projectLinkTemplateSchema',
type: 'object',
description: 'A template for a link that can be automatically added to new feature flags.',
required: ['urlTemplate'],
properties: {
title: {
type: 'string',
description: 'The title of the link.',
example: 'Code search',
nullable: true,
},
urlTemplate: {
type: 'string',
description: 'The URL to use as a template. Can contain {{project}} or {{feature}} as placeholders.',
example: 'https://github.com/search?type=code&q=repo%3AUnleash%2F{{project}}+{{feature}}',
},
},
additionalProperties: false,
components: {},
};
//# sourceMappingURL=project-link-template-schema.js.map