smithy-lang / smithy

Smithy is a protocol-agnostic interface definition language and set of tools for generating clients, servers, and documentation for any programming language.
https://smithy.io
Apache License 2.0
1.7k stars 201 forks source link

Add flexible timestamp validation option for nodes #2339

Open JordonPhillips opened 6 days ago

JordonPhillips commented 6 days ago

This updates the node validator to add a timestamp validation strategy that will accept any one of the valid timestamp formats if there is no timestamp format trait. This can be useful when writing protocol tests or example traits for protocols where the default format is dependent on the binding location.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.