Skip to content

Commit

Permalink
Merge pull request #155 from NHSDigital/feature/made14-NRL-1007-reqid…
Browse files Browse the repository at this point in the history
…-required-in-spec

[NRL-1007] Make X-Request-Id a required header in the API spec
  • Loading branch information
mattdean3-nhs authored Sep 2, 2024
2 parents 921efb7 + 66ac8a4 commit 9bc61c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions specification/record-locator/producer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2187,7 +2187,7 @@ components:
Mirrored back in a response header.
in: header
required: false
required: true
schema:
$ref: "#/components/schemas/RequestHeaderRequestId"
correlationId:
Expand Down Expand Up @@ -2240,4 +2240,4 @@ components:
pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
example: 60E0B220-8136-4CA5-AE46-1D97EF59D068
description: |
The X-Request-ID from the request header, if supplied, mirrored back.
The X-Request-ID from the request header mirrored back.

0 comments on commit 9bc61c3

Please sign in to comment.