Repository navigation
Kotlin models to have default value null when nulable #1249
|
Is it possible to configure plugin to generate default value for model parameters? |
Answered by
kobylynskyi
Jun 19, 2023
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.