Currently, Port requires all date/time values to be provided as ISO-8601 strings for blueprint property defined as
"type": "string", "format": "date-time"
, and rejects native datetime objects. We propose that when Port receives a native datetime object for such fields, it should automatically serialize it into a valid
ISO-8601
string (e.g.,
2024-01-01T20:00:00Z
) before ingestion. Native datetime values are valid in YAML and supported by most OpenAPI tools. Enabling automatic conversion would improve compatibility and prevent users, especially those managing large numbers of files with datetime fields, from having to manually update them.
Created by Samiru Musa Haruna
·