title: Date format incorrect
body: <p>I have a Spring Boot project with an Oracle db. I have the below script that I inserted in the db</p>
  <pre><code>insert into SEMESTER (SEMESTREID, CODE, ENDDATE, STARTDATE) values ('103', '1', TO_DATE('13-DEC-21','dd/MM/yyyy'), TO_DATE('06-SEP-22','dd/MM/yyyy'));
  </code></pre>
  <p>When I get the data from swagger, I noticed that the date is incorrect, it returns 0022 instead of 2022.</p>
  <pre><code>{
      &quot;semestreId&quot;: &quot;103&quot;,
      &quot;code&quot;: &quot;1&quot;,
      &quot;startDate&quot;: &quot;0022-09-06&quot;,
      &quot;endDate&quot;: &quot;0021-12-13&quot;
  }
  </code></pre>