openapi-typescript-codegen icon indicating copy to clipboard operation
openapi-typescript-codegen copied to clipboard

all Of -> $reference.

Open ordomalleus opened this issue 1 year ago • 3 comments

I'm not sure if this is a mistake or not, but I am experiencing a problem. I have created a schema and when the code is generated, I am not getting what I expected. image

Swagger is giving me the correct result. image

But codegen no. image image

Could you please solve this problem or point me in the direction?

ordomalleus avatar Feb 19 '24 17:02 ordomalleus

@ordomalleus can you replicate this in @nicolas-chaulet/openapi-typescript-codegen?

mrlubos avatar Feb 19 '24 18:02 mrlubos

@mrlubos Tks for your fork, it fixes the issue.

ntd254 avatar Mar 10 '24 04:03 ntd254

@AwziNihilist not sure about the thumbs down reaction, this issue is fixed in @nicolas-chaulet/openapi-typescript-codegen

mrlubos avatar Mar 10 '24 05:03 mrlubos