UNPKG

openapi-ts-generator

Version:

Based on swagger-ts-generator, this is a type script model generator specifically for services with OpenApi spec documentation.

22 lines (21 loc) 498 B
export interface IValueProperty { name: string; snakeCaseName: string; typeScriptType: string; isArray: boolean; hasValidators: boolean; hasMultipleValidators: boolean; required: boolean; maxLength?: number; minLength?: number; maximum?: number; minimum?: number; maxItems?: number; minItems?: number; email: boolean; uri: boolean; description?: string; pattern?: string; initialValue: string; initialTestValue: string; }