1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00
unleash.unleash/src/lib/openapi/spec/parent-feature-options-schema.ts
2023-09-26 14:03:24 +02:00

17 lines
490 B
TypeScript

import { FromSchema } from 'json-schema-to-ts';
export const parentFeatureOptionsSchema = {
$id: '#/components/schemas/parentFeatureOptionsSchema',
type: 'array',
description:
'A list of parent feature names available for a given child feature. Features that have their own parents are excluded.',
items: {
type: 'string',
},
components: {},
} as const;
export type ParentFeatureOptionsSchema = FromSchema<
typeof parentFeatureOptionsSchema
>;