As part of supporting OAS 3.1 exporter, I noticed that exclusiveMinimum and exclusiveMaximum values were not being preserved. Since we handle changing this behavior with the drafts, it makes sense to preserve these values during the http spec process
Reminder:
OAS3 - exclusiveMin / Max are booleans
OAS3.1 - exclusiveMin / Max are integers
check to see if value is a number and do not delete from schema if it is
How Has This Been Tested?
added test to capture exclusiveMin / Max with integer value
yarn test locally
yalc'd into platform internal and confirmed that all exporter tests (oas2, 3, 3.1) are passsing
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)
Motivation and Context
As part of supporting OAS 3.1 exporter, I noticed that exclusiveMinimum and exclusiveMaximum values were not being preserved. Since we handle changing this behavior with the drafts, it makes sense to preserve these values during the http spec process
Reminder: OAS3 - exclusiveMin / Max are booleans OAS3.1 - exclusiveMin / Max are integers
https://github.com/stoplightio/platform-internal/issues/15265
Description
check to see if value is a number and do not delete from schema if it is
How Has This Been Tested?
added test to capture exclusiveMin / Max with integer value yarn test locally yalc'd into platform internal and confirmed that all exporter tests (oas2, 3, 3.1) are passsing
Types of changes
Checklist