Skip to content

Add support for chrono Weekday #1213

@yuki0418

Description

@yuki0418

Hi, I try to use ToSchema derive with chrono::WeekDay, but return error

the trait bound `chrono::Weekday: utoipa::ToSchema` is not satisfied
the following other types implement trait `utoipa::ToSchema`

Looks like chrono::Weekday not supported yet so I may create PR to add support like below PR?
#404

Or let me know if there is an another way for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions