Manweill / swagger-axios-codegen

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

Array in swagger, but not array in codegen #37

Closed nibytes closed 5 years ago

nibytes commented 5 years ago

изображение Swagger изображение Generated code

nibytes commented 5 years ago

@Manweill Can you approve my PR?

nibytes commented 5 years ago

@Manweill When I can npm update package with fix?

Manweill commented 5 years ago

@nibytes Tomorrow

nibytes commented 5 years ago

@nibytes Tomorrow

Ok thank you

LucaDe commented 5 years ago

I'm struggling with the same issue currently. Even though the param gets annotated correctly now, the data property is not set correctly. Currently it looks like this: {"0":{"from":"123","op":"add","path":"/path","value":{"name":"123"}}} But it should look like this: [{"from":"123","op":"add","path":"/path","value":{"name":"123"}}]