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

Generate from spec version 1.70.0 #75

Merged
merged 2 commits into from
Jun 27, 2024
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: 3 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ end

task :default => [:spec]

REQUIRED_RUBY_VERSION = ">= 3.3"

desc "Run Swagger Code Generator to update the client from the Swagger spec"
task :generate do
# Download latest swagger spec
spec_filename = 'open_api_spec.yaml'
sh "wget https://api.ynab.com/papi/#{spec_filename} -O ./#{spec_filename}"
sh "openapi-generator generate -i ./#{spec_filename} -g ruby -c config.json -t ./templates -o ./"
sh "openapi-generator generate -i ./#{spec_filename} -g ruby --additional-properties=gemRequiredRubyVersion='#{REQUIRED_RUBY_VERSION}' -c config.json -t ./templates -o ./"
end

task :get_current_version do
Expand Down
1 change: 1 addition & 0 deletions docs/Category.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
| **activity** | **Integer** | Activity amount in milliunits format | |
| **balance** | **Integer** | Balance in milliunits format | |
| **goal_type** | **String** | The type of goal, if the category has a goal (TB='Target Category Balance', TBD='Target Category Balance by Date', MF='Monthly Funding', NEED='Plan Your Spending') | [optional] |
| **goal_needs_whole_amount** | **Boolean** | Indicates the monthly rollover behavior for \"NEED\"-type goals. When \"true\", the goal will always ask for the target amount in the new month (\"Set Aside\"). When \"false\", previous month category funding is used (\"Refill\"). For other goal types, this field will be null. | [optional] |
| **goal_day** | **Integer** | A day offset modifier for the goal's due date. When goal_cadence is 2 (Weekly), this value specifies which day of the week the goal is due (0 = Sunday, 6 = Saturday). Otherwise, this value specifies which day of the month the goal is due (1 = 1st, 31 = 31st, null = Last day of Month). | [optional] |
| **goal_cadence** | **Integer** | The goal cadence. Value in range 0-14. There are two subsets of these values which behave differently. For values 0, 1, 2, and 13, the goal's due date repeats every goal_cadence * goal_cadence_frequency, where 0 = None, 1 = Monthly, 2 = Weekly, and 13 = Yearly. For example, goal_cadence 1 with goal_cadence_frequency 2 means the goal is due every other month. For values 3-12 and 14, goal_cadence_frequency is ignored and the goal's due date repeats every goal_cadence, where 3 = Every 2 Months, 4 = Every 3 Months, ..., 12 = Every 11 Months, and 14 = Every 2 Years. | [optional] |
| **goal_cadence_frequency** | **Integer** | The goal cadence frequency. When goal_cadence is 0, 1, 2, or 13, a goal's due date repeats every goal_cadence * goal_cadence_frequency. For example, goal_cadence 1 with goal_cadence_frequency 2 means the goal is due every other month. When goal_cadence is 3-12 or 14, goal_cadence_frequency is ignored. | [optional] |
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/api/accounts_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/api/budgets_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/api/categories_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/api/months_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/api/payee_locations_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/api/payees_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/api/scheduled_transactions_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/api/transactions_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/api/user_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/api_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/models/account.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/models/account_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/models/account_response_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/models/account_type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/models/accounts_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/models/accounts_response_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/models/budget_detail.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/models/budget_detail_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/models/budget_detail_response_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/models/budget_settings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/models/budget_settings_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/models/budget_settings_response_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/models/budget_summary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/models/budget_summary_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/models/budget_summary_response_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/models/bulk_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/models/bulk_response_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/models/bulk_response_data_bulk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/models/bulk_transactions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/models/categories_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ynab/models/categories_response_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com

The version of the OpenAPI document: 1.69.0
The version of the OpenAPI document: 1.70.0

Generated by: https://openapi-generator.tech
Generator version: 7.6.0
Expand Down
Loading