Skip to content

WPP-11527 API Spec HTML export workflow#165

Merged
edwardbowyer-nhs merged 15 commits into
masterfrom
apm-000-WPP-11527-export-swagger
Jul 15, 2026
Merged

WPP-11527 API Spec HTML export workflow#165
edwardbowyer-nhs merged 15 commits into
masterfrom
apm-000-WPP-11527-export-swagger

Conversation

@edwardbowyer-nhs

@edwardbowyer-nhs edwardbowyer-nhs commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

WPP-11527 - API Spec HTML export workflow

  • Added workflow which Builds, Dereferences and Generates static HTML views of the specs. These are to be socialise potential changes with stakeholders for feedback. The workflow can be run directly from branch or upon a successful merge into master.
  • Specs fully dereferenced to ensure examples are fully viewable to provide most value.
image

Reviews Required

  • Dev
  • Test
  • Tech Author
  • Product Owner

Review Checklist

ℹ️ This section is to be filled in by the reviewer.

  • I have reviewed the changes in this PR and they fill all or part of the acceptance criteria of the ticket, and the code is in a mergeable state.
  • If there were infrastructure, operational, or build changes, I have made sure there is sufficient evidence that the changes will work.
  • I have ensured the changelog has been updated by the submitter, if necessary.

@edwardbowyer-nhs
edwardbowyer-nhs requested a review from Copilot July 14, 2026 14:06
@github-actions

Copy link
Copy Markdown

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

APM-000

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a GitHub Actions workflow to generate and export static HTML renderings of the API OpenAPI specs for stakeholder review, and updates repository documentation to reflect the current specification toolchain.

Changes:

  • Added a workflow to publish bundled specs, dereference them, and generate static Redocly HTML pages as a downloadable artifact.
  • Updated README to describe current OpenAPI tooling (OpenAPI Generator + Redocly) and npm scripts (lint, publish).
  • Updated Swagger UI caveat guidance to prefer bundled specs/static docs for review.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
README.md Updates spec-tooling documentation and guidance to match current scripts/tooling.
.github/workflows/build-api-spec-html.yml New workflow to build/dereference specs and generate/upload static HTML docs artifacts.

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

Comment thread .github/workflows/build-api-spec-html.yml
Comment thread .github/workflows/build-api-spec-html.yml
@github-actions

Copy link
Copy Markdown

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

APM-000

@github-actions

Copy link
Copy Markdown

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

APM-000

@github-actions

Copy link
Copy Markdown

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

APM-000

@github-actions

Copy link
Copy Markdown

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

APM-000

@github-actions

Copy link
Copy Markdown

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

APM-000

@edwardbowyer-nhs
edwardbowyer-nhs marked this pull request as ready for review July 14, 2026 16:08
@github-actions

Copy link
Copy Markdown

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

APM-000

chetan-nhs-acn
chetan-nhs-acn previously approved these changes Jul 15, 2026
Comment thread .github/workflows/build-api-spec-html.yml
Comment thread .github/workflows/build-api-spec-html.yml Outdated
@github-actions

Copy link
Copy Markdown

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

APM-000

@simeonparris-nhs simeonparris-nhs 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.

Thanks for answering my questions. This all looks good as far as I can tell.

@edwardbowyer-nhs
edwardbowyer-nhs merged commit 2fc4ea2 into master Jul 15, 2026
6 of 7 checks passed
@edwardbowyer-nhs
edwardbowyer-nhs deleted the apm-000-WPP-11527-export-swagger branch July 15, 2026 16:46
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