diff --git a/code/API_definitions/session-insights.yaml b/code/API_definitions/session-insights.yaml index 09a6da7..bc047ab 100644 --- a/code/API_definitions/session-insights.yaml +++ b/code/API_definitions/session-insights.yaml @@ -295,18 +295,20 @@ components: in: header description: Correlation id for the different services schema: - type: string - pattern: ^[a-zA-Z0-9-_:;.\/<>{}]{0,256}$ - example: "b4333c46-49c0-4f62-80d7-f0ef930f1c46" + $ref: "#/components/schemas/XCorrelator" headers: x-correlator: description: Correlation id for the different services schema: - type: string - pattern: ^[a-zA-Z0-9-_:;.\/<>{}]{0,256}$ + $ref: "#/components/schemas/XCorrelator" schemas: + XCorrelator: + type: string + pattern: ^[a-zA-Z0-9-_:;.\/<>{}]{0,256}$ + example: "b4333c46-49c0-4f62-80d7-f0ef930f1c46" + SessionId: description: Session ID in UUID format type: string