1 | import { SchemaObjectMetadata } from '../interfaces/schema-object-metadata.interface';
|
2 | export interface ApiPropertyOptions extends Omit<SchemaObjectMetadata, 'name' | 'enum'> {
|
3 | name?: string;
|
4 | enum?: any[] | Record<string, any>;
|
5 | enumName?: string;
|
6 | }
|
7 | export declare function ApiProperty(options?: ApiPropertyOptions): PropertyDecorator;
|
8 | export declare function createApiPropertyDecorator(options?: ApiPropertyOptions, overrideExisting?: boolean): PropertyDecorator;
|
9 | export declare function ApiPropertyOptional(options?: ApiPropertyOptions): PropertyDecorator;
|
10 | export declare function ApiResponseProperty(options?: Pick<ApiPropertyOptions, 'type' | 'example' | 'format' | 'enum' | 'deprecated'>): PropertyDecorator;
|