Forum Discussion

sairamkukadala's avatar
sairamkukadala
Frequent Visitor
6 years ago

Can we generate @JsonFormat on model variable using swagger-generater?

I have a variable in yml file startDate: type:string format:date I'm using swagger-generater to generate java code from yml. It's generating a startDate variable as below @JsonProperty("...