Skip to content

NPA-7129: add policy rule to list of allowed paths#371

Open
hatwell wants to merge 1 commit into
masterfrom
task/NPA-7129/allow-policy-rule
Open

NPA-7129: add policy rule to list of allowed paths#371
hatwell wants to merge 1 commit into
masterfrom
task/NPA-7129/allow-policy-rule

Conversation

@hatwell

@hatwell hatwell commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Pull Request

🧾 Ticket Link

https://nhsd-jira.digital.nhs.uk/browse/NPA-7219


📄 Description/Summary of Changes

  • Adds policy rule to the list of allowed paths for PATCH Consent

🧪 Developer Testing Carried Out


📋 PR Principles

  • Keep PRs Small and Focused: Ensure the PR addresses a single task or feature to make it easier to review.
  • Multiple PRs for one Ticket: When splitting work into multiple PRs, clearly describe what this PR addresses and outline the remaining work to complete the ticket.
  • Ensure Tests Are Included: Add or update unit, integration, or end-to-end tests to cover the changes made.
  • Follow Coding Standards: Ensure the code adheres to the team's coding guidelines and best practices.
  • Resolve Comments Promptly: If you raise a comment, ensure you follow up and resolve it before approving the PR to maintain clarity and ensure comments are addressed.
  • Foster Learning: PR reviews are an opportunity to share knowledge, provide constructive feedback, and encourage a collaborative environment.

🏷️ Naming Conventions Reminder

Please ensure the following naming conventions are followed:

  • 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>

Copilot AI review requested due to automatic review settings July 16, 2026 16:37
@github-actions

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-7129

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 to allow patching an additional static JSON Patch path.

Changes:

  • Added /policyRule to the list of allowed static PatchOperation.path enum values in the OpenAPI schema.

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

- /extension/-
- /provision/period/end
- /provision/actor
- /policyRule
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