You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Type '{ ... schema: TNumber; }' is not assignable to type 'ParameterObject'.
Types of property 'schema' are incompatible.
...
Type 'number' is not assignable to type 'boolean | undefined'.
The text was updated successfully, but these errors were encountered:
moontai0724
changed the title
V3.1 Parameter Type Wrongly Referenced V3.0 Schema
V3.1 Schema Type Wrongly Referenced V3.0 Schema
Mar 18, 2024
moontai0724
changed the title
V3.1 Schema Type Wrongly Referenced V3.0 Schema
[openapi-types] V3.1 Schema Type Wrongly Referenced V3.0 Schema
Mar 18, 2024
In version 3.1 of OpenAPI, the
exclusiveMaximum
andexclusiveMinimum
properties are of typenumber
, whereas they were of typeboolean
in version 3.0.When utilizing
OpenAPIV3_1
, theParameterObject
is referenced asOpenAPIV3.ParameterObject
. This leads to a compatibility issue when using number type parameters, resulting in a type error:The text was updated successfully, but these errors were encountered: