NSwag icon indicating copy to clipboard operation
NSwag copied to clipboard

Int64 don't get compiled to long - .NET 5.0

Open ArcaneDiver opened this issue 3 years ago • 4 comments

Hi, i'm using a swagger schema where i use types like

type: integer
format: int64

but when i generate the code it generates property with type int instead of long.

I'm actually generating the code from the npm cli so i run: nswag run config.nswag /runtime:Net50

My .net version in 5.0.202 and my nswag version is 13.10.9.0

Thanks in advance.

ArcaneDiver avatar Apr 14 '21 18:04 ArcaneDiver