UNPKG

jswagger

Version:
15 lines 753 B
import { ISpecMetadata } from './types'; import { OpenAPI2Reference, OpenAPI2SchemaObject } from 'jswagger-common'; declare type PropertiesType = { [index: string]: OpenAPI2SchemaObject | OpenAPI2Reference; }; interface IPropInfo { type?: string; format?: string; } export declare function leafConvertToClassValue(propInfo: IPropInfo, input: any): any; export declare function leafConvertToJsonValue(propInfo: IPropInfo, input: any): any; export declare function toClassValue(metadata: ISpecMetadata, property: PropertiesType, key: string, value: any): any; export declare function toJsonObject(metadata: ISpecMetadata, property: PropertiesType, key: string, value: any): any; export {}; //# sourceMappingURL=internals.d.ts.map