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

Prevent duplication of parameter names

Open kulczy opened this issue 2 years ago • 1 comments

Hi

I am working with an API that has parameters like e.g product.code and product.code[] The problem is that when generated, these parameters are doubled. I added a simple workaround. I don't know if this is the best solution, but it works for me, so I will leave it here and I hope it helps 😄

kulczy avatar Jun 07 '22 21:06 kulczy

I need this too :)

dennispassway avatar Aug 23 '22 09:08 dennispassway