Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NRL-1007] Make X-Request-Id a required header in the API spec #705

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions api/consumer/record-locator/consumer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1582,7 +1582,7 @@ components:

Mirrored back in a response header.
in: header
required: false
required: true
schema:
$ref: "#/components/schemas/RequestHeaderRequestId"
correlationId:
Expand Down Expand Up @@ -1625,4 +1625,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.
4 changes: 2 additions & 2 deletions api/consumer/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1529,7 +1529,7 @@ components:

Mirrored back in a response header.
in: header
required: false
required: true
schema:
$ref: "#/components/schemas/RequestHeaderRequestId"
correlationId:
Expand Down Expand Up @@ -1572,4 +1572,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.
4 changes: 2 additions & 2 deletions api/producer/record-locator/producer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2158,7 +2158,7 @@ components:

Mirrored back in a response header.
in: header
required: false
required: true
schema:
$ref: "#/components/schemas/RequestHeaderRequestId"
correlationId:
Expand Down Expand Up @@ -2211,4 +2211,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.
4 changes: 2 additions & 2 deletions api/producer/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2034,7 +2034,7 @@ components:

Mirrored back in a response header.
in: header
required: false
required: true
schema:
$ref: "#/components/schemas/RequestHeaderRequestId"
correlationId:
Expand Down Expand Up @@ -2087,4 +2087,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.
4 changes: 2 additions & 2 deletions swagger/consumer-static/components.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ components:

Mirrored back in a response header.
in: header
required: false
required: true
schema:
$ref: "#/components/schemas/RequestHeaderRequestId"
correlationId:
Expand Down Expand Up @@ -177,4 +177,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.
4 changes: 2 additions & 2 deletions swagger/producer-static/components.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ components:

Mirrored back in a response header.
in: header
required: false
required: true
schema:
$ref: "#/components/schemas/RequestHeaderRequestId"
correlationId:
Expand Down Expand Up @@ -214,4 +214,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.
2 changes: 1 addition & 1 deletion swagger/producer-static/narrative.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1271,4 +1271,4 @@ components:
schema:
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.