OpenAPI.NET.CSharpAnnotations
OpenAPI.NET.CSharpAnnotations copied to clipboard
System.UInt32 incorrectly translated to OpenApi format "int32"
A int32
can not fit all possible values of a uint32
.
This leads to errors with generated clients.
Basically the same issue as #210, but with uint
instead of ushort
.
Could there be an general cause for these mapping differences?. I'm encountering something similar between decimal types being explained as doubles. Less fatal, but it begins to look like a pattern.
Edit: Looking further into the code ad ps-weber referenced, I found that decimal is not supported in the json/openApi spec yet, so my issue can be ignored. I guess double is as good as it gets.