Skip to content

fix: use headers ref for x-correlator in response 200 headers - #99

Merged
jgarciahospital merged 1 commit into
camaraproject:mainfrom
albertoramosmonagas:fix-issue-98
Aug 4, 2026
Merged

fix: use headers ref for x-correlator in response 200 headers#99
jgarciahospital merged 1 commit into
camaraproject:mainfrom
albertoramosmonagas:fix-issue-98

Conversation

@albertoramosmonagas

Copy link
Copy Markdown
Contributor

What type of PR is this?

Add one of the following kinds:

  • correction

What this PR does / why we need it:

Replace components/parameters/x-correlator withcomponents/headers/x-correlator in the response 200 headers of both /retrieve-date and /check operations.

The parameter ref inlines name and in fields during snapshot creation, which are not valid in a Header Object and cause S-209 OAS 3.x schema validation errors.

Which issue(s) this PR fixes:

Fixes #98

Changelog input

 release-note
fix - Use correct header ref for x-correlator in response 200 headers of /retrieve-date and /check operations

@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

@jgarciahospital
jgarciahospital merged commit 2e87bc0 into camaraproject:main Aug 4, 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.

Fix OAS 3.x schema validation errors in device-swap.yaml (lines 483-484)

2 participants