In version 3.1 of OpenAPI, the exclusiveMaximum and exclusiveMinimum properties are of type number, whereas they were of type boolean in version 3.0.
When utilizing OpenAPIV3_1, the ParameterObject is referenced as OpenAPIV3.ParameterObject. This leads to a compatibility issue when using number type parameters, resulting in a type error:
Type '{ ... schema: TNumber; }' is not assignable to type 'ParameterObject'.
Types of property 'schema' are incompatible.
...
Type 'number' is not assignable to type 'boolean | undefined'.
In version 3.1 of OpenAPI, the
exclusiveMaximumandexclusiveMinimumproperties are of typenumber, whereas they were of typebooleanin version 3.0.When utilizing
OpenAPIV3_1, theParameterObjectis referenced asOpenAPIV3.ParameterObject. This leads to a compatibility issue when using number type parameters, resulting in a type error: