You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I observed that if I have a Java field starting with an uppercase letter (I know it is against Java conventions, but it is legal syntax nonetheless), the generated Typescript code contains duplicate fields; e.g. the following Java code:
Not a bug.
All the public members are included into JSON serialisation. If you don't want some of them - they should be annotated with @JsonIgnore or similar annotation.
I observed that if I have a Java field starting with an uppercase letter (I know it is against Java conventions, but it is legal syntax nonetheless), the generated Typescript code contains duplicate fields; e.g. the following Java code:
will give the following interface
You can test this with the following:
The output of
testNormalClass
will contain both uppercase and lowercase fields "A", "a" with the same type.The text was updated successfully, but these errors were encountered: