Re: codegen-2.2.2-SNAPSHOT regression with enum?

2017-03-16 Thread Aki Yoshida
Hi Tony, William, sorry for my delay in confirming the issue has been resolved. The problem was there in 2.2.2-SNAPSHOT from feb 20 but has been fixed before the release. 2.2.2 works fine for me. thanks! regards, aki 2017-03-01 11:52 GMT+01:00 wing328 : > I did a test with the latest master and `j

Re: codegen-2.2.2-SNAPSHOT regression with enum?

2017-03-01 Thread wing328
I did a test with the latest master and `java` (default: okhttp-gson) but couldn't repeat the issue. Here is what the generated code looks like: /** * platform */ public enum PlatformEnum { @SerializedName("darwin") DARWIN("darwin"), @SerializedName("linux") LINU

Re: codegen-2.2.2-SNAPSHOT regression with enum?

2017-02-28 Thread tony tam
Hi Aki, can you please try with the latest master? We’re about to do a release and I’d like to sort this out first. > On Feb 20, 2017, at 7:08 AM, Aki Yoshida wrote: > > Hi, > I am getting invalid code generated for the enum type when using > codegen-2.2.2-SNAPSHOT for java. I am not sure if

codegen-2.2.2-SNAPSHOT regression with enum?

2017-02-20 Thread Aki Yoshida
Hi, I am getting invalid code generated for the enum type when using codegen-2.2.2-SNAPSHOT for java. I am not sure if this is an issue or a known issue. I have a type defined as ... "platform": type: "string" description: "platform" enum: - "darwin"