From a3b9f9147965ac063cbf492507dfcf8695556796 Mon Sep 17 00:00:00 2001 From: Daniel Tonks Date: Mon, 31 Jul 2023 09:28:45 -0600 Subject: [PATCH] openapi: fix field name in fileHeader schema (#310) --- client/api/openapi.yaml | 2 +- client/docs/IclFileHeader.md | 2 +- client/model_icl_file_header.go | 2 +- openapi.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/api/openapi.yaml b/client/api/openapi.yaml index 04d036a5..28898164 100644 --- a/client/api/openapi.yaml +++ b/client/api/openapi.yaml @@ -5919,7 +5919,7 @@ components: - immediateOrigin - resendIndicator - standardLevel - - testFileIndicator + - testIndicator ICLFileControl: example: cashLetterCount: 1 diff --git a/client/docs/IclFileHeader.md b/client/docs/IclFileHeader.md index f39856a4..a4c657db 100644 --- a/client/docs/IclFileHeader.md +++ b/client/docs/IclFileHeader.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ID** | **string** | FileHeader ID | [optional] **StandardLevel** | **string** | StandardLevel identifies the standard level of the file. * `03` - DSTU X9.37-2003 * `30` - X9.100-187-2008 * `35` - X9.100-187-2013 and X9.100-187-2016 | -**TestIndicator** | **string** | TestIndicator identifies whether the file is a test or production file. * `T` - Test File * `P` - Production File | [optional] +**TestIndicator** | **string** | TestIndicator identifies whether the file is a test or production file. * `T` - Test File * `P` - Production File | **ImmediateDestination** | **string** | ImmediateDestination is the routing and transit number of the Federal Reserve Bank (FRB) or receiver to which the file is being sent. | **ImmediateOrigin** | **string** | ImmediateOrigin is the routing and transit number of the Federal Reserve Bank (FRB) or originator from which the file is being sent. | **FileCreationDate** | [**time.Time**](time.Time.md) | FileCreationDate is the date the immediate origin institution creates the file. | diff --git a/client/model_icl_file_header.go b/client/model_icl_file_header.go index 5a9dfd7e..3b4ee192 100644 --- a/client/model_icl_file_header.go +++ b/client/model_icl_file_header.go @@ -20,7 +20,7 @@ type IclFileHeader struct { // StandardLevel identifies the standard level of the file. * `03` - DSTU X9.37-2003 * `30` - X9.100-187-2008 * `35` - X9.100-187-2013 and X9.100-187-2016 StandardLevel string `json:"standardLevel"` // TestIndicator identifies whether the file is a test or production file. * `T` - Test File * `P` - Production File - TestIndicator string `json:"testIndicator,omitempty"` + TestIndicator string `json:"testIndicator"` // ImmediateDestination is the routing and transit number of the Federal Reserve Bank (FRB) or receiver to which the file is being sent. ImmediateDestination string `json:"immediateDestination"` // ImmediateOrigin is the routing and transit number of the Federal Reserve Bank (FRB) or originator from which the file is being sent. diff --git a/openapi.yaml b/openapi.yaml index 2cfe1db4..08efc981 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -477,7 +477,7 @@ components: example: '1' required: - standardLevel - - testFileIndicator + - testIndicator - resendIndicator - immediateDestination - immediateOrigin