Open rartych opened 2 weeks ago
@rartych could it be also considered #137 into this PR? Think it makes sense
On general level it is covered as duration is listed in the registry: https://spec.openapis.org/registry/format/duration.html
The open question is whether it should be mandated to use strings for duration or leave the decision to subprojects (to use integers or object types).
What type of PR is this?
What this PR does / why we need it:
Using string format or pattern modifiers simplify implementation and clarify parameter usage. Recommendation added to section 11.5 Data Definitions.
Which issue(s) this PR fixes:
Fixes #93
Does this PR introduce a breaking change?
Special notes for reviewers:
Changelog input
Additional documentation
https://spec.openapis.org/oas/v3.0.3.html#data-types