Skip to content

fix: align API definitions with Design Guide and Commonalities artifacts - #62

Merged
hdamker-bot merged 1 commit into
camaraproject:mainfrom
hdamker:fix/align-api-definitions
Apr 1, 2026
Merged

fix: align API definitions with Design Guide and Commonalities artifacts#62
hdamker-bot merged 1 commit into
camaraproject:mainfrom
hdamker:fix/align-api-definitions

Conversation

@hdamker

@hdamker hdamker commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

What type of PR is this?

  • correction

What this PR does / why we need it:

Aligns both API definitions with the CAMARA API Design Guide and syncs common files with the artifacts restructuring in Commonalities#606.

release-test.yaml (standalone, no external $ref):

  • Add components section: securitySchemes (openId), x-correlator header/parameter, ErrorInfo, ServiceStatus schemas
  • Add mandatory 401/403 error responses with examples
  • Fix x-camara-commonalities (0.6 → 0.7.0), externalDocs URL, apiRoot description

sample-service.yaml (uses $ref to common files):

  • Sync from Commonalities#606: title without "API", externalDocs, apiRoot description, pagination on list response, ResourceId maxLength for UUID

CAMARA_common.yaml:

  • Sync from Commonalities#606: DateTime schema, openId description, components-only format

CAMARA_event_common.yaml (new):

  • Add from Commonalities#606 for bundling and validation testing

Does this PR introduce a breaking change?

  • Yes
  • No

Special notes for reviewers:

Both APIs pass Spectral lint with zero errors and zero warnings.
Common files synced from Commonalities#606 — may need minor updates as that PR progresses through review.

Changelog input

 release-note
fix: align API definitions with Design Guide, add CAMARA_event_common.yaml

- release-test.yaml: add components section (securitySchemes, x-correlator,
  ErrorInfo, ServiceStatus), 401/403 error responses, fix x-camara-commonalities,
  externalDocs, apiRoot description — all inline, no external $ref
- sample-service.yaml: sync from Commonalities #606 (title, externalDocs,
  apiRoot description, pagination, ResourceId maxLength, openId $ref)
- CAMARA_common.yaml: sync from #606 (DateTime schema, openId description,
  components-only format, expanded description)
- CAMARA_event_common.yaml: add from #606 for bundling/validation testing
@hdamker
hdamker requested a review from hdamker-bot as a code owner April 1, 2026 19:33
@hdamker-bot
hdamker-bot merged commit 0206472 into camaraproject:main Apr 1, 2026
2 checks passed
@hdamker
hdamker deleted the fix/align-api-definitions branch May 14, 2026 18:09
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.

2 participants