pactflow / swagger-mock-validator

Other
14 stars 5 forks source link

fix: handle exclusiveMinimum/exclusiveMaximum in bodies #37

Closed vwong closed 1 year ago

vwong commented 1 year ago

We previously converted exclusiveMin/Max in parameters, but not in bodies. We should do it there as well.

While we're at it, we should properly handle when the value is false.

vwong commented 1 year ago

If maximum is undefined, it's a noop anyway. If exclusiveMaximum is false, it's a noop anyway