Skip to content

Date format in the description #12519

Open
@alexp0610

Description

@alexp0610

Hello.

I need to change the date format in the UI description from "yyyy-MM-dd" to "dd/MM/yyyy".
Could anyone help me?

UI Example:

"finalDate": "01/02/2025",

Not work:

@DateTimeFormat(pattern = "dd/MM/yyyy")

Java property:

@Parameter private LocalDate finalDate;

Swagger v3:

<dependency> <groupId>io.swagger.core.v3</groupId> <artifactId>swagger-annotations</artifactId> <version>2.2.21</version> </dependency>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions