OpenBanking-Brasil / areadesenvolvedor

https://openbanking-brasil.github.io/areadesenvolvedor/
161 stars 67 forks source link

DataTimes #191

Open RalphBragg opened 3 years ago

RalphBragg commented 3 years ago

The specifications for the DateTimes are set to max length of 20. This means that custom formatting and rounding needs to be applied to libraries that are pretty much generate https://datatracker.ietf.org/doc/html/rfc3339#section-5.6 standard messages out of the box. See Here: https://gitlab.com/openid/conformance-suite/-/issues/916

Would suggest making this field 100% compliant with the Swagger type of RFC3339 and adjusting the 'max length' appropriately.

RalphBragg commented 3 years ago

This is something that we are seeing Banks and TPPs get in correct. The description of this field is to adopt RFC-3339. This is then truncated to 'seconds'. For Open Banking Flows, Seconds isn't granular enough especially when you start dealing with high volume requests.

please put this on the next iteration to fix.