NSwag
NSwag copied to clipboard
long (c#) to bigint (typescript) support
Hi all and thank you for this great tool.
Does nswag have a feature to generate a "bigint
" typescript var in the client proxies if the source property type in c# is "long
"?
I would assume it does, considering that the generated project.swagger.json file contains:
"property": {
"type": "integer",
"format": "int64"
}
but in the client proxies (typsecript/angular) there's a related var which has the "number
" type instead of a "bigint
".
Is there any link/page which details this kind of a situation? Is this configurable somewhere?
Thank you in advance for any help.