pokeapi_client 0.9.1 → 1.0.0
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +28 -26
- data/README.md +7 -5
- data/bin/bundle +5 -10
- data/bin/byebug +1 -1
- data/bin/coderay +1 -1
- data/bin/htmldiff +1 -1
- data/bin/ldiff +1 -1
- data/bin/pry +1 -1
- data/bin/racc +27 -0
- data/bin/rake +1 -1
- data/bin/rspec +1 -1
- data/bin/rubocop +1 -1
- data/bin/ruby-parse +1 -1
- data/bin/ruby-rewrite +1 -1
- data/lib/pokeapi_client/api/ability_api.rb +4 -2
- data/lib/pokeapi_client/api/berry_api.rb +4 -2
- data/lib/pokeapi_client/api/berry_firmness_api.rb +4 -2
- data/lib/pokeapi_client/api/berry_flavor_api.rb +4 -2
- data/lib/pokeapi_client/api/characteristic_api.rb +4 -2
- data/lib/pokeapi_client/api/contest_effect_api.rb +4 -2
- data/lib/pokeapi_client/api/contest_type_api.rb +4 -2
- data/lib/pokeapi_client/api/egg_group_api.rb +4 -2
- data/lib/pokeapi_client/api/encounter_condition_api.rb +4 -2
- data/lib/pokeapi_client/api/encounter_condition_value_api.rb +4 -2
- data/lib/pokeapi_client/api/encounter_method_api.rb +4 -2
- data/lib/pokeapi_client/api/evolution_chain_api.rb +4 -2
- data/lib/pokeapi_client/api/evolution_trigger_api.rb +4 -2
- data/lib/pokeapi_client/api/gender_api.rb +4 -2
- data/lib/pokeapi_client/api/generation_api.rb +4 -2
- data/lib/pokeapi_client/api/growth_rate_api.rb +4 -2
- data/lib/pokeapi_client/api/item_api.rb +4 -2
- data/lib/pokeapi_client/api/item_attribute_api.rb +4 -2
- data/lib/pokeapi_client/api/item_category_api.rb +4 -2
- data/lib/pokeapi_client/api/item_fling_effect_api.rb +4 -2
- data/lib/pokeapi_client/api/item_pocket_api.rb +4 -2
- data/lib/pokeapi_client/api/language_api.rb +4 -2
- data/lib/pokeapi_client/api/location_api.rb +4 -2
- data/lib/pokeapi_client/api/location_area_api.rb +4 -2
- data/lib/pokeapi_client/api/machine_api.rb +4 -2
- data/lib/pokeapi_client/api/move_ailment_api.rb +4 -2
- data/lib/pokeapi_client/api/move_api.rb +4 -2
- data/lib/pokeapi_client/api/move_battle_style_api.rb +4 -2
- data/lib/pokeapi_client/api/move_category_api.rb +4 -2
- data/lib/pokeapi_client/api/move_damage_class_api.rb +4 -2
- data/lib/pokeapi_client/api/move_learn_method_api.rb +4 -2
- data/lib/pokeapi_client/api/move_target_api.rb +4 -2
- data/lib/pokeapi_client/api/nature_api.rb +4 -2
- data/lib/pokeapi_client/api/pal_park_area_api.rb +4 -2
- data/lib/pokeapi_client/api/pokeathlon_stat_api.rb +4 -2
- data/lib/pokeapi_client/api/pokedex_api.rb +4 -2
- data/lib/pokeapi_client/api/pokemon_api.rb +4 -2
- data/lib/pokeapi_client/api/pokemon_color_api.rb +4 -2
- data/lib/pokeapi_client/api/pokemon_form_api.rb +4 -2
- data/lib/pokeapi_client/api/pokemon_habitat_api.rb +4 -2
- data/lib/pokeapi_client/api/pokemon_shape_api.rb +4 -2
- data/lib/pokeapi_client/api/pokemon_species_api.rb +4 -2
- data/lib/pokeapi_client/api/region_api.rb +4 -2
- data/lib/pokeapi_client/api/stat_api.rb +4 -2
- data/lib/pokeapi_client/api/super_contest_effect_api.rb +4 -2
- data/lib/pokeapi_client/api/type_api.rb +4 -2
- data/lib/pokeapi_client/api/version_api.rb +4 -2
- data/lib/pokeapi_client/api/version_group_api.rb +4 -2
- data/lib/pokeapi_client/api_client.rb +29 -23
- data/lib/pokeapi_client/api_error.rb +5 -2
- data/lib/pokeapi_client/configuration.rb +32 -10
- data/lib/pokeapi_client/version.rb +5 -3
- data/lib/pokeapi_client.rb +4 -2
- data/pokeapi_client.gemspec +8 -5
- data/spec/api/ability_api_spec.rb +6 -4
- data/spec/api/berry_api_spec.rb +6 -4
- data/spec/api/berry_firmness_api_spec.rb +6 -4
- data/spec/api/berry_flavor_api_spec.rb +6 -4
- data/spec/api/characteristic_api_spec.rb +6 -4
- data/spec/api/contest_effect_api_spec.rb +6 -4
- data/spec/api/contest_type_api_spec.rb +6 -4
- data/spec/api/egg_group_api_spec.rb +6 -4
- data/spec/api/encounter_condition_api_spec.rb +6 -4
- data/spec/api/encounter_condition_value_api_spec.rb +6 -4
- data/spec/api/encounter_method_api_spec.rb +6 -4
- data/spec/api/evolution_chain_api_spec.rb +6 -4
- data/spec/api/evolution_trigger_api_spec.rb +6 -4
- data/spec/api/gender_api_spec.rb +6 -4
- data/spec/api/generation_api_spec.rb +6 -4
- data/spec/api/growth_rate_api_spec.rb +6 -4
- data/spec/api/item_api_spec.rb +6 -4
- data/spec/api/item_attribute_api_spec.rb +6 -4
- data/spec/api/item_category_api_spec.rb +6 -4
- data/spec/api/item_fling_effect_api_spec.rb +6 -4
- data/spec/api/item_pocket_api_spec.rb +6 -4
- data/spec/api/language_api_spec.rb +6 -4
- data/spec/api/location_api_spec.rb +6 -4
- data/spec/api/location_area_api_spec.rb +6 -4
- data/spec/api/machine_api_spec.rb +6 -4
- data/spec/api/move_ailment_api_spec.rb +6 -4
- data/spec/api/move_api_spec.rb +6 -4
- data/spec/api/move_battle_style_api_spec.rb +6 -4
- data/spec/api/move_category_api_spec.rb +6 -4
- data/spec/api/move_damage_class_api_spec.rb +6 -4
- data/spec/api/move_learn_method_api_spec.rb +6 -4
- data/spec/api/move_target_api_spec.rb +6 -4
- data/spec/api/nature_api_spec.rb +6 -4
- data/spec/api/pal_park_area_api_spec.rb +6 -4
- data/spec/api/pokeathlon_stat_api_spec.rb +6 -4
- data/spec/api/pokedex_api_spec.rb +6 -4
- data/spec/api/pokemon_api_spec.rb +6 -4
- data/spec/api/pokemon_color_api_spec.rb +6 -4
- data/spec/api/pokemon_form_api_spec.rb +6 -4
- data/spec/api/pokemon_habitat_api_spec.rb +6 -4
- data/spec/api/pokemon_shape_api_spec.rb +6 -4
- data/spec/api/pokemon_species_api_spec.rb +6 -4
- data/spec/api/region_api_spec.rb +6 -4
- data/spec/api/stat_api_spec.rb +6 -4
- data/spec/api/super_contest_effect_api_spec.rb +6 -4
- data/spec/api/type_api_spec.rb +6 -4
- data/spec/api/version_api_spec.rb +6 -4
- data/spec/api/version_group_api_spec.rb +6 -4
- data/spec/spec_helper.rb +4 -2
- metadata +46 -49
- data/spec/api_client_spec.rb +0 -224
- data/spec/configuration_spec.rb +0 -40
@@ -1,10 +1,12 @@
|
|
1
1
|
=begin
|
2
|
+
#
|
3
|
+
|
2
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
5
|
|
4
6
|
The version of the OpenAPI document: 20220523
|
5
|
-
|
7
|
+
Contact: blah+oapicf@cliffano.com
|
6
8
|
Generated by: https://openapi-generator.tech
|
7
|
-
|
9
|
+
Generator version: 7.4.0
|
8
10
|
|
9
11
|
=end
|
10
12
|
|
@@ -60,6 +62,16 @@ module PokeApiClient
|
|
60
62
|
# Defines the access token (Bearer) used with OAuth2.
|
61
63
|
attr_accessor :access_token
|
62
64
|
|
65
|
+
# Defines a Proc used to fetch or refresh access tokens (Bearer) used with OAuth2.
|
66
|
+
# Overrides the access_token if set
|
67
|
+
# @return [Proc]
|
68
|
+
attr_accessor :access_token_getter
|
69
|
+
|
70
|
+
# Set this to return data as binary instead of downloading a temp file. When enabled (set to true)
|
71
|
+
# HTTP responses with return type `File` will be returned as a stream of binary data.
|
72
|
+
# Default to false.
|
73
|
+
attr_accessor :return_binary_data
|
74
|
+
|
63
75
|
# Set this to enable/disable debugging. When enabled (set to true), HTTP request/response
|
64
76
|
# details will be logged with `logger.debug` (see the `logger` attribute).
|
65
77
|
# Default to false.
|
@@ -131,6 +143,7 @@ module PokeApiClient
|
|
131
143
|
# https://github.com/typhoeus/ethon/blob/master/lib/ethon/easy/queryable.rb#L96
|
132
144
|
attr_accessor :params_encoding
|
133
145
|
|
146
|
+
|
134
147
|
attr_accessor :inject_format
|
135
148
|
|
136
149
|
attr_accessor :force_ending_format
|
@@ -139,7 +152,7 @@ module PokeApiClient
|
|
139
152
|
@scheme = 'https'
|
140
153
|
@host = 'pokeapi.co'
|
141
154
|
@base_path = ''
|
142
|
-
@server_index =
|
155
|
+
@server_index = nil
|
143
156
|
@server_operation_index = {}
|
144
157
|
@server_variables = {}
|
145
158
|
@server_operation_variables = {}
|
@@ -148,10 +161,10 @@ module PokeApiClient
|
|
148
161
|
@client_side_validation = true
|
149
162
|
@verify_ssl = true
|
150
163
|
@verify_ssl_host = true
|
151
|
-
@params_encoding = nil
|
152
164
|
@cert_file = nil
|
153
165
|
@key_file = nil
|
154
166
|
@timeout = 0
|
167
|
+
@params_encoding = nil
|
155
168
|
@debugging = false
|
156
169
|
@inject_format = false
|
157
170
|
@force_ending_format = false
|
@@ -187,10 +200,12 @@ module PokeApiClient
|
|
187
200
|
|
188
201
|
# Returns base URL for specified operation based on server settings
|
189
202
|
def base_url(operation = nil)
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
203
|
+
if operation_server_settings.key?(operation) then
|
204
|
+
index = server_operation_index.fetch(operation, server_index)
|
205
|
+
server_url(index.nil? ? 0 : index, server_operation_variables.fetch(operation, server_variables), operation_server_settings[operation])
|
206
|
+
else
|
207
|
+
server_index.nil? ? "#{scheme}://#{[host, base_path].join('/').gsub(/\/+/, '/')}".sub(/\/+\z/, '') : server_url(server_index, server_variables, nil)
|
208
|
+
end
|
194
209
|
end
|
195
210
|
|
196
211
|
# Gets API key (with prefix if set).
|
@@ -205,6 +220,12 @@ module PokeApiClient
|
|
205
220
|
end
|
206
221
|
end
|
207
222
|
|
223
|
+
# Gets access_token using access_token_getter or uses the static access_token
|
224
|
+
def access_token_with_refresh
|
225
|
+
return access_token if access_token_getter.nil?
|
226
|
+
access_token_getter.call
|
227
|
+
end
|
228
|
+
|
208
229
|
# Gets Basic Auth token string
|
209
230
|
def basic_auth_token
|
210
231
|
'Basic ' + ["#{username}:#{password}"].pack('m').delete("\r\n")
|
@@ -239,8 +260,8 @@ module PokeApiClient
|
|
239
260
|
servers = server_settings if servers == nil
|
240
261
|
|
241
262
|
# check array index out of bound
|
242
|
-
if (index < 0 || index >= servers.size)
|
243
|
-
fail ArgumentError, "Invalid index #{index} when selecting the server. Must be less than #{servers.size}"
|
263
|
+
if (index.nil? || index < 0 || index >= servers.size)
|
264
|
+
fail ArgumentError, "Invalid index #{index} when selecting the server. Must not be nil and must be less than #{servers.size}"
|
244
265
|
end
|
245
266
|
|
246
267
|
server = servers[index]
|
@@ -265,5 +286,6 @@ module PokeApiClient
|
|
265
286
|
url
|
266
287
|
end
|
267
288
|
|
289
|
+
|
268
290
|
end
|
269
291
|
end
|
@@ -1,13 +1,15 @@
|
|
1
1
|
=begin
|
2
|
+
#
|
3
|
+
|
2
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
5
|
|
4
6
|
The version of the OpenAPI document: 20220523
|
5
|
-
|
7
|
+
Contact: blah+oapicf@cliffano.com
|
6
8
|
Generated by: https://openapi-generator.tech
|
7
|
-
|
9
|
+
Generator version: 7.4.0
|
8
10
|
|
9
11
|
=end
|
10
12
|
|
11
13
|
module PokeApiClient
|
12
|
-
VERSION = '0.
|
14
|
+
VERSION = '1.0.0'
|
13
15
|
end
|
data/lib/pokeapi_client.rb
CHANGED
@@ -1,10 +1,12 @@
|
|
1
1
|
=begin
|
2
|
+
#
|
3
|
+
|
2
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
5
|
|
4
6
|
The version of the OpenAPI document: 20220523
|
5
|
-
|
7
|
+
Contact: blah+oapicf@cliffano.com
|
6
8
|
Generated by: https://openapi-generator.tech
|
7
|
-
|
9
|
+
Generator version: 7.4.0
|
8
10
|
|
9
11
|
=end
|
10
12
|
|
data/pokeapi_client.gemspec
CHANGED
@@ -1,12 +1,14 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
|
3
3
|
=begin
|
4
|
+
#
|
5
|
+
|
4
6
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
7
|
|
6
8
|
The version of the OpenAPI document: 20220523
|
7
|
-
|
9
|
+
Contact: blah+oapicf@cliffano.com
|
8
10
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
11
|
+
Generator version: 7.4.0
|
10
12
|
|
11
13
|
=end
|
12
14
|
|
@@ -17,13 +19,14 @@ Gem::Specification.new do |s|
|
|
17
19
|
s.name = "pokeapi_client"
|
18
20
|
s.version = PokeApiClient::VERSION
|
19
21
|
s.platform = Gem::Platform::RUBY
|
20
|
-
s.authors = ["
|
21
|
-
s.email = ["blah@cliffano.com"]
|
22
|
-
s.homepage = "https://github.com/
|
22
|
+
s.authors = ["OpenAPI Clients Factory"]
|
23
|
+
s.email = ["blah+oapicf@cliffano.com"]
|
24
|
+
s.homepage = "https://github.com/oapicf/pokeapi-clients"
|
23
25
|
s.summary = " Ruby Gem"
|
24
26
|
s.description = "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)"
|
25
27
|
s.license = "MIT"
|
26
28
|
s.required_ruby_version = ">= 2.0"
|
29
|
+
s.metadata = {}
|
27
30
|
|
28
31
|
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
29
32
|
|
@@ -1,10 +1,12 @@
|
|
1
1
|
=begin
|
2
|
+
#
|
3
|
+
|
2
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
5
|
|
4
6
|
The version of the OpenAPI document: 20220523
|
5
|
-
|
7
|
+
Contact: blah+oapicf@cliffano.com
|
6
8
|
Generated by: https://openapi-generator.tech
|
7
|
-
|
9
|
+
Generator version: 7.4.0
|
8
10
|
|
9
11
|
=end
|
10
12
|
|
@@ -37,7 +39,7 @@ describe 'AbilityApi' do
|
|
37
39
|
# @return [String]
|
38
40
|
describe 'ability_list test' do
|
39
41
|
it 'should work' do
|
40
|
-
# assertion here. ref: https://
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
41
43
|
end
|
42
44
|
end
|
43
45
|
|
@@ -47,7 +49,7 @@ describe 'AbilityApi' do
|
|
47
49
|
# @return [String]
|
48
50
|
describe 'ability_read test' do
|
49
51
|
it 'should work' do
|
50
|
-
# assertion here. ref: https://
|
52
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
53
|
end
|
52
54
|
end
|
53
55
|
|
data/spec/api/berry_api_spec.rb
CHANGED
@@ -1,10 +1,12 @@
|
|
1
1
|
=begin
|
2
|
+
#
|
3
|
+
|
2
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
5
|
|
4
6
|
The version of the OpenAPI document: 20220523
|
5
|
-
|
7
|
+
Contact: blah+oapicf@cliffano.com
|
6
8
|
Generated by: https://openapi-generator.tech
|
7
|
-
|
9
|
+
Generator version: 7.4.0
|
8
10
|
|
9
11
|
=end
|
10
12
|
|
@@ -37,7 +39,7 @@ describe 'BerryApi' do
|
|
37
39
|
# @return [String]
|
38
40
|
describe 'berry_list test' do
|
39
41
|
it 'should work' do
|
40
|
-
# assertion here. ref: https://
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
41
43
|
end
|
42
44
|
end
|
43
45
|
|
@@ -47,7 +49,7 @@ describe 'BerryApi' do
|
|
47
49
|
# @return [String]
|
48
50
|
describe 'berry_read test' do
|
49
51
|
it 'should work' do
|
50
|
-
# assertion here. ref: https://
|
52
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
53
|
end
|
52
54
|
end
|
53
55
|
|
@@ -1,10 +1,12 @@
|
|
1
1
|
=begin
|
2
|
+
#
|
3
|
+
|
2
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
5
|
|
4
6
|
The version of the OpenAPI document: 20220523
|
5
|
-
|
7
|
+
Contact: blah+oapicf@cliffano.com
|
6
8
|
Generated by: https://openapi-generator.tech
|
7
|
-
|
9
|
+
Generator version: 7.4.0
|
8
10
|
|
9
11
|
=end
|
10
12
|
|
@@ -37,7 +39,7 @@ describe 'BerryFirmnessApi' do
|
|
37
39
|
# @return [String]
|
38
40
|
describe 'berry_firmness_list test' do
|
39
41
|
it 'should work' do
|
40
|
-
# assertion here. ref: https://
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
41
43
|
end
|
42
44
|
end
|
43
45
|
|
@@ -47,7 +49,7 @@ describe 'BerryFirmnessApi' do
|
|
47
49
|
# @return [String]
|
48
50
|
describe 'berry_firmness_read test' do
|
49
51
|
it 'should work' do
|
50
|
-
# assertion here. ref: https://
|
52
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
53
|
end
|
52
54
|
end
|
53
55
|
|
@@ -1,10 +1,12 @@
|
|
1
1
|
=begin
|
2
|
+
#
|
3
|
+
|
2
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
5
|
|
4
6
|
The version of the OpenAPI document: 20220523
|
5
|
-
|
7
|
+
Contact: blah+oapicf@cliffano.com
|
6
8
|
Generated by: https://openapi-generator.tech
|
7
|
-
|
9
|
+
Generator version: 7.4.0
|
8
10
|
|
9
11
|
=end
|
10
12
|
|
@@ -37,7 +39,7 @@ describe 'BerryFlavorApi' do
|
|
37
39
|
# @return [String]
|
38
40
|
describe 'berry_flavor_list test' do
|
39
41
|
it 'should work' do
|
40
|
-
# assertion here. ref: https://
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
41
43
|
end
|
42
44
|
end
|
43
45
|
|
@@ -47,7 +49,7 @@ describe 'BerryFlavorApi' do
|
|
47
49
|
# @return [String]
|
48
50
|
describe 'berry_flavor_read test' do
|
49
51
|
it 'should work' do
|
50
|
-
# assertion here. ref: https://
|
52
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
53
|
end
|
52
54
|
end
|
53
55
|
|
@@ -1,10 +1,12 @@
|
|
1
1
|
=begin
|
2
|
+
#
|
3
|
+
|
2
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
5
|
|
4
6
|
The version of the OpenAPI document: 20220523
|
5
|
-
|
7
|
+
Contact: blah+oapicf@cliffano.com
|
6
8
|
Generated by: https://openapi-generator.tech
|
7
|
-
|
9
|
+
Generator version: 7.4.0
|
8
10
|
|
9
11
|
=end
|
10
12
|
|
@@ -37,7 +39,7 @@ describe 'CharacteristicApi' do
|
|
37
39
|
# @return [String]
|
38
40
|
describe 'characteristic_list test' do
|
39
41
|
it 'should work' do
|
40
|
-
# assertion here. ref: https://
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
41
43
|
end
|
42
44
|
end
|
43
45
|
|
@@ -47,7 +49,7 @@ describe 'CharacteristicApi' do
|
|
47
49
|
# @return [String]
|
48
50
|
describe 'characteristic_read test' do
|
49
51
|
it 'should work' do
|
50
|
-
# assertion here. ref: https://
|
52
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
53
|
end
|
52
54
|
end
|
53
55
|
|
@@ -1,10 +1,12 @@
|
|
1
1
|
=begin
|
2
|
+
#
|
3
|
+
|
2
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
5
|
|
4
6
|
The version of the OpenAPI document: 20220523
|
5
|
-
|
7
|
+
Contact: blah+oapicf@cliffano.com
|
6
8
|
Generated by: https://openapi-generator.tech
|
7
|
-
|
9
|
+
Generator version: 7.4.0
|
8
10
|
|
9
11
|
=end
|
10
12
|
|
@@ -37,7 +39,7 @@ describe 'ContestEffectApi' do
|
|
37
39
|
# @return [String]
|
38
40
|
describe 'contest_effect_list test' do
|
39
41
|
it 'should work' do
|
40
|
-
# assertion here. ref: https://
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
41
43
|
end
|
42
44
|
end
|
43
45
|
|
@@ -47,7 +49,7 @@ describe 'ContestEffectApi' do
|
|
47
49
|
# @return [String]
|
48
50
|
describe 'contest_effect_read test' do
|
49
51
|
it 'should work' do
|
50
|
-
# assertion here. ref: https://
|
52
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
53
|
end
|
52
54
|
end
|
53
55
|
|
@@ -1,10 +1,12 @@
|
|
1
1
|
=begin
|
2
|
+
#
|
3
|
+
|
2
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
5
|
|
4
6
|
The version of the OpenAPI document: 20220523
|
5
|
-
|
7
|
+
Contact: blah+oapicf@cliffano.com
|
6
8
|
Generated by: https://openapi-generator.tech
|
7
|
-
|
9
|
+
Generator version: 7.4.0
|
8
10
|
|
9
11
|
=end
|
10
12
|
|
@@ -37,7 +39,7 @@ describe 'ContestTypeApi' do
|
|
37
39
|
# @return [String]
|
38
40
|
describe 'contest_type_list test' do
|
39
41
|
it 'should work' do
|
40
|
-
# assertion here. ref: https://
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
41
43
|
end
|
42
44
|
end
|
43
45
|
|
@@ -47,7 +49,7 @@ describe 'ContestTypeApi' do
|
|
47
49
|
# @return [String]
|
48
50
|
describe 'contest_type_read test' do
|
49
51
|
it 'should work' do
|
50
|
-
# assertion here. ref: https://
|
52
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
53
|
end
|
52
54
|
end
|
53
55
|
|
@@ -1,10 +1,12 @@
|
|
1
1
|
=begin
|
2
|
+
#
|
3
|
+
|
2
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
5
|
|
4
6
|
The version of the OpenAPI document: 20220523
|
5
|
-
|
7
|
+
Contact: blah+oapicf@cliffano.com
|
6
8
|
Generated by: https://openapi-generator.tech
|
7
|
-
|
9
|
+
Generator version: 7.4.0
|
8
10
|
|
9
11
|
=end
|
10
12
|
|
@@ -37,7 +39,7 @@ describe 'EggGroupApi' do
|
|
37
39
|
# @return [String]
|
38
40
|
describe 'egg_group_list test' do
|
39
41
|
it 'should work' do
|
40
|
-
# assertion here. ref: https://
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
41
43
|
end
|
42
44
|
end
|
43
45
|
|
@@ -47,7 +49,7 @@ describe 'EggGroupApi' do
|
|
47
49
|
# @return [String]
|
48
50
|
describe 'egg_group_read test' do
|
49
51
|
it 'should work' do
|
50
|
-
# assertion here. ref: https://
|
52
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
53
|
end
|
52
54
|
end
|
53
55
|
|
@@ -1,10 +1,12 @@
|
|
1
1
|
=begin
|
2
|
+
#
|
3
|
+
|
2
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
5
|
|
4
6
|
The version of the OpenAPI document: 20220523
|
5
|
-
|
7
|
+
Contact: blah+oapicf@cliffano.com
|
6
8
|
Generated by: https://openapi-generator.tech
|
7
|
-
|
9
|
+
Generator version: 7.4.0
|
8
10
|
|
9
11
|
=end
|
10
12
|
|
@@ -37,7 +39,7 @@ describe 'EncounterConditionApi' do
|
|
37
39
|
# @return [String]
|
38
40
|
describe 'encounter_condition_list test' do
|
39
41
|
it 'should work' do
|
40
|
-
# assertion here. ref: https://
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
41
43
|
end
|
42
44
|
end
|
43
45
|
|
@@ -47,7 +49,7 @@ describe 'EncounterConditionApi' do
|
|
47
49
|
# @return [String]
|
48
50
|
describe 'encounter_condition_read test' do
|
49
51
|
it 'should work' do
|
50
|
-
# assertion here. ref: https://
|
52
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
53
|
end
|
52
54
|
end
|
53
55
|
|
@@ -1,10 +1,12 @@
|
|
1
1
|
=begin
|
2
|
+
#
|
3
|
+
|
2
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
5
|
|
4
6
|
The version of the OpenAPI document: 20220523
|
5
|
-
|
7
|
+
Contact: blah+oapicf@cliffano.com
|
6
8
|
Generated by: https://openapi-generator.tech
|
7
|
-
|
9
|
+
Generator version: 7.4.0
|
8
10
|
|
9
11
|
=end
|
10
12
|
|
@@ -37,7 +39,7 @@ describe 'EncounterConditionValueApi' do
|
|
37
39
|
# @return [String]
|
38
40
|
describe 'encounter_condition_value_list test' do
|
39
41
|
it 'should work' do
|
40
|
-
# assertion here. ref: https://
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
41
43
|
end
|
42
44
|
end
|
43
45
|
|
@@ -47,7 +49,7 @@ describe 'EncounterConditionValueApi' do
|
|
47
49
|
# @return [String]
|
48
50
|
describe 'encounter_condition_value_read test' do
|
49
51
|
it 'should work' do
|
50
|
-
# assertion here. ref: https://
|
52
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
53
|
end
|
52
54
|
end
|
53
55
|
|
@@ -1,10 +1,12 @@
|
|
1
1
|
=begin
|
2
|
+
#
|
3
|
+
|
2
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
5
|
|
4
6
|
The version of the OpenAPI document: 20220523
|
5
|
-
|
7
|
+
Contact: blah+oapicf@cliffano.com
|
6
8
|
Generated by: https://openapi-generator.tech
|
7
|
-
|
9
|
+
Generator version: 7.4.0
|
8
10
|
|
9
11
|
=end
|
10
12
|
|
@@ -37,7 +39,7 @@ describe 'EncounterMethodApi' do
|
|
37
39
|
# @return [String]
|
38
40
|
describe 'encounter_method_list test' do
|
39
41
|
it 'should work' do
|
40
|
-
# assertion here. ref: https://
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
41
43
|
end
|
42
44
|
end
|
43
45
|
|
@@ -47,7 +49,7 @@ describe 'EncounterMethodApi' do
|
|
47
49
|
# @return [String]
|
48
50
|
describe 'encounter_method_read test' do
|
49
51
|
it 'should work' do
|
50
|
-
# assertion here. ref: https://
|
52
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
53
|
end
|
52
54
|
end
|
53
55
|
|
@@ -1,10 +1,12 @@
|
|
1
1
|
=begin
|
2
|
+
#
|
3
|
+
|
2
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
5
|
|
4
6
|
The version of the OpenAPI document: 20220523
|
5
|
-
|
7
|
+
Contact: blah+oapicf@cliffano.com
|
6
8
|
Generated by: https://openapi-generator.tech
|
7
|
-
|
9
|
+
Generator version: 7.4.0
|
8
10
|
|
9
11
|
=end
|
10
12
|
|
@@ -37,7 +39,7 @@ describe 'EvolutionChainApi' do
|
|
37
39
|
# @return [String]
|
38
40
|
describe 'evolution_chain_list test' do
|
39
41
|
it 'should work' do
|
40
|
-
# assertion here. ref: https://
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
41
43
|
end
|
42
44
|
end
|
43
45
|
|
@@ -47,7 +49,7 @@ describe 'EvolutionChainApi' do
|
|
47
49
|
# @return [String]
|
48
50
|
describe 'evolution_chain_read test' do
|
49
51
|
it 'should work' do
|
50
|
-
# assertion here. ref: https://
|
52
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
53
|
end
|
52
54
|
end
|
53
55
|
|
@@ -1,10 +1,12 @@
|
|
1
1
|
=begin
|
2
|
+
#
|
3
|
+
|
2
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
5
|
|
4
6
|
The version of the OpenAPI document: 20220523
|
5
|
-
|
7
|
+
Contact: blah+oapicf@cliffano.com
|
6
8
|
Generated by: https://openapi-generator.tech
|
7
|
-
|
9
|
+
Generator version: 7.4.0
|
8
10
|
|
9
11
|
=end
|
10
12
|
|
@@ -37,7 +39,7 @@ describe 'EvolutionTriggerApi' do
|
|
37
39
|
# @return [String]
|
38
40
|
describe 'evolution_trigger_list test' do
|
39
41
|
it 'should work' do
|
40
|
-
# assertion here. ref: https://
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
41
43
|
end
|
42
44
|
end
|
43
45
|
|
@@ -47,7 +49,7 @@ describe 'EvolutionTriggerApi' do
|
|
47
49
|
# @return [String]
|
48
50
|
describe 'evolution_trigger_read test' do
|
49
51
|
it 'should work' do
|
50
|
-
# assertion here. ref: https://
|
52
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
53
|
end
|
52
54
|
end
|
53
55
|
|
data/spec/api/gender_api_spec.rb
CHANGED
@@ -1,10 +1,12 @@
|
|
1
1
|
=begin
|
2
|
+
#
|
3
|
+
|
2
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
5
|
|
4
6
|
The version of the OpenAPI document: 20220523
|
5
|
-
|
7
|
+
Contact: blah+oapicf@cliffano.com
|
6
8
|
Generated by: https://openapi-generator.tech
|
7
|
-
|
9
|
+
Generator version: 7.4.0
|
8
10
|
|
9
11
|
=end
|
10
12
|
|
@@ -37,7 +39,7 @@ describe 'GenderApi' do
|
|
37
39
|
# @return [String]
|
38
40
|
describe 'gender_list test' do
|
39
41
|
it 'should work' do
|
40
|
-
# assertion here. ref: https://
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
41
43
|
end
|
42
44
|
end
|
43
45
|
|
@@ -47,7 +49,7 @@ describe 'GenderApi' do
|
|
47
49
|
# @return [String]
|
48
50
|
describe 'gender_read test' do
|
49
51
|
it 'should work' do
|
50
|
-
# assertion here. ref: https://
|
52
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
53
|
end
|
52
54
|
end
|
53
55
|
|