format tag conflicts with swag
Author: YoungMind1Created Sep 19, 2026Updated Sep 29, 2026
Labelsbugv5
swag utilizes format tag to specify the OpenAPI formatting for fields. this tag is also used by echo to help with time.Time binding; this creates a conflict as echo tries to bind the input against format tag value.
in OpenAPI specification. date-time and date-time-local are specified.
Could you guys interpret date-time and date-time-local as RFC3339 to resolve this?
Thanks in advanced ❤️
Source: labstack/echo