UNPKG

357 BTypeScriptView Raw
1import { Type } from '@nestjs/common';
2import { SchemaObject } from './open-api-spec.interface';
3export interface SchemaObjectMetadata extends Omit<SchemaObject, 'type' | 'required'> {
4 type?: Type<unknown> | Function | [Function] | string | Record<string, any>;
5 isArray?: boolean;
6 required?: boolean;
7 name?: string;
8 enumName?: string;
9}