Skip to content

fix(device-swap): correct /retrieve-date 400 and stale metadata - #122

Merged
bigludo7 merged 1 commit into
camaraproject:mainfrom
hdamker:fix/retrieve-date-400-and-cleanup
Sep 18, 2026
Merged

bigludo7 merged 1 commit into
camaraproject:mainfrom
hdamker:fix/retrieve-date-400-and-cleanup

Conversation

@hdamker

@hdamker hdamker commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

What type of PR is this?

  • correction

What this PR does / why we need it:

Fixes the two regressions and the stale field found in #121:

Which issue(s) this PR fixes:

Fixes #121

Special notes for reviewers:

Local validation (camara-validate-local): pass, 0 errors/0 warnings/0 hints.

Changelog input

 release-note
Device Swap 400 response for retrieve-date no longer documents the unreachable OUT_OF_RANGE code; x-camara-commonalities corrected to 0.9.0

Additional documentation

This section can be blank.

/retrieve-date's request body has no ranged field, so BadRequestWithRange400's
OUT_OF_RANGE regressed camaraproject#106/camaraproject#109 by documenting an uncallable error code;
switch to BadRequest400. Also drop the now-empty components.responses key
left by the r4.4 ref consolidation, and bump x-camara-commonalities to the
r4.4 value already adopted by that consolidation.
@hdamker
hdamker force-pushed the fix/retrieve-date-400-and-cleanup branch from ac8c713 to c9338ab Compare September 18, 2026 10:25
@hdamker hdamker mentioned this pull request Sep 18, 2026
4 of 9 tasks

@jgarciahospital jgarciahospital left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bigludo7
bigludo7 merged commit 836543d into camaraproject:main Sep 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Findings: r4.4 alignment (#119) regresses /retrieve-date 400 (#106/#109)

3 participants