jtsgen icon indicating copy to clipboard operation
jtsgen copied to clipboard

jtsgen should respect @JsonProperty annotation

Open sengmann opened this issue 6 years ago • 0 comments

When using Jackson and the @JsonProperty annotation to rename properties, jtsgen generates interfaces with wrong name.

Example:

@Typescript
data class Foo(
    @JsonProperty("foo_bar") @get:JsonProperty("foo_bar") val bar: String
)

generates: interface Foo { bar: string }

sengmann avatar Jun 21 '18 15:06 sengmann