Swagger UI displaying LocalDateTime with milliseconds despite format specification
I am encountering an issue with Swagger UI in my Spring Boot application where datetime values are displayed with milliseconds (2024-05-13T11:20:24.151Z) despite specifying a datetime format without milliseconds (yyyy-MM-dd’T’HH:mm:ss). This discrepancy is affecting the example values shown in Swagger documentation and the behavior of the “Try it out” feature.
I can’t configure a swagger in java spring
I’m trying to implement a swagger on my java spring back end application. After following several tutorials, here’s the result I’m getting:
SwaggerConfig :