With Swagger as i understand one cannot pass/specify things like Jackson annotations for fields when specifying the models in the swagger definition yaml.
Therefore, is there a way to manually make these changes in the generated model files & request swagger (swagger-codegen) to try & preserve those when regenerating the models?
I tried doing this & see that by default it just overwrites the files completely, i couldn't find any setting for this in the codegen configuration.
Can someone suggest any idea on how to go about this?
Thanks