CycloneDX / CycloneDX/transparency-exchange-api
`date-format` used in OpenAPI Spec is not high enough resolution
Open
OpenAPI spec
Prio 2
- Dominant language
- Shell
- Stars
- 113
- Forks
- 22
- Avg merge
- 8d 12h
- Merged PRs (30d)
- 5
Description
`createdBy` is used for sorting, but the format specified is:
```
date-time:
type: string
description: Timestamp
format: date-time
pattern: "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"
example: '2024-03-20T15:30:00Z'
```
This has a resolution of seconds. Multiple releases are definitely possible in a single second - so this would mean ordering is not accurate in all scenarios.
FYI @nscuro @oej
Contributor guide
Assessment
This issue has not been assessed yet.