Skip to content

Commit 201823e

Browse files
committed
#124: fixed tests
1 parent ce06181 commit 201823e

File tree

2 files changed

+14
-43
lines changed

2 files changed

+14
-43
lines changed

test/config/yml_generator_config/generics-normal.txt

+1-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,4 @@ Person:
22
type: object
33
properties:
44
firstName:
5-
type: map
6-
items:
7-
key: string
8-
value: List<int>
5+
type: Map<String, List<int>>

test/config/yml_generator_config/object-all-types.txt

+13-39
Original file line numberDiff line numberDiff line change
@@ -26,58 +26,32 @@ Person:
2626
address:
2727
type: Address
2828
listString:
29-
type: array
30-
items:
31-
type: string
29+
type: List<string>
3230
listString2:
33-
type: array
34-
items:
35-
type: String
31+
type: List<String>
3632
listInt:
37-
type: array
38-
items:
39-
type: int
33+
type: List<int>
4034
listInt2:
41-
type: array
42-
items:
43-
type: integer
35+
type: List<Integer>
4436
listDouble:
45-
type: array
46-
items:
47-
type: double
37+
type: List<double>
4838
listBoolean:
49-
type: array
50-
items:
51-
type: bool
39+
type: List<bool>
5240
listBoolean2:
53-
type: array
54-
items:
55-
type: boolean
41+
type: List<boolean>
5642
listDynamic:
57-
type: array
58-
items:
59-
type: dynamic
43+
type: List<dynamic>
6044
listDynamic2:
61-
type: array
62-
items:
63-
type: any
45+
type: List<any>
6446
listDynamic3:
65-
type: array
66-
items:
67-
type: object
47+
type: List<object>
6848
listDateTime1:
69-
type: array
70-
items:
71-
type: date
49+
type: List<date>
7250
listDateTime2:
73-
type: array
74-
items:
75-
type: datetime
51+
type: List<dateTime>
7652
listObject:
7753
description: A cool list of items
78-
type: array
79-
items:
80-
type: Address
54+
type: List<Address>
8155

8256

8357
Address:

0 commit comments

Comments
 (0)