Skip to content

Commit

Permalink
client: regenerate with openapi-generator v6.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdecaf committed Nov 21, 2023
1 parent a0d9021 commit c6f3cd9
Show file tree
Hide file tree
Showing 11 changed files with 205 additions and 130 deletions.
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ else
# Versions from https://github.com/OpenAPITools/openapi-generator/releases
@chmod +x ./openapi-generator
@rm -rf ./client
OPENAPI_GENERATOR_VERSION=6.4.0 ./openapi-generator generate --git-user-id=moov-io --git-repo-id=metro2 --package-name client -i ./api/openapi.yaml -g go -o ./pkg/client
OPENAPI_GENERATOR_VERSION=6.6.0 ./openapi-generator generate --git-user-id=moov-io --git-repo-id=metro2 --package-name client -i ./api/openapi.yaml -g go -o ./pkg/client
rm -f ./pkg/client/go.mod ./pkg/client/go.sum ./pkg/client/.travis.yml ./pkg/client/git_push.sh
go fmt ./...
go build github.com/moov-io/metro2/pkg/client
Expand Down
2 changes: 1 addition & 1 deletion pkg/client/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.4.0
6.6.0
2 changes: 1 addition & 1 deletion pkg/client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Class | Method | HTTP request | Description

## Documentation For Authorization

Endpoints do not require authorization.
Endpoints do not require authorization.


## Documentation for Utility Methods
Expand Down
6 changes: 0 additions & 6 deletions pkg/client/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -677,15 +677,13 @@ components:
- consumerAccountNumber
- currentBalance
- dateAccountInformation
- dateBirth
- ecoaCode
- firstLineAddress
- firstName
- highestCredit
- identificationNumber
- paymentHistoryProfile
- recordDescriptorWord
- socialSecurityNumber
- state
- surname
- termsDuration
Expand Down Expand Up @@ -722,11 +720,9 @@ components:
consumerInformationIndicator:
type: string
required:
- dateBirth
- ecoaCode
- firstName
- segmentIdentifier
- socialSecurityNumber
- surname
J2Segment:
properties:
Expand Down Expand Up @@ -790,12 +786,10 @@ components:
type: string
required:
- city
- dateBirth
- ecoaCode
- firstLineAddress
- firstName
- segmentIdentifier
- socialSecurityNumber
- state
- surname
- zipCode
Expand Down
23 changes: 10 additions & 13 deletions pkg/client/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 13 additions & 3 deletions pkg/client/docs/BaseSegment.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ Name | Type | Description | Notes
**FirstName** | **string** | |
**MiddleName** | Pointer to **string** | | [optional]
**GenerationCode** | Pointer to **string** | | [optional]
**SocialSecurityNumber** | **int32** | |
**DateBirth** | **time.Time** | |
**SocialSecurityNumber** | Pointer to **int32** | | [optional]
**DateBirth** | Pointer to **time.Time** | | [optional]
**TelephoneNumber** | Pointer to **int64** | | [optional]
**EcoaCode** | **string** | |
**ConsumerInformationIndicator** | Pointer to **string** | | [optional]
Expand All @@ -54,7 +54,7 @@ Name | Type | Description | Notes

### NewBaseSegment

`func NewBaseSegment(recordDescriptorWord int32, identificationNumber string, consumerAccountNumber string, accountType string, highestCredit int32, termsDuration string, accountStatus string, paymentHistoryProfile string, currentBalance int32, dateAccountInformation time.Time, surname string, firstName string, socialSecurityNumber int32, dateBirth time.Time, ecoaCode string, firstLineAddress string, state string, zipCode string, ) *BaseSegment`
`func NewBaseSegment(recordDescriptorWord int32, identificationNumber string, consumerAccountNumber string, accountType string, highestCredit int32, termsDuration string, accountStatus string, paymentHistoryProfile string, currentBalance int32, dateAccountInformation time.Time, surname string, firstName string, ecoaCode string, firstLineAddress string, state string, zipCode string, ) *BaseSegment`

NewBaseSegment instantiates a new BaseSegment object
This constructor will assign default values to properties that have it defined,
Expand Down Expand Up @@ -828,6 +828,11 @@ and a boolean to check if the value has been set.

SetSocialSecurityNumber sets SocialSecurityNumber field to given value.

### HasSocialSecurityNumber

`func (o *BaseSegment) HasSocialSecurityNumber() bool`

HasSocialSecurityNumber returns a boolean if a field has been set.

### GetDateBirth

Expand All @@ -848,6 +853,11 @@ and a boolean to check if the value has been set.

SetDateBirth sets DateBirth field to given value.

### HasDateBirth

`func (o *BaseSegment) HasDateBirth() bool`

HasDateBirth returns a boolean if a field has been set.

### GetTelephoneNumber

Expand Down
16 changes: 13 additions & 3 deletions pkg/client/docs/J1Segment.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Name | Type | Description | Notes
**FirstName** | **string** | |
**MiddleName** | Pointer to **string** | | [optional]
**GenerationCode** | Pointer to **string** | | [optional]
**SocialSecurityNumber** | **int32** | |
**DateBirth** | **time.Time** | |
**SocialSecurityNumber** | Pointer to **int32** | | [optional]
**DateBirth** | Pointer to **time.Time** | | [optional]
**TelephoneNumber** | Pointer to **int64** | | [optional]
**EcoaCode** | **string** | |
**ConsumerInformationIndicator** | Pointer to **string** | | [optional]
Expand All @@ -19,7 +19,7 @@ Name | Type | Description | Notes

### NewJ1Segment

`func NewJ1Segment(segmentIdentifier string, surname string, firstName string, socialSecurityNumber int32, dateBirth time.Time, ecoaCode string, ) *J1Segment`
`func NewJ1Segment(segmentIdentifier string, surname string, firstName string, ecoaCode string, ) *J1Segment`

NewJ1Segment instantiates a new J1Segment object
This constructor will assign default values to properties that have it defined,
Expand Down Expand Up @@ -163,6 +163,11 @@ and a boolean to check if the value has been set.

SetSocialSecurityNumber sets SocialSecurityNumber field to given value.

### HasSocialSecurityNumber

`func (o *J1Segment) HasSocialSecurityNumber() bool`

HasSocialSecurityNumber returns a boolean if a field has been set.

### GetDateBirth

Expand All @@ -183,6 +188,11 @@ and a boolean to check if the value has been set.

SetDateBirth sets DateBirth field to given value.

### HasDateBirth

`func (o *J1Segment) HasDateBirth() bool`

HasDateBirth returns a boolean if a field has been set.

### GetTelephoneNumber

Expand Down
16 changes: 13 additions & 3 deletions pkg/client/docs/J2Segment.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Name | Type | Description | Notes
**FirstName** | **string** | |
**MiddleName** | Pointer to **string** | | [optional]
**GenerationCode** | Pointer to **string** | | [optional]
**SocialSecurityNumber** | **int32** | |
**DateBirth** | **time.Time** | |
**SocialSecurityNumber** | Pointer to **int32** | | [optional]
**DateBirth** | Pointer to **time.Time** | | [optional]
**TelephoneNumber** | Pointer to **int64** | | [optional]
**EcoaCode** | **string** | |
**ConsumerInformationIndicator** | Pointer to **string** | | [optional]
Expand All @@ -27,7 +27,7 @@ Name | Type | Description | Notes

### NewJ2Segment

`func NewJ2Segment(segmentIdentifier string, surname string, firstName string, socialSecurityNumber int32, dateBirth time.Time, ecoaCode string, firstLineAddress string, city string, state string, zipCode string, ) *J2Segment`
`func NewJ2Segment(segmentIdentifier string, surname string, firstName string, ecoaCode string, firstLineAddress string, city string, state string, zipCode string, ) *J2Segment`

NewJ2Segment instantiates a new J2Segment object
This constructor will assign default values to properties that have it defined,
Expand Down Expand Up @@ -171,6 +171,11 @@ and a boolean to check if the value has been set.

SetSocialSecurityNumber sets SocialSecurityNumber field to given value.

### HasSocialSecurityNumber

`func (o *J2Segment) HasSocialSecurityNumber() bool`

HasSocialSecurityNumber returns a boolean if a field has been set.

### GetDateBirth

Expand All @@ -191,6 +196,11 @@ and a boolean to check if the value has been set.

SetDateBirth sets DateBirth field to given value.

### HasDateBirth

`func (o *J2Segment) HasDateBirth() bool`

HasDateBirth returns a boolean if a field has been set.

### GetTelephoneNumber

Expand Down
68 changes: 43 additions & 25 deletions pkg/client/model_base_segment.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c6f3cd9

Please sign in to comment.