|
@@ -23,7 +23,9 @@ FIELDS_PARAMS_GENERIC_ACCEPTED = [
|
23
|
23
|
'enum',
|
24
|
24
|
]
|
25
|
25
|
|
26
|
|
-FIELDS_TYPE_ARRAY = ['array']
|
|
26
|
+FIELDS_TYPE_ARRAY = [
|
|
27
|
+ 'array',
|
|
28
|
+]
|
27
|
29
|
FIELDS_PARAMS_ARRAY_ACCEPTED = [
|
28
|
30
|
'items',
|
29
|
31
|
'collectionFormat',
|
|
@@ -33,14 +35,19 @@ FIELDS_PARAMS_ARRAY_ACCEPTED = [
|
33
|
35
|
'uniqueitems',
|
34
|
36
|
]
|
35
|
37
|
|
36
|
|
-FIELDS_TYPE_STRING = ['string']
|
|
38
|
+FIELDS_TYPE_STRING = [
|
|
39
|
+ 'string',
|
|
40
|
+]
|
37
|
41
|
FIELDS_PARAMS_STRING_ACCEPTED = [
|
38
|
42
|
'maxLength',
|
39
|
43
|
'minLength',
|
40
|
44
|
'pattern',
|
41
|
45
|
]
|
42
|
46
|
|
43
|
|
-FIELDS_TYPE_NUMERIC = ['number', 'integer']
|
|
47
|
+FIELDS_TYPE_NUMERIC = [
|
|
48
|
+ 'number',
|
|
49
|
+ 'integer',
|
|
50
|
+]
|
44
|
51
|
FIELDS_PARAMS_NUMERIC_ACCEPTED = [
|
45
|
52
|
'maximum',
|
46
|
53
|
'exclusiveMaximum',
|