Kotlin models to have default value null when nulable #1249
-
Is it possible to configure plugin to generate default value for model parameters?
|
Beta Was this translation helpful? Give feedback.
Answered by
kobylynskyi
Jun 19, 2023
Replies: 1 comment
-
Hi @anloboda |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
anloboda
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @anloboda
Default values are driven by the schema only. So if it is present in the schema then you will see this in the generated classes.
Hope this helps.