UNPKG

@nestjs/swagger

Version:

Nest - modern, fast, powerful node.js web framework (@swagger)

10 lines (9 loc) 357 B
import { Type } from '@nestjs/common'; import { SchemaObject } from './open-api-spec.interface'; export interface SchemaObjectMetadata extends Omit<SchemaObject, 'type' | 'required'> { type?: Type<unknown> | Function | [Function] | string | Record<string, any>; isArray?: boolean; required?: boolean; name?: string; enumName?: string; }