Skip to content

CCM-11580: Updates for OAS Spec V1#139

Merged
simonlabarere merged 3 commits into
mainfrom
feature/CCM-11580-oas-spec-v1
Sep 10, 2025
Merged

CCM-11580: Updates for OAS Spec V1#139
simonlabarere merged 3 commits into
mainfrom
feature/CCM-11580-oas-spec-v1

Conversation

@m-houston

@m-houston m-houston commented Sep 3, 2025

Copy link
Copy Markdown
Contributor

Description

  • Updates and fixes to the main OAS spec closing in on V1
  • Remove GET endpoints for MI
  • Remove paging from GET /letters
  • Moved GET /letter-data to GET /letters/{id}/data
  • Fix various OAS syntax issues

Context

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@m-houston m-houston requested review from a team as code owners September 3, 2025 15:29
@m-houston m-houston marked this pull request as draft September 3, 2025 15:38
simonlabarere
simonlabarere previously approved these changes Sep 4, 2025
masl2
masl2 previously approved these changes Sep 9, 2025
@masl2 masl2 marked this pull request as ready for review September 9, 2025 14:34
masl2
masl2 previously approved these changes Sep 9, 2025
sidnhs
sidnhs previously approved these changes Sep 9, 2025
aidenvaines-cgi
aidenvaines-cgi previously approved these changes Sep 9, 2025
Remove 'requestedProductionStatus' from letter-related JSON schemas and update examples to singular form

CCM-11580: Update serve-oas command

CCM-11580: Update serve-oas command

CCM-11580: Remove unneeded endpoints and resource types

+ Move getData endpoint under letter

CCM-11580: Remove hello world endpoint

CCM-11580: Remove hello world endpoint

CCM-11580: Add sandbox handler metadata to endpoints

CCM-11580: More fixes to examples syntax

CCM-11580: Remove remaining reference to hello-world lambda

CCM-11580: Remove remaining reference to hello-world lambda

CCM-11580: add limit parameter to list letters endpoint

CCM-11580: Update sandbox endpoints to match OAS

CCM-11580: Update letter responses in Sandbox to match spec changes

CCM-11580: implement get letter status endpoint in sandbox

Add groupId to schema and examples
@m-houston m-houston dismissed stale reviews from aidenvaines-cgi, sidnhs, and masl2 via d0a2f66 September 9, 2025 15:40
@m-houston m-houston force-pushed the feature/CCM-11580-oas-spec-v1 branch from e1ddd45 to d0a2f66 Compare September 9, 2025 15:40
m-houston and others added 2 commits September 9, 2025 16:43
# Conflicts:
#	infrastructure/terraform/components/api/README.md
#	infrastructure/terraform/components/api/locals.tf
#	infrastructure/terraform/components/api/module_lambda_hello_world.tf
@sonarqubecloud

sonarqubecloud Bot commented Sep 9, 2025

Copy link
Copy Markdown

@simonlabarere simonlabarere merged commit 0c68250 into main Sep 10, 2025
66 of 67 checks passed
@simonlabarere simonlabarere deleted the feature/CCM-11580-oas-spec-v1 branch September 10, 2025 09:22
simonlabarere pushed a commit that referenced this pull request Sep 10, 2025
* CCM-11580: OAS syntax fixes

Remove 'requestedProductionStatus' from letter-related JSON schemas and update examples to singular form

CCM-11580: Update serve-oas command

CCM-11580: Update serve-oas command

CCM-11580: Remove unneeded endpoints and resource types

+ Move getData endpoint under letter

CCM-11580: Remove hello world endpoint

CCM-11580: Remove hello world endpoint

CCM-11580: Add sandbox handler metadata to endpoints

CCM-11580: More fixes to examples syntax

CCM-11580: Remove remaining reference to hello-world lambda

CCM-11580: Remove remaining reference to hello-world lambda

CCM-11580: add limit parameter to list letters endpoint

CCM-11580: Update sandbox endpoints to match OAS

CCM-11580: Update letter responses in Sandbox to match spec changes

CCM-11580: implement get letter status endpoint in sandbox

Add groupId to schema and examples

* CCM-11580: remove x-eov extension from non sandox spec

---------

Co-authored-by: mark.slowey1 <mark.slowey1@nhs.net>
Namitha-Prabhu pushed a commit that referenced this pull request Sep 10, 2025
* CCM-11580: OAS syntax fixes

Remove 'requestedProductionStatus' from letter-related JSON schemas and update examples to singular form

CCM-11580: Update serve-oas command

CCM-11580: Update serve-oas command

CCM-11580: Remove unneeded endpoints and resource types

+ Move getData endpoint under letter

CCM-11580: Remove hello world endpoint

CCM-11580: Remove hello world endpoint

CCM-11580: Add sandbox handler metadata to endpoints

CCM-11580: More fixes to examples syntax

CCM-11580: Remove remaining reference to hello-world lambda

CCM-11580: Remove remaining reference to hello-world lambda

CCM-11580: add limit parameter to list letters endpoint

CCM-11580: Update sandbox endpoints to match OAS

CCM-11580: Update letter responses in Sandbox to match spec changes

CCM-11580: implement get letter status endpoint in sandbox

Add groupId to schema and examples

* CCM-11580: remove x-eov extension from non sandox spec

---------

Co-authored-by: mark.slowey1 <mark.slowey1@nhs.net>
Namitha-Prabhu pushed a commit that referenced this pull request Sep 11, 2025
* CCM-11580: OAS syntax fixes

Remove 'requestedProductionStatus' from letter-related JSON schemas and update examples to singular form

CCM-11580: Update serve-oas command

CCM-11580: Update serve-oas command

CCM-11580: Remove unneeded endpoints and resource types

+ Move getData endpoint under letter

CCM-11580: Remove hello world endpoint

CCM-11580: Remove hello world endpoint

CCM-11580: Add sandbox handler metadata to endpoints

CCM-11580: More fixes to examples syntax

CCM-11580: Remove remaining reference to hello-world lambda

CCM-11580: Remove remaining reference to hello-world lambda

CCM-11580: add limit parameter to list letters endpoint

CCM-11580: Update sandbox endpoints to match OAS

CCM-11580: Update letter responses in Sandbox to match spec changes

CCM-11580: implement get letter status endpoint in sandbox

Add groupId to schema and examples

* CCM-11580: remove x-eov extension from non sandox spec

---------

Co-authored-by: mark.slowey1 <mark.slowey1@nhs.net>
Signed-off-by: Namitha-Prabhu <namitha.prabhu@cgi.com>
Namitha-Prabhu pushed a commit that referenced this pull request Sep 11, 2025
* CCM-11580: OAS syntax fixes

Remove 'requestedProductionStatus' from letter-related JSON schemas and update examples to singular form

CCM-11580: Update serve-oas command

CCM-11580: Update serve-oas command

CCM-11580: Remove unneeded endpoints and resource types

+ Move getData endpoint under letter

CCM-11580: Remove hello world endpoint

CCM-11580: Remove hello world endpoint

CCM-11580: Add sandbox handler metadata to endpoints

CCM-11580: More fixes to examples syntax

CCM-11580: Remove remaining reference to hello-world lambda

CCM-11580: Remove remaining reference to hello-world lambda

CCM-11580: add limit parameter to list letters endpoint

CCM-11580: Update sandbox endpoints to match OAS

CCM-11580: Update letter responses in Sandbox to match spec changes

CCM-11580: implement get letter status endpoint in sandbox

Add groupId to schema and examples

* CCM-11580: remove x-eov extension from non sandox spec

---------

Co-authored-by: mark.slowey1 <mark.slowey1@nhs.net>
Signed-off-by: Namitha-Prabhu <namitha.prabhu@cgi.com>
Namitha-Prabhu pushed a commit that referenced this pull request Sep 11, 2025
* CCM-11580: OAS syntax fixes

Remove 'requestedProductionStatus' from letter-related JSON schemas and update examples to singular form

CCM-11580: Update serve-oas command

CCM-11580: Update serve-oas command

CCM-11580: Remove unneeded endpoints and resource types

+ Move getData endpoint under letter

CCM-11580: Remove hello world endpoint

CCM-11580: Remove hello world endpoint

CCM-11580: Add sandbox handler metadata to endpoints

CCM-11580: More fixes to examples syntax

CCM-11580: Remove remaining reference to hello-world lambda

CCM-11580: Remove remaining reference to hello-world lambda

CCM-11580: add limit parameter to list letters endpoint

CCM-11580: Update sandbox endpoints to match OAS

CCM-11580: Update letter responses in Sandbox to match spec changes

CCM-11580: implement get letter status endpoint in sandbox

Add groupId to schema and examples

* CCM-11580: remove x-eov extension from non sandox spec

---------

Co-authored-by: mark.slowey1 <mark.slowey1@nhs.net>
Signed-off-by: Namitha-Prabhu <namitha.prabhu@cgi.com>
Namitha-Prabhu pushed a commit that referenced this pull request Sep 11, 2025
* CCM-11580: OAS syntax fixes

Remove 'requestedProductionStatus' from letter-related JSON schemas and update examples to singular form

CCM-11580: Update serve-oas command

CCM-11580: Update serve-oas command

CCM-11580: Remove unneeded endpoints and resource types

+ Move getData endpoint under letter

CCM-11580: Remove hello world endpoint

CCM-11580: Remove hello world endpoint

CCM-11580: Add sandbox handler metadata to endpoints

CCM-11580: More fixes to examples syntax

CCM-11580: Remove remaining reference to hello-world lambda

CCM-11580: Remove remaining reference to hello-world lambda

CCM-11580: add limit parameter to list letters endpoint

CCM-11580: Update sandbox endpoints to match OAS

CCM-11580: Update letter responses in Sandbox to match spec changes

CCM-11580: implement get letter status endpoint in sandbox

Add groupId to schema and examples

* CCM-11580: remove x-eov extension from non sandox spec

---------

Co-authored-by: mark.slowey1 <mark.slowey1@nhs.net>
Signed-off-by: Namitha-Prabhu <namitha.prabhu@cgi.com>
simonlabarere pushed a commit that referenced this pull request Sep 11, 2025
remove escape char

remove files

remove files

rebase main

Signed-off-by: Namitha-Prabhu <namitha.prabhu@cgi.com>

CCM-11580: Updates for OAS Spec V1 (#139)

* CCM-11580: OAS syntax fixes

Remove 'requestedProductionStatus' from letter-related JSON schemas and update examples to singular form

CCM-11580: Update serve-oas command

CCM-11580: Update serve-oas command

CCM-11580: Remove unneeded endpoints and resource types

+ Move getData endpoint under letter

CCM-11580: Remove hello world endpoint

CCM-11580: Remove hello world endpoint

CCM-11580: Add sandbox handler metadata to endpoints

CCM-11580: More fixes to examples syntax

CCM-11580: Remove remaining reference to hello-world lambda

CCM-11580: Remove remaining reference to hello-world lambda

CCM-11580: add limit parameter to list letters endpoint

CCM-11580: Update sandbox endpoints to match OAS

CCM-11580: Update letter responses in Sandbox to match spec changes

CCM-11580: implement get letter status endpoint in sandbox

Add groupId to schema and examples

* CCM-11580: remove x-eov extension from non sandox spec

---------

Co-authored-by: mark.slowey1 <mark.slowey1@nhs.net>
Signed-off-by: Namitha-Prabhu <namitha.prabhu@cgi.com>

remove files

Signed-off-by: Namitha-Prabhu <namitha.prabhu@cgi.com>

remove reference to zsh.

Signed-off-by: Namitha-Prabhu <namitha.prabhu@cgi.com>
francisco-videira-nhs added a commit that referenced this pull request Sep 18, 2025
* CCM-11602: Test

* CCM-11602: letters schema

* CCM-11602: letters schema

* CCM-11602: Give get letters access to GSI

* CCM-11602: GET Letters endpoint

* CCM-11602: GET Letters endpoint

* CCM-11602: GET Letters endpoint

* CCM-11602: GET Letters endpoint

* CCM-11602: GET Letters endpoint

* CCM-11602: GET Endpoint sandbox updates

* CCM-11602: Get enpoint tests

* CCM-11602: Get enpoint safe header check

* CCM-11602: Update sandbox

* CCM-11602: Update sandbox

* CCM-11602: Add logging

* CCM-11602: Update sandbox

* CCM-11602: Rename size parameter to limit

* CCM-11602: Add validation for limit parameter

* CCM-11602: increase Trivy scan timeout

* CCM-11602: Add groupId

* Correct target URL for main (#134)

* CCM-11942 Fixing cross repo workflows (#137)

* CCM-11942 Fixing cross repo workflows

* CCM-11942 Fixing cross repo workflows

* CCM-11942 Fixing cross repo workflows

* CCM-11751: Use github release assests for shared modules call (#142)

* CCM-11751: Use github release assests for shared modules call

* CCM-11751: Use github release assests for shared modules call

* CCM-11751: Use github release assests for shared modules call

* CCM-11751: Use github release assests for shared modules call

* CCM-11751: Fixing workflow trigger (#146)

* CCM-11580: Updates for OAS Spec V1 (#139)

* CCM-11580: OAS syntax fixes

Remove 'requestedProductionStatus' from letter-related JSON schemas and update examples to singular form

CCM-11580: Update serve-oas command

CCM-11580: Update serve-oas command

CCM-11580: Remove unneeded endpoints and resource types

+ Move getData endpoint under letter

CCM-11580: Remove hello world endpoint

CCM-11580: Remove hello world endpoint

CCM-11580: Add sandbox handler metadata to endpoints

CCM-11580: More fixes to examples syntax

CCM-11580: Remove remaining reference to hello-world lambda

CCM-11580: Remove remaining reference to hello-world lambda

CCM-11580: add limit parameter to list letters endpoint

CCM-11580: Update sandbox endpoints to match OAS

CCM-11580: Update letter responses in Sandbox to match spec changes

CCM-11580: implement get letter status endpoint in sandbox

Add groupId to schema and examples

* CCM-11580: remove x-eov extension from non sandox spec

---------

Co-authored-by: mark.slowey1 <mark.slowey1@nhs.net>

* Update README.md (#140)

Small change to fix Sonar cloud badges

* Add timestamp value to supplierStatusSk

* CCM-11602: param validation, max range, and OAS 400 examples

* CCM-11602: unit test expectation wording

* CCM-11602: MAX LIMIT envar and added into test context

* CCM-11602: limit can't be 0, return maxLimit value

---------

Co-authored-by: David Wass <david.wass2@nhs.net>
Co-authored-by: Aiden Vaines <54067008+aidenvaines-cgi@users.noreply.github.com>
Co-authored-by: sidnhs <siddharth.nair1@nhs.net>
Co-authored-by: Mike Houston <60653100+m-houston@users.noreply.github.com>
Co-authored-by: mark.slowey1 <mark.slowey1@nhs.net>
Co-authored-by: Tim Ireland <tim.ireland@hscic.gov.uk>
Co-authored-by: Mark Slowey <113013138+masl2@users.noreply.github.com>
Co-authored-by: Francisco Videira <francisco.videira@nhs.net>
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.

5 participants