gbizinfo 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/CODE_OF_CONDUCT.md +12 -12
  3. data/Gemfile +1 -1
  4. data/Gemfile.lock +32 -25
  5. data/LICENSE.txt +1 -1
  6. data/README.md +8 -7
  7. data/docs/ApiErrorResponse.md +20 -0
  8. data/docs/HojinInfoResponse.md +1 -1
  9. data/docs/HojinInfoUpdateInfoResponse.md +1 -1
  10. data/gbizinfo.gemspec +4 -4
  11. data/git_push.sh +1 -1
  12. data/lib/gbizinfo/api/g_biz_inforestapi_api.rb +18 -18
  13. data/lib/gbizinfo/api/g_biz_inforestapi_period_specified_search_api.rb +9 -9
  14. data/lib/gbizinfo/api_client.rb +29 -24
  15. data/lib/gbizinfo/api_error.rb +1 -1
  16. data/lib/gbizinfo/api_model_base.rb +88 -0
  17. data/lib/gbizinfo/configuration.rb +14 -3
  18. data/lib/gbizinfo/models/{api_error.rb → api_error_response.rb} +12 -79
  19. data/lib/gbizinfo/models/certification_info.rb +11 -78
  20. data/lib/gbizinfo/models/commendation_info.rb +11 -78
  21. data/lib/gbizinfo/models/compatibility_of_childcare_and_work.rb +11 -78
  22. data/lib/gbizinfo/models/finance.rb +11 -78
  23. data/lib/gbizinfo/models/hojin_info.rb +11 -78
  24. data/lib/gbizinfo/models/hojin_info_response.rb +12 -79
  25. data/lib/gbizinfo/models/hojin_info_update_info_response.rb +12 -79
  26. data/lib/gbizinfo/models/major_shareholders.rb +11 -78
  27. data/lib/gbizinfo/models/management_index.rb +11 -78
  28. data/lib/gbizinfo/models/patent_info.rb +11 -78
  29. data/lib/gbizinfo/models/procurement_info.rb +11 -78
  30. data/lib/gbizinfo/models/subsidy_info.rb +11 -78
  31. data/lib/gbizinfo/models/women_activity_infos.rb +11 -78
  32. data/lib/gbizinfo/models/workplace_base_infos.rb +11 -78
  33. data/lib/gbizinfo/models/workplace_info_bean.rb +11 -78
  34. data/lib/gbizinfo/version.rb +2 -2
  35. data/lib/gbizinfo.rb +3 -2
  36. data/openapi/root.yaml +5 -5
  37. data/pkg/gbizinfo-0.2.2.gem +0 -0
  38. data/spec/models/api_error_response_spec.rb +42 -0
  39. data/spec/spec_helper.rb +1 -1
  40. metadata +12 -10
  41. data/pkg/gbizinfo-0.1.0.gem +0 -0
  42. data/pkg/gbizinfo-0.2.0.gem +0 -0
  43. data/pkg/gbizinfo-0.2.1.gem +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4ed2f7f835e6406d7933f8d55ac70de0195fc9c9232e65d00355f74335b6502b
4
- data.tar.gz: 8a690ec87552ba0dfd930c679c74d0c5da5489921214d51a907a89e5e6fc2a7d
3
+ metadata.gz: 0beedae67d076a6373b14da058f58ba2fbe0dbdfd8d04daee7d232b28ed45717
4
+ data.tar.gz: 1f36e72304cf04947f2a50fd3ab3b4d551061ef1abf6f046a368ba7e2c372001
5
5
  SHA512:
6
- metadata.gz: cbecf108da6fb81c2fbdc0e7af1961e42b9374387a88006ef1508ebe579fa28707a6118c050f36fc3057a95fced0e7302fb5a90a244d8d4b44be66f74118cbda
7
- data.tar.gz: 66bd4c47594d46f87c628111a43c11fc8168f1fabe94b788090523efcaff6857298cb1b4efd7bd0b00cac7aec80c99d93e431ee30df4b49a0770f3449c1b82d8
6
+ metadata.gz: 82b771c6c6534ed80f174c09b4ad777173a3ccdb4eb1ec2368a1f813efe7ec3365643623706d3f0e969a18fe38a1cad18ebec987a84ec95c7b4171daa83bae64
7
+ data.tar.gz: 164f83cc56e7706ac85d5f807337bf96394c95e191adc446e5c8b83dc4490e5efb177d3be04ba9f446b581c16dcc0ae60e59d8c034d7993947e7f803543c492e
data/CODE_OF_CONDUCT.md CHANGED
@@ -10,21 +10,21 @@ We pledge to act and interact in ways that contribute to an open, welcoming, div
10
10
 
11
11
  Examples of behavior that contributes to a positive environment for our community include:
12
12
 
13
- * Demonstrating empathy and kindness toward other people
14
- * Being respectful of differing opinions, viewpoints, and experiences
15
- * Giving and gracefully accepting constructive feedback
16
- * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
- * Focusing on what is best not just for us as individuals, but for the overall community
13
+ - Demonstrating empathy and kindness toward other people
14
+ - Being respectful of differing opinions, viewpoints, and experiences
15
+ - Giving and gracefully accepting constructive feedback
16
+ - Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ - Focusing on what is best not just for us as individuals, but for the overall community
18
18
 
19
19
  Examples of unacceptable behavior include:
20
20
 
21
- * The use of sexualized language or imagery, and sexual attention or
21
+ - The use of sexualized language or imagery, and sexual attention or
22
22
  advances of any kind
23
- * Trolling, insulting or derogatory comments, and personal or political attacks
24
- * Public or private harassment
25
- * Publishing others' private information, such as a physical or email
23
+ - Trolling, insulting or derogatory comments, and personal or political attacks
24
+ - Public or private harassment
25
+ - Publishing others' private information, such as a physical or email
26
26
  address, without their explicit permission
27
- * Other conduct which could reasonably be considered inappropriate in a
27
+ - Other conduct which could reasonably be considered inappropriate in a
28
28
  professional setting
29
29
 
30
30
  ## Enforcement Responsibilities
@@ -39,7 +39,7 @@ This Code of Conduct applies within all community spaces, and also applies when
39
39
 
40
40
  ## Enforcement
41
41
 
42
- Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at 37263474+uichi@users.noreply.github.com. All complaints will be reviewed and investigated promptly and fairly.
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at 37263474+nisyuu@users.noreply.github.com. All complaints will be reviewed and investigated promptly and fairly.
43
43
 
44
44
  All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
45
 
@@ -67,7 +67,7 @@ Community leaders will follow these Community Impact Guidelines in determining t
67
67
 
68
68
  ### 4. Permanent Ban
69
69
 
70
- **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
71
 
72
72
  **Consequence**: A permanent ban from any sort of public interaction within the community.
73
73
 
data/Gemfile CHANGED
@@ -3,7 +3,7 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  group :development, :test do
6
- gem 'rake', '~> 13.0.1'
6
+ gem 'rake', '~> 13.4.2'
7
7
  gem 'pry-byebug'
8
8
  gem 'rubocop', '~> 0.66.0'
9
9
  end
data/Gemfile.lock CHANGED
@@ -1,23 +1,28 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gbizinfo (0.2.1)
4
+ gbizinfo (0.2.2)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- ast (2.4.2)
10
+ ast (2.4.3)
11
11
  byebug (11.1.3)
12
12
  coderay (1.1.3)
13
- diff-lcs (1.5.0)
14
- ethon (0.16.0)
13
+ date (3.5.1)
14
+ diff-lcs (1.6.2)
15
+ ethon (0.18.0)
15
16
  ffi (>= 1.15.0)
16
- ffi (1.15.5)
17
+ logger
18
+ ffi (1.17.4-arm64-darwin)
19
+ ffi (1.17.4-x86_64-darwin)
20
+ ffi (1.17.4-x86_64-linux-gnu)
17
21
  jaro_winkler (1.5.6)
22
+ logger (1.7.0)
18
23
  method_source (1.0.0)
19
- parallel (1.23.0)
20
- parser (3.2.2.3)
24
+ parallel (1.28.0)
25
+ parser (3.3.11.1)
21
26
  ast (~> 2.4.1)
22
27
  racc
23
28
  pry (0.14.2)
@@ -26,24 +31,25 @@ GEM
26
31
  pry-byebug (3.10.1)
27
32
  byebug (~> 11.0)
28
33
  pry (>= 0.13, < 0.15)
29
- psych (5.1.0)
34
+ psych (5.3.1)
35
+ date
30
36
  stringio
31
- racc (1.7.1)
37
+ racc (1.8.1)
32
38
  rainbow (3.1.1)
33
- rake (13.0.6)
34
- rspec (3.12.0)
35
- rspec-core (~> 3.12.0)
36
- rspec-expectations (~> 3.12.0)
37
- rspec-mocks (~> 3.12.0)
38
- rspec-core (3.12.2)
39
- rspec-support (~> 3.12.0)
40
- rspec-expectations (3.12.3)
39
+ rake (13.4.2)
40
+ rspec (3.13.2)
41
+ rspec-core (~> 3.13.0)
42
+ rspec-expectations (~> 3.13.0)
43
+ rspec-mocks (~> 3.13.0)
44
+ rspec-core (3.13.6)
45
+ rspec-support (~> 3.13.0)
46
+ rspec-expectations (3.13.5)
41
47
  diff-lcs (>= 1.2.0, < 2.0)
42
- rspec-support (~> 3.12.0)
43
- rspec-mocks (3.12.6)
48
+ rspec-support (~> 3.13.0)
49
+ rspec-mocks (3.13.8)
44
50
  diff-lcs (>= 1.2.0, < 2.0)
45
- rspec-support (~> 3.12.0)
46
- rspec-support (3.12.1)
51
+ rspec-support (~> 3.13.0)
52
+ rspec-support (3.13.7)
47
53
  rubocop (0.66.0)
48
54
  jaro_winkler (~> 1.5.1)
49
55
  parallel (~> 1.10)
@@ -53,12 +59,13 @@ GEM
53
59
  ruby-progressbar (~> 1.7)
54
60
  unicode-display_width (>= 1.4.0, < 1.6)
55
61
  ruby-progressbar (1.13.0)
56
- stringio (3.0.8)
57
- typhoeus (1.4.0)
58
- ethon (>= 0.9.0)
62
+ stringio (3.2.0)
63
+ typhoeus (1.6.0)
64
+ ethon (>= 0.18.0)
59
65
  unicode-display_width (1.5.0)
60
66
 
61
67
  PLATFORMS
68
+ arm64-darwin-25
62
69
  x86_64-darwin-21
63
70
  x86_64-darwin-22
64
71
  x86_64-linux
@@ -66,7 +73,7 @@ PLATFORMS
66
73
  DEPENDENCIES
67
74
  gbizinfo!
68
75
  pry-byebug
69
- rake (~> 13.0.1)
76
+ rake (~> 13.4.2)
70
77
  rspec (~> 3.6, >= 3.6.0)
71
78
  rubocop (~> 0.66.0)
72
79
 
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2023 uichi
3
+ Copyright (c) 2023 nisyuu
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -7,7 +7,8 @@ Gbizinfo - the Ruby gem for the gBizINFO REST API
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 1.0
10
- - Package version: 0.2.1
10
+ - Package version: 0.2.2
11
+ - Generator version: 7.22.0
11
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
13
 
13
14
  ## Installation
@@ -23,22 +24,22 @@ gem build gbizinfo.gemspec
23
24
  Then either install the gem locally:
24
25
 
25
26
  ```shell
26
- gem install ./gbizinfo-0.2.1.gem
27
+ gem install ./gbizinfo-0.2.2.gem
27
28
  ```
28
29
 
29
- (for development, run `gem install --dev ./gbizinfo-0.2.1.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./gbizinfo-0.2.2.gem` to install the development dependencies)
30
31
 
31
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
33
 
33
34
  Finally add this to the Gemfile:
34
35
 
35
- gem 'gbizinfo', '~> 0.2.1'
36
+ gem 'gbizinfo', '~> 0.2.2'
36
37
 
37
38
  ### Install from Git
38
39
 
39
- If the Ruby gem is hosted at a git repository: https://github.com/uichi/gbizinfo, then add the following in the Gemfile:
40
+ If the Ruby gem is hosted at a git repository: https://github.com/nisyuu/gbizinfo, then add the following in the Gemfile:
40
41
 
41
- gem 'gbizinfo', :git => 'https://github.com/uichi/gbizinfo.git'
42
+ gem 'gbizinfo', :git => 'https://github.com/nisyuu/gbizinfo.git'
42
43
 
43
44
  ### Include the Ruby code directly
44
45
 
@@ -97,7 +98,7 @@ Class | Method | HTTP request | Description
97
98
 
98
99
  ## Documentation for Models
99
100
 
100
- - [Gbizinfo::ApiError](docs/ApiError.md)
101
+ - [Gbizinfo::ApiErrorResponse](docs/ApiErrorResponse.md)
101
102
  - [Gbizinfo::CertificationInfo](docs/CertificationInfo.md)
102
103
  - [Gbizinfo::CommendationInfo](docs/CommendationInfo.md)
103
104
  - [Gbizinfo::CompatibilityOfChildcareAndWork](docs/CompatibilityOfChildcareAndWork.md)
@@ -0,0 +1,20 @@
1
+ # Gbizinfo::ApiErrorResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **item** | **String** | エラー箇所(項目) | [optional] |
8
+ | **message** | **String** | エラーメッセージ | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'gbizinfo'
14
+
15
+ instance = Gbizinfo::ApiErrorResponse.new(
16
+ item: null,
17
+ message: null
18
+ )
19
+ ```
20
+
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **errors** | [**Array&lt;ApiError&gt;**](ApiError.md) | エラー情報(エラーがある場合に出力します。) | [optional] |
7
+ | **errors** | [**Array&lt;ApiErrorResponse&gt;**](ApiErrorResponse.md) | エラー情報(エラーがある場合に出力します。) | [optional] |
8
8
  | **hojin_infos** | [**Array&lt;HojinInfo&gt;**](HojinInfo.md) | gBizINFOデータ | [optional] |
9
9
  | **id** | **String** | リクエストid | [optional] |
10
10
  | **message** | **String** | メッセージ | [optional] |
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **errors** | [**Array&lt;ApiError&gt;**](ApiError.md) | エラー情報(エラーがある場合に出力します。) | [optional] |
7
+ | **errors** | [**Array&lt;ApiErrorResponse&gt;**](ApiErrorResponse.md) | エラー情報(エラーがある場合に出力します。) | [optional] |
8
8
  | **hojin_infos** | [**Array&lt;HojinInfo&gt;**](HojinInfo.md) | gBizINFOデータ | [optional] |
9
9
  | **id** | **String** | リクエストid | [optional] |
10
10
  | **message** | **String** | メッセージ | [optional] |
data/gbizinfo.gemspec CHANGED
@@ -8,7 +8,7 @@
8
8
  The version of the OpenAPI document: 1.0
9
9
 
10
10
  Generated by: https://openapi-generator.tech
11
- OpenAPI Generator version: 7.0.0
11
+ Generator version: 7.22.0
12
12
 
13
13
  =end
14
14
 
@@ -19,9 +19,9 @@ Gem::Specification.new do |s|
19
19
  s.name = "gbizinfo"
20
20
  s.version = Gbizinfo::VERSION
21
21
  s.platform = Gem::Platform::RUBY
22
- s.authors = ["uichi"]
23
- s.email = ["37263474+uichi@users.noreply.github.com"]
24
- s.homepage = "https://github.com/uichi/gbizinfo"
22
+ s.authors = ["nisyuu"]
23
+ s.email = ["37263474+nisyuu@users.noreply.github.com"]
24
+ s.homepage = "https://github.com/nisyuu/gbizinfo"
25
25
  s.summary = "gBizINFO REST API Ruby Gem"
26
26
  s.description = "経済産業省が提供するgBizInfoのRuby製クライアントAPI"
27
27
  s.license = "MIT"
data/git_push.sh CHANGED
@@ -14,7 +14,7 @@ if [ "$git_host" = "" ]; then
14
14
  fi
15
15
 
16
16
  if [ "$git_user_id" = "" ]; then
17
- git_user_id="uichi"
17
+ git_user_id="nisyuu"
18
18
  echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
19
19
  fi
20
20
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.0.0
9
+ Generator version: 7.22.0
10
10
 
11
11
  =end
12
12
 
@@ -49,7 +49,7 @@ module Gbizinfo
49
49
  fail ArgumentError, "Missing the required parameter 'corporate_number' when calling GBizINFORESTAPIApi.get_certification_using_get"
50
50
  end
51
51
  # resource path
52
- local_var_path = '/v1/hojin/{corporate_number}/certification'.sub('{' + 'corporate_number' + '}', CGI.escape(corporate_number.to_s))
52
+ local_var_path = '/v1/hojin/{corporate_number}/certification'.sub('{corporate_number}', CGI.escape(corporate_number.to_s))
53
53
 
54
54
  # query parameters
55
55
  query_params = opts[:query_params] || {}
@@ -57,7 +57,7 @@ module Gbizinfo
57
57
  # header parameters
58
58
  header_params = opts[:header_params] || {}
59
59
  # HTTP header 'Accept' (if needed)
60
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
60
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
61
61
  header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
62
62
 
63
63
  # form parameters
@@ -119,7 +119,7 @@ module Gbizinfo
119
119
  fail ArgumentError, "Missing the required parameter 'corporate_number' when calling GBizINFORESTAPIApi.get_commendation_using_get"
120
120
  end
121
121
  # resource path
122
- local_var_path = '/v1/hojin/{corporate_number}/commendation'.sub('{' + 'corporate_number' + '}', CGI.escape(corporate_number.to_s))
122
+ local_var_path = '/v1/hojin/{corporate_number}/commendation'.sub('{corporate_number}', CGI.escape(corporate_number.to_s))
123
123
 
124
124
  # query parameters
125
125
  query_params = opts[:query_params] || {}
@@ -127,7 +127,7 @@ module Gbizinfo
127
127
  # header parameters
128
128
  header_params = opts[:header_params] || {}
129
129
  # HTTP header 'Accept' (if needed)
130
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
130
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
131
131
  header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
132
132
 
133
133
  # form parameters
@@ -189,7 +189,7 @@ module Gbizinfo
189
189
  fail ArgumentError, "Missing the required parameter 'corporate_number' when calling GBizINFORESTAPIApi.get_finance_using_get"
190
190
  end
191
191
  # resource path
192
- local_var_path = '/v1/hojin/{corporate_number}/finance'.sub('{' + 'corporate_number' + '}', CGI.escape(corporate_number.to_s))
192
+ local_var_path = '/v1/hojin/{corporate_number}/finance'.sub('{corporate_number}', CGI.escape(corporate_number.to_s))
193
193
 
194
194
  # query parameters
195
195
  query_params = opts[:query_params] || {}
@@ -197,7 +197,7 @@ module Gbizinfo
197
197
  # header parameters
198
198
  header_params = opts[:header_params] || {}
199
199
  # HTTP header 'Accept' (if needed)
200
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
200
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
201
201
  header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
202
202
 
203
203
  # form parameters
@@ -259,7 +259,7 @@ module Gbizinfo
259
259
  fail ArgumentError, "Missing the required parameter 'corporate_number' when calling GBizINFORESTAPIApi.get_patent_using_get"
260
260
  end
261
261
  # resource path
262
- local_var_path = '/v1/hojin/{corporate_number}/patent'.sub('{' + 'corporate_number' + '}', CGI.escape(corporate_number.to_s))
262
+ local_var_path = '/v1/hojin/{corporate_number}/patent'.sub('{corporate_number}', CGI.escape(corporate_number.to_s))
263
263
 
264
264
  # query parameters
265
265
  query_params = opts[:query_params] || {}
@@ -267,7 +267,7 @@ module Gbizinfo
267
267
  # header parameters
268
268
  header_params = opts[:header_params] || {}
269
269
  # HTTP header 'Accept' (if needed)
270
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
270
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
271
271
  header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
272
272
 
273
273
  # form parameters
@@ -329,7 +329,7 @@ module Gbizinfo
329
329
  fail ArgumentError, "Missing the required parameter 'corporate_number' when calling GBizINFORESTAPIApi.get_procurement_using_get"
330
330
  end
331
331
  # resource path
332
- local_var_path = '/v1/hojin/{corporate_number}/procurement'.sub('{' + 'corporate_number' + '}', CGI.escape(corporate_number.to_s))
332
+ local_var_path = '/v1/hojin/{corporate_number}/procurement'.sub('{corporate_number}', CGI.escape(corporate_number.to_s))
333
333
 
334
334
  # query parameters
335
335
  query_params = opts[:query_params] || {}
@@ -337,7 +337,7 @@ module Gbizinfo
337
337
  # header parameters
338
338
  header_params = opts[:header_params] || {}
339
339
  # HTTP header 'Accept' (if needed)
340
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
340
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
341
341
  header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
342
342
 
343
343
  # form parameters
@@ -399,7 +399,7 @@ module Gbizinfo
399
399
  fail ArgumentError, "Missing the required parameter 'corporate_number' when calling GBizINFORESTAPIApi.get_subsidy_using_get"
400
400
  end
401
401
  # resource path
402
- local_var_path = '/v1/hojin/{corporate_number}/subsidy'.sub('{' + 'corporate_number' + '}', CGI.escape(corporate_number.to_s))
402
+ local_var_path = '/v1/hojin/{corporate_number}/subsidy'.sub('{corporate_number}', CGI.escape(corporate_number.to_s))
403
403
 
404
404
  # query parameters
405
405
  query_params = opts[:query_params] || {}
@@ -407,7 +407,7 @@ module Gbizinfo
407
407
  # header parameters
408
408
  header_params = opts[:header_params] || {}
409
409
  # HTTP header 'Accept' (if needed)
410
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
410
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
411
411
  header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
412
412
 
413
413
  # form parameters
@@ -469,7 +469,7 @@ module Gbizinfo
469
469
  fail ArgumentError, "Missing the required parameter 'corporate_number' when calling GBizINFORESTAPIApi.get_using_get"
470
470
  end
471
471
  # resource path
472
- local_var_path = '/v1/hojin/{corporate_number}'.sub('{' + 'corporate_number' + '}', CGI.escape(corporate_number.to_s))
472
+ local_var_path = '/v1/hojin/{corporate_number}'.sub('{corporate_number}', CGI.escape(corporate_number.to_s))
473
473
 
474
474
  # query parameters
475
475
  query_params = opts[:query_params] || {}
@@ -477,7 +477,7 @@ module Gbizinfo
477
477
  # header parameters
478
478
  header_params = opts[:header_params] || {}
479
479
  # HTTP header 'Accept' (if needed)
480
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
480
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
481
481
  header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
482
482
 
483
483
  # form parameters
@@ -539,7 +539,7 @@ module Gbizinfo
539
539
  fail ArgumentError, "Missing the required parameter 'corporate_number' when calling GBizINFORESTAPIApi.get_workplace_information_using_get"
540
540
  end
541
541
  # resource path
542
- local_var_path = '/v1/hojin/{corporate_number}/workplace'.sub('{' + 'corporate_number' + '}', CGI.escape(corporate_number.to_s))
542
+ local_var_path = '/v1/hojin/{corporate_number}/workplace'.sub('{corporate_number}', CGI.escape(corporate_number.to_s))
543
543
 
544
544
  # query parameters
545
545
  query_params = opts[:query_params] || {}
@@ -547,7 +547,7 @@ module Gbizinfo
547
547
  # header parameters
548
548
  header_params = opts[:header_params] || {}
549
549
  # HTTP header 'Accept' (if needed)
550
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
550
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
551
551
  header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
552
552
 
553
553
  # form parameters
@@ -713,7 +713,7 @@ module Gbizinfo
713
713
  # header parameters
714
714
  header_params = opts[:header_params] || {}
715
715
  # HTTP header 'Accept' (if needed)
716
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
716
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
717
717
  header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
718
718
 
719
719
  # form parameters
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.0.0
9
+ Generator version: 7.22.0
10
10
 
11
11
  =end
12
12
 
@@ -68,7 +68,7 @@ module Gbizinfo
68
68
  # header parameters
69
69
  header_params = opts[:header_params] || {}
70
70
  # HTTP header 'Accept' (if needed)
71
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
71
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
72
72
  header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
73
73
 
74
74
  # form parameters
@@ -149,7 +149,7 @@ module Gbizinfo
149
149
  # header parameters
150
150
  header_params = opts[:header_params] || {}
151
151
  # HTTP header 'Accept' (if needed)
152
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
152
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
153
153
  header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
154
154
 
155
155
  # form parameters
@@ -230,7 +230,7 @@ module Gbizinfo
230
230
  # header parameters
231
231
  header_params = opts[:header_params] || {}
232
232
  # HTTP header 'Accept' (if needed)
233
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
233
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
234
234
  header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
235
235
 
236
236
  # form parameters
@@ -311,7 +311,7 @@ module Gbizinfo
311
311
  # header parameters
312
312
  header_params = opts[:header_params] || {}
313
313
  # HTTP header 'Accept' (if needed)
314
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
314
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
315
315
  header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
316
316
 
317
317
  # form parameters
@@ -392,7 +392,7 @@ module Gbizinfo
392
392
  # header parameters
393
393
  header_params = opts[:header_params] || {}
394
394
  # HTTP header 'Accept' (if needed)
395
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
395
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
396
396
  header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
397
397
 
398
398
  # form parameters
@@ -473,7 +473,7 @@ module Gbizinfo
473
473
  # header parameters
474
474
  header_params = opts[:header_params] || {}
475
475
  # HTTP header 'Accept' (if needed)
476
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
476
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
477
477
  header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
478
478
 
479
479
  # form parameters
@@ -554,7 +554,7 @@ module Gbizinfo
554
554
  # header parameters
555
555
  header_params = opts[:header_params] || {}
556
556
  # HTTP header 'Accept' (if needed)
557
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
557
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
558
558
  header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
559
559
 
560
560
  # form parameters
@@ -635,7 +635,7 @@ module Gbizinfo
635
635
  # header parameters
636
636
  header_params = opts[:header_params] || {}
637
637
  # HTTP header 'Accept' (if needed)
638
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
638
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
639
639
  header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
640
640
 
641
641
  # form parameters