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

Refresh onfido-ruby after onfido-openapi-spec update (db5a1b5) #77

Merged
merged 2 commits into from
Feb 20, 2025
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.9.0
7.11.0
6 changes: 3 additions & 3 deletions .release.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"source": {
"repo_url": "https://github.com/onfido/onfido-openapi-spec",
"short_sha": "0eec622",
"long_sha": "0eec6225e66b9f905dac23fe4eb18a1584517f64",
"version": ""
"short_sha": "db5a1b5",
"long_sha": "db5a1b59681fa467b324b4116de24d88d56d7452",
"version": "v5.0.0"
},
"release": "v5.0.0"
}
29 changes: 29 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# Migration Guide

This guide provides detailed instructions on how to upgrade between different
major versions of the client library.

It covers changes in core resources, other endpoints, and the OpenAPI generator,
ensuring a smooth transition between versions.

## Upgrading from 4.x to 5.x

### Core Resources

- Documents
- Allow any string as `file_type`

### Other Endpoints

- Webhooks
- Drop `WORKFLOW_SIGNED_EVIDENCE_FILE_CREATED` enum value from
`WebhookEventType` enum
- Make `href` property in `WebhookEventPayloadObject` optional
- Reports
- Allow the deprecated `records` property in `WatchlistAml` and
`WatchlistStandard` reports to be any object, and not just a string
- Remove `documents` property from all reports except Document and
Facial Similarity reports

### OpenAPI generator

- Version upgraded from `7.9.0` to `7.11.0`

## Upgrading from 3.x to 4.x

### Core Resources
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Webhook events payload needs to be verified before it can be accessed. Verifying

## Contributing

This library is automatically generated using [OpenAPI Generator](https://openapi-generator.tech) (version: 7.9.0); therefore, all contributions (except test files) should target the [Onfido OpenAPI specification repository](https://github.com/onfido/onfido-openapi-spec/tree/master) instead of this repository. Please follow the contribution guidelines provided in the OpenAPI specification repository.
This library is automatically generated using [OpenAPI Generator](https://openapi-generator.tech) (version: 7.11.0); therefore, all contributions (except test files) should target the [Onfido OpenAPI specification repository](https://github.com/onfido/onfido-openapi-spec/tree/master) instead of this repository. Please follow the contribution guidelines provided in the OpenAPI specification repository.

For contributions to the tests instead, please follow the steps below:

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/api/default_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/api_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/api_error.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/address.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/address_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/address_shared.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/addresses_list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/applicant.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/applicant_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/applicant_consent_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/applicant_consent_name.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/applicant_create.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/applicant_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/applicant_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/applicant_shared.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/applicant_update.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/applicant_updater.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/applicants_list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/check.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/check_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/check_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/check_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/check_shared.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/check_status.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/checks_list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/complete_task_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/complete_task_data_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/country_codes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
2 changes: 1 addition & 1 deletion lib/onfido/models/device_intelligence_breakdown.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v3.6

Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0

=end

Expand Down
Loading