Open ArcaneDiver opened 3 years ago
Hi,
i just discovered that some field had the long
type and some has just int
.
The difference in the swagger schema was:
int
:
Avaiable:
$ref: './BigInteger.yaml'
BigInteger definition
type: integer
format: int64
long
;
Avaiable:
type: integer
format: int64
So probably the library doesn't correctly resolve references...
Probably it's a problem with $ref, needs to be verified with a unit test in NJsonSchema.
Still waiting for resolving this problem
Hi, i'm using a swagger schema where i use types like
but when i generate the code it generates property with type
int
instead oflong
.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 is13.10.9.0
Thanks in advance.