![java - Is there any way to return default values in Kotlin Data Class when using Moshi when the API return null values through JSON - Stack Overflow java - Is there any way to return default values in Kotlin Data Class when using Moshi when the API return null values through JSON - Stack Overflow](https://i.stack.imgur.com/i1fuR.png)
java - Is there any way to return default values in Kotlin Data Class when using Moshi when the API return null values through JSON - Stack Overflow
Non-nullable types in Kotlin data classes are optional in generated Swagger definition when springfox-bean-validators is present · Issue #2027 · springfox/springfox · GitHub
![Learn Kotlin through unit tests. At I/O in 2019, we announced that… | by David Herman | Android Developers | Medium Learn Kotlin through unit tests. At I/O in 2019, we announced that… | by David Herman | Android Developers | Medium](https://miro.medium.com/max/1400/1*2OY_827HKirfNCSuWyvEnw.png)