Skip to content

NPA-6466: Service Specification Update#312

Merged
tomknapp merged 4 commits into
masterfrom
task/NPA-6466/update-spec-error-codes
Mar 6, 2026
Merged

NPA-6466: Service Specification Update#312
tomknapp merged 4 commits into
masterfrom
task/NPA-6466/update-spec-error-codes

Conversation

@tomknapp

@tomknapp tomknapp commented Mar 3, 2026

Copy link
Copy Markdown
Contributor
  • Only include values that are actually returned in OperationOutcome -> code (FHIR error code)

Pull Request

🧾 Ticket Link

NPA-6466


📄 Description/Summary of Changes

API Specification amended to remove codes that are never returned from the service in a OperationOutcome object -> code enum


🧪 Developer Testing Carried Out

All schema tests run to test example success and error responses against the spec

  • from project root:
make schema-all

🧪 Reviewer Testing Required


✅ Developer Checklist

  • PR title follows the format: NPA-XXXX: <short-description>
  • Branch name follows the convention: <type>/NPA-XXXX/<short-description>
  • Commit messages follow the template: NPA-XXXX: <short-description>
  • All acceptance criteria from the Jira ticket are addressed
  • Automated tests (unit/integration/API/infrastructure etc. tests) are added or updated
  • Assignees and appropriate labels (e.g. terraform, documentation) are added

👀 Reviewer Checklist

  • Changes meet the acceptance criteria of the Jira ticket
  • Code is able to be merged (no conflicts and adheres to coding standards)
  • Sufficient test evidence is provided (manual and/or automated)
  • Infrastructure/operational/build changes are validated (if applicable)

🚀 Post-merge

- Only include values that are actually returned in OperationOutcome -> code (FHIR error code)
@tomknapp tomknapp added the documentation Improvements or additions to documentation label Mar 3, 2026
@github-actions

github-actions Bot commented Mar 3, 2026

Copy link
Copy Markdown

This branch is work on a ticket in the NHS Digital NPA JIRA Project. Here's a handy link to the ticket:

NPA-6466

Copilot AI 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.

Pull request overview

Updates the OpenAPI specification for the Validated Relationships Service API to narrow the OperationOutcome.issue.code enum to only the codes the service intends to return.

Changes:

  • Removed many OperationOutcome.issue.code enum values from the spec.
  • Minor formatting tweak in the info.description markdown block.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread specification/validated-relationships-service-api.yaml
@github-actions

github-actions Bot commented Mar 3, 2026

Copy link
Copy Markdown

This branch is work on a ticket in the NHS Digital NPA JIRA Project. Here's a handy link to the ticket:

NPA-6466

Comment thread Makefile
@github-actions

github-actions Bot commented Mar 5, 2026

Copy link
Copy Markdown

This branch is work on a ticket in the NHS Digital NPA JIRA Project. Here's a handy link to the ticket:

NPA-6466

@ClarksonAdam ClarksonAdam 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.

Let's get this merged 👍

@tomknapp tomknapp merged commit 55c629d into master Mar 6, 2026
17 checks passed
@tomknapp tomknapp deleted the task/NPA-6466/update-spec-error-codes branch March 6, 2026 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants