1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-11-01 19:07:38 +01:00
unleash.unleash/src/lib/openapi/spec/archive-features-schema.ts

21 lines
479 B
TypeScript
Raw Normal View History

import { FromSchema } from 'json-schema-to-ts';
export const archiveFeaturesSchema = {
$id: '#/components/schemas/archiveFeaturesSchema',
type: 'object',
required: ['features'],
properties: {
features: {
type: 'array',
items: {
type: 'string',
},
},
},
components: {
schemas: {},
},
} as const;
export type ArchiveFeaturesSchema = FromSchema<typeof archiveFeaturesSchema>;