Hi, we are using Swagger to define REST and generate scala client for play! application using classpath "gradle.plugin.org.detoeuf:swagger-codegen-plugin:+" gradle plugin.
All works fine, great. I have few questions:
1. We have model case class and some case class fields should be scala Optional, like Optional[String], Optional[Long]
2. Some of them should have default value like myField="unset".
What is the right way to do it using swagger-codegen? I wasn't able to figure it out. Can you give me some pointers? Thanks!