Manweill / swagger-axios-codegen

swagger client to use axios and typescript
MIT License
306 stars 83 forks source link

fix: mergining imports #88

Closed arkraft closed 4 years ago

arkraft commented 4 years ago

Merging the imports of the parameters and the body for a request pushed the body imports inside the imports array instead of adding it's elements. This way there was an array inside an array and at a later point, where the name is checked, it fails because it is an array and not a string