Skip to content

Commit cff1a3a

Browse files
authored
Feature/syn 866 (#136)
* Added search and replace Regex for ‘vaccinations’ and ‘contraception’ * Updated list at top of page * Added 4 example JSON responses * Update spec file to include ‘Contraception’ and ‘Vaccinations’ * Updated the Postman collection * Increased number of sandbox endpoints to include ‘Contraception’ and ‘Vaccinations’ * Updated Sandbox endpoints list * Added protocols and hostnames to broken href attributes * Fixed href hostnames to ‘https://www.nhs.uk/' * Text change in spec file * Text change in the spec file RE: Onboarding approval * Spec content fix
1 parent d406942 commit cff1a3a

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

specification/nhs-website-content-api.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -743,10 +743,9 @@ paths:
743743
744744
The [contraception hub](https://www.nhs.uk/contraception/) contains a number of navigational and content pages.
745745
746-
The main page contains significant links to topic pages, which then contain significant links to the content pages.
747-
748-
Content pages use the 'question' schema.org [question](https://schema.org/Question) property.
746+
The content of the page is taken from the `mainEntityOfPage` part of the response. This includes the navigational links to child pages.
749747
748+
At the top level, modularised content of child pages is highlighted by the `hasPart` field. In child pages, only the individual page is shown.
750749
responses:
751750
"200":
752751
description: |
@@ -776,10 +775,9 @@ paths:
776775
777776
The [vaccinations hub](https://www.nhs.uk/vaccinations/) contains a number of navigational and content pages.
778777
779-
The main page contains significant links to topic pages, which then contain significant links to the content pages.
780-
781-
Content pages use the 'question' schema.org [question](https://schema.org/Question) property.
778+
The content of the page is taken from the `mainEntityOfPage` part of the response. This includes the navigational links to child pages.
782779
780+
At the top level, modularised content of child pages is highlighted by the `hasPart` field. In child pages, only the individual page is shown.
783781
responses:
784782
"200":
785783
description: |

0 commit comments

Comments
 (0)