`date-format` used in OpenAPI Spec is not high enough resolution
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- openapi
- Domain
- api
Research direction
Start by locating the OpenAPI definition for the createdBy sorting timestamp and review its date-time schema, pattern, and example. Determine the higher-resolution timestamp representation needed for accurate ordering, then validate that the updated specification consistently accepts and documents it.
Written by the indexing model from the issue text.
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
- Dominant language
- Shell
- Stars
- 116
- Forks
- 23
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 63
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CycloneDX/transparency-exchange-api
-
align on terminology Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
CycloneDX/transparency-exchange-api#393 · 1 comment ·
-
TEI Discovery
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
TEI Discovery
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
TEI Discovery
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
All issues in CycloneDX/transparency-exchange-api
Similar issues
-
module/agent platform/macos type/bug/regression
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
CachyOS/cachyos-aur-derived#754 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
CrowdStrike/falcon-scripts#528 ·
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100