Forum Discussion
RonRatovsky
6 years agoStaff
There's no defined way to describe epoch in the spec. At the moment, there's only one way to describe a timestamp.
You can use the 'format' field with whichever value, as it's an open field. Just keep in mind tooling will not automatically know what it means. Some tools may offer extensibility to support custom formats.
In OpenAPI 3, there's a process of building a registry of additional formats. You can find more information about it here.
Related Content
- 9 years ago
- 4 years ago
- 2 years ago
Recent Discussions
- 3 days ago
- 4 days ago
- 21 days ago