CycloneDX / CycloneDX/transparency-exchange-api

`date-format` used in OpenAPI Spec is not high enough resolution

Open
#178 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.