Hi, it’s possible that this is per design in swagger-codegen and not 
configurable.  I suggest opening an issue there and the committers can get back 
to you.

> On Oct 27, 2016, at 12:56 AM, Serega Sheypak <[email protected]> wrote:
> 
> 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!
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Swagger" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to