vojtechhabarta / typescript-generator

Generates TypeScript from Java - JSON declarations, REST service client
MIT License
1.15k stars 237 forks source link

Add support to use array representation of object #674

Open olegshtch opened 3 years ago

olegshtch commented 3 years ago

Could be enabled for jackson2 with annotation:

@JsonFormat(shape=JsonFormat.Shape.ARRAY)

Should generate typescript tuple.

porunov commented 2 years ago

I believe customTypeProcessor can be used to resolve your argument correctly. Otherwise, #788 might potentially be used