@@ -21,7 +21,7 @@ public class AsyncApiSchema_Should : TestBase
2121 Title = "title1" ,
2222 MultipleOf = 3 ,
2323 Maximum = 42 ,
24- ExclusiveMinimum = true ,
24+ ExclusiveMinimum = 42 ,
2525 Minimum = 10 ,
2626 Default = new AsyncApiAny ( 15 ) ,
2727 Type = SchemaType . Integer ,
@@ -37,7 +37,7 @@ public class AsyncApiSchema_Should : TestBase
3737 Title = "title1" ,
3838 MultipleOf = 3 ,
3939 Maximum = double . MaxValue ,
40- ExclusiveMinimum = true ,
40+ ExclusiveMinimum = double . MinValue ,
4141 Minimum = double . MinValue ,
4242 Default = new AsyncApiAny ( 15 ) ,
4343 Type = SchemaType . Integer ,
@@ -211,7 +211,7 @@ public class AsyncApiSchema_Should : TestBase
211211 Title = "title1" ,
212212 MultipleOf = 3 ,
213213 Maximum = 42 ,
214- ExclusiveMinimum = true ,
214+ ExclusiveMinimum = 42 ,
215215 Minimum = 10 ,
216216 Default = new AsyncApiAny ( 15 ) ,
217217 Type = SchemaType . Integer ,
@@ -307,7 +307,7 @@ public void SerializeAsJson_WithAdvancedSchemaNumber_V2Works()
307307 "type": "integer",
308308 "maximum": 42,
309309 "minimum": 10,
310- "exclusiveMinimum": true ,
310+ "exclusiveMinimum": 42 ,
311311 "multipleOf": 3,
312312 "default": 15,
313313 "nullable": true,
@@ -335,7 +335,7 @@ public void SerializeAsJson_WithAdvancedSchemaBigNumbers_V2Works()
335335 "type": "integer",
336336 "maximum": 1.7976931348623157E+308,
337337 "minimum": -1.7976931348623157E+308,
338- "exclusiveMinimum": true ,
338+ "exclusiveMinimum": -1.7976931348623157E+308 ,
339339 "multipleOf": 3,
340340 "default": 15,
341341 "nullable": true,
0 commit comments