0661d0349b287f4d20958a5b82646d2797415149
[sdc/sdc-workflow-designer.git] /
1 /*******************************************************************************
2  * Copyright (c) 2018 ZTE Corporation.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * and the Apache License 2.0 which both accompany this distribution,
6  * and are available at http://www.eclipse.org/legal/epl-v10.html
7  * and http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Contributors:
10  *     ZTE - initial API and implementation and/or initial documentation
11  *******************************************************************************/
12 export interface SwaggerItems {
13     $ref?: string;
14     type?: string;
15     format?: string;
16     items?: SwaggerItems;
17     collectionFormat?: string;//Default value is csv
18     default?: any;
19     maximum?: number;
20     exclusiveMaximum?: boolean;
21     minimum?: number;
22     exclusiveMinimum?: boolean;
23     maxLength?: number;//integer
24     minLength?: number;//integer
25     pattern?: string;
26     maxItems?: number;//integer
27     minItems?: number;//integer
28     uniqueItems?: boolean;
29     enum?: any[];
30     multipleOf?: number;
31 }