-
Notifications
You must be signed in to change notification settings - Fork 305
Handling of integer number types with int16 format. #5611
Copy link
Copy link
Closed
Labels
WIPgeneratorIssues or improvements relater to generation capabilities.Issues or improvements relater to generation capabilities.type:bugA broken experienceA broken experience
Milestone
Description
As a follow up to microsoft/OpenAPI.NET.OData#593
The integer types were replaced in the openapi description with number types which presented the a inconsistency in the generation. Due to the case at the line below.
Properties with the type as integer and format as int16 would be projected as type integer in the codeDom.
However changing the type to integer results in the type being projected as double as opposed to integer before as there is no case to handle the integer with int16 format.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
WIPgeneratorIssues or improvements relater to generation capabilities.Issues or improvements relater to generation capabilities.type:bugA broken experienceA broken experience
Type
Projects
Status
Done ✔️