@@ -16,8 +16,8 @@ test('numeric constraints are properly mapped', () => {
16
16
description : 'A number with constraints' ,
17
17
tags : [ ] ,
18
18
source : [ ] ,
19
- problems : [ ]
20
- }
19
+ problems : [ ] ,
20
+ } ,
21
21
} ;
22
22
23
23
const result = schemaToOpenAPI ( schema ) as OpenAPIV3 . SchemaObject ;
@@ -45,8 +45,8 @@ test('exclusive numeric constraints are properly mapped', () => {
45
45
description : 'A number with exclusive constraints' ,
46
46
tags : [ ] ,
47
47
source : [ ] ,
48
- problems : [ ]
49
- }
48
+ problems : [ ] ,
49
+ } ,
50
50
} ;
51
51
52
52
const result = schemaToOpenAPI ( schema ) as OpenAPIV3 . SchemaObject ;
@@ -68,7 +68,7 @@ test('string-encoded numeric types are properly mapped', () => {
68
68
const schema : Schema = {
69
69
type : 'string' ,
70
70
format : 'number' ,
71
- decodedType : 'number'
71
+ decodedType : 'number' ,
72
72
} ;
73
73
74
74
const result = schemaToOpenAPI ( schema ) as OpenAPIV3 . SchemaObject ;
@@ -83,7 +83,7 @@ test('string-encoded integer types are properly mapped', () => {
83
83
const schema : Schema = {
84
84
type : 'string' ,
85
85
format : 'integer' ,
86
- decodedType : 'number'
86
+ decodedType : 'number' ,
87
87
} ;
88
88
89
89
const result = schemaToOpenAPI ( schema ) as OpenAPIV3 . SchemaObject ;
@@ -98,7 +98,7 @@ test('BigInt types are properly mapped', () => {
98
98
const schema : Schema = {
99
99
type : 'string' ,
100
100
format : 'number' ,
101
- decodedType : 'bigint'
101
+ decodedType : 'bigint' ,
102
102
} ;
103
103
104
104
const result = schemaToOpenAPI ( schema ) as OpenAPIV3 . SchemaObject ;
@@ -116,7 +116,7 @@ test('BigInt types with constraints are properly mapped', () => {
116
116
format : 'number' ,
117
117
decodedType : 'bigint' ,
118
118
minimum : 0 ,
119
- maximum : 1000000000000000000
119
+ maximum : 1000000000000000000 ,
120
120
} ;
121
121
122
122
const result = schemaToOpenAPI ( schema ) as OpenAPIV3 . SchemaObject ;
0 commit comments