Skip to content

Commit 9b54d5c

Browse files
committed
New spec, new code
1 parent 7bc8b26 commit 9b54d5c

1,934 files changed

Lines changed: 65386 additions & 58935 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

code-generator/src/definitions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const normalizeField = (f: Field): Field => {
3838
const generateField = (f: Field, modelName: string) => {
3939
f = normalizeField(f);
4040
let p = "";
41-
if (["public", "default", "package"].includes(f.name)) {
41+
if (["public", "default", "package", "private"].includes(f.name)) {
4242
p += ` @SerializedName("${f.name}")\n`;
4343
f.name = `_${f.name}`;
4444
}

0 commit comments

Comments
 (0)