pokeapi_client 0.9.0 → 0.9.1
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 +1 -1
- data/README.md +5 -5
- data/lib/pokeapi_client/api/ability_api.rb +138 -0
- data/lib/pokeapi_client/api/berry_api.rb +138 -0
- data/lib/pokeapi_client/api/berry_firmness_api.rb +138 -0
- data/lib/pokeapi_client/api/berry_flavor_api.rb +138 -0
- data/lib/pokeapi_client/api/characteristic_api.rb +138 -0
- data/lib/pokeapi_client/api/contest_effect_api.rb +138 -0
- data/lib/pokeapi_client/api/contest_type_api.rb +138 -0
- data/lib/pokeapi_client/api/egg_group_api.rb +138 -0
- data/lib/pokeapi_client/api/encounter_condition_api.rb +138 -0
- data/lib/pokeapi_client/api/encounter_condition_value_api.rb +138 -0
- data/lib/pokeapi_client/api/encounter_method_api.rb +138 -0
- data/lib/pokeapi_client/api/evolution_chain_api.rb +138 -0
- data/lib/pokeapi_client/api/evolution_trigger_api.rb +138 -0
- data/lib/pokeapi_client/api/gender_api.rb +138 -0
- data/lib/pokeapi_client/api/generation_api.rb +138 -0
- data/lib/pokeapi_client/api/growth_rate_api.rb +138 -0
- data/lib/pokeapi_client/api/item_api.rb +138 -0
- data/lib/pokeapi_client/api/item_attribute_api.rb +138 -0
- data/lib/pokeapi_client/api/item_category_api.rb +138 -0
- data/lib/pokeapi_client/api/item_fling_effect_api.rb +138 -0
- data/lib/pokeapi_client/api/item_pocket_api.rb +138 -0
- data/lib/pokeapi_client/api/language_api.rb +138 -0
- data/lib/pokeapi_client/api/location_api.rb +138 -0
- data/lib/pokeapi_client/api/location_area_api.rb +138 -0
- data/lib/pokeapi_client/api/machine_api.rb +138 -0
- data/lib/pokeapi_client/api/move_ailment_api.rb +138 -0
- data/lib/pokeapi_client/api/move_api.rb +138 -0
- data/lib/pokeapi_client/api/move_battle_style_api.rb +138 -0
- data/lib/pokeapi_client/api/move_category_api.rb +138 -0
- data/lib/pokeapi_client/api/move_damage_class_api.rb +138 -0
- data/lib/pokeapi_client/api/move_learn_method_api.rb +138 -0
- data/lib/pokeapi_client/api/move_target_api.rb +138 -0
- data/lib/pokeapi_client/api/nature_api.rb +138 -0
- data/lib/pokeapi_client/api/pal_park_area_api.rb +138 -0
- data/lib/pokeapi_client/api/pokeathlon_stat_api.rb +138 -0
- data/lib/pokeapi_client/api/pokedex_api.rb +138 -0
- data/lib/pokeapi_client/api/pokemon_api.rb +138 -0
- data/lib/pokeapi_client/api/pokemon_color_api.rb +138 -0
- data/lib/pokeapi_client/api/pokemon_form_api.rb +138 -0
- data/lib/pokeapi_client/api/pokemon_habitat_api.rb +138 -0
- data/lib/pokeapi_client/api/pokemon_shape_api.rb +138 -0
- data/lib/pokeapi_client/api/pokemon_species_api.rb +138 -0
- data/lib/pokeapi_client/api/region_api.rb +138 -0
- data/lib/pokeapi_client/api/stat_api.rb +138 -0
- data/lib/pokeapi_client/api/super_contest_effect_api.rb +138 -0
- data/lib/pokeapi_client/api/type_api.rb +138 -0
- data/lib/pokeapi_client/api/version_api.rb +138 -0
- data/lib/pokeapi_client/api/version_group_api.rb +138 -0
- data/lib/pokeapi_client/api_client.rb +387 -0
- data/lib/pokeapi_client/api_error.rb +55 -0
- data/lib/pokeapi_client/configuration.rb +269 -0
- data/lib/pokeapi_client/version.rb +13 -0
- data/lib/pokeapi_client.rb +85 -0
- data/pokeapi_client.gemspec +3 -3
- data/spec/api/ability_api_spec.rb +4 -4
- data/spec/api/berry_api_spec.rb +4 -4
- data/spec/api/berry_firmness_api_spec.rb +4 -4
- data/spec/api/berry_flavor_api_spec.rb +4 -4
- data/spec/api/characteristic_api_spec.rb +4 -4
- data/spec/api/contest_effect_api_spec.rb +4 -4
- data/spec/api/contest_type_api_spec.rb +4 -4
- data/spec/api/egg_group_api_spec.rb +4 -4
- data/spec/api/encounter_condition_api_spec.rb +4 -4
- data/spec/api/encounter_condition_value_api_spec.rb +4 -4
- data/spec/api/encounter_method_api_spec.rb +4 -4
- data/spec/api/evolution_chain_api_spec.rb +4 -4
- data/spec/api/evolution_trigger_api_spec.rb +4 -4
- data/spec/api/gender_api_spec.rb +4 -4
- data/spec/api/generation_api_spec.rb +4 -4
- data/spec/api/growth_rate_api_spec.rb +4 -4
- data/spec/api/item_api_spec.rb +4 -4
- data/spec/api/item_attribute_api_spec.rb +4 -4
- data/spec/api/item_category_api_spec.rb +4 -4
- data/spec/api/item_fling_effect_api_spec.rb +4 -4
- data/spec/api/item_pocket_api_spec.rb +4 -4
- data/spec/api/language_api_spec.rb +4 -4
- data/spec/api/location_api_spec.rb +4 -4
- data/spec/api/location_area_api_spec.rb +4 -4
- data/spec/api/machine_api_spec.rb +4 -4
- data/spec/api/move_ailment_api_spec.rb +4 -4
- data/spec/api/move_api_spec.rb +4 -4
- data/spec/api/move_battle_style_api_spec.rb +4 -4
- data/spec/api/move_category_api_spec.rb +4 -4
- data/spec/api/move_damage_class_api_spec.rb +4 -4
- data/spec/api/move_learn_method_api_spec.rb +4 -4
- data/spec/api/move_target_api_spec.rb +4 -4
- data/spec/api/nature_api_spec.rb +4 -4
- data/spec/api/pal_park_area_api_spec.rb +4 -4
- data/spec/api/pokeathlon_stat_api_spec.rb +4 -4
- data/spec/api/pokedex_api_spec.rb +4 -4
- data/spec/api/pokemon_api_spec.rb +4 -4
- data/spec/api/pokemon_color_api_spec.rb +4 -4
- data/spec/api/pokemon_form_api_spec.rb +4 -4
- data/spec/api/pokemon_habitat_api_spec.rb +4 -4
- data/spec/api/pokemon_shape_api_spec.rb +4 -4
- data/spec/api/pokemon_species_api_spec.rb +4 -4
- data/spec/api/region_api_spec.rb +4 -4
- data/spec/api/stat_api_spec.rb +4 -4
- data/spec/api/super_contest_effect_api_spec.rb +4 -4
- data/spec/api/type_api_spec.rb +4 -4
- data/spec/api/version_api_spec.rb +4 -4
- data/spec/api/version_group_api_spec.rb +4 -4
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +92 -39
@@ -0,0 +1,13 @@
|
|
1
|
+
=begin
|
2
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
|
+
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
|
+
|
6
|
+
Generated by: https://openapi-generator.tech
|
7
|
+
OpenAPI Generator version: 5.4.0
|
8
|
+
|
9
|
+
=end
|
10
|
+
|
11
|
+
module PokeApiClient
|
12
|
+
VERSION = '0.9.1'
|
13
|
+
end
|
@@ -0,0 +1,85 @@
|
|
1
|
+
=begin
|
2
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
|
+
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
|
+
|
6
|
+
Generated by: https://openapi-generator.tech
|
7
|
+
OpenAPI Generator version: 5.4.0
|
8
|
+
|
9
|
+
=end
|
10
|
+
|
11
|
+
# Common files
|
12
|
+
require 'pokeapi_client/api_client'
|
13
|
+
require 'pokeapi_client/api_error'
|
14
|
+
require 'pokeapi_client/version'
|
15
|
+
require 'pokeapi_client/configuration'
|
16
|
+
|
17
|
+
# Models
|
18
|
+
|
19
|
+
# APIs
|
20
|
+
require 'pokeapi_client/api/ability_api'
|
21
|
+
require 'pokeapi_client/api/berry_api'
|
22
|
+
require 'pokeapi_client/api/berry_firmness_api'
|
23
|
+
require 'pokeapi_client/api/berry_flavor_api'
|
24
|
+
require 'pokeapi_client/api/characteristic_api'
|
25
|
+
require 'pokeapi_client/api/contest_effect_api'
|
26
|
+
require 'pokeapi_client/api/contest_type_api'
|
27
|
+
require 'pokeapi_client/api/egg_group_api'
|
28
|
+
require 'pokeapi_client/api/encounter_condition_api'
|
29
|
+
require 'pokeapi_client/api/encounter_condition_value_api'
|
30
|
+
require 'pokeapi_client/api/encounter_method_api'
|
31
|
+
require 'pokeapi_client/api/evolution_chain_api'
|
32
|
+
require 'pokeapi_client/api/evolution_trigger_api'
|
33
|
+
require 'pokeapi_client/api/gender_api'
|
34
|
+
require 'pokeapi_client/api/generation_api'
|
35
|
+
require 'pokeapi_client/api/growth_rate_api'
|
36
|
+
require 'pokeapi_client/api/item_api'
|
37
|
+
require 'pokeapi_client/api/item_attribute_api'
|
38
|
+
require 'pokeapi_client/api/item_category_api'
|
39
|
+
require 'pokeapi_client/api/item_fling_effect_api'
|
40
|
+
require 'pokeapi_client/api/item_pocket_api'
|
41
|
+
require 'pokeapi_client/api/language_api'
|
42
|
+
require 'pokeapi_client/api/location_api'
|
43
|
+
require 'pokeapi_client/api/location_area_api'
|
44
|
+
require 'pokeapi_client/api/machine_api'
|
45
|
+
require 'pokeapi_client/api/move_api'
|
46
|
+
require 'pokeapi_client/api/move_ailment_api'
|
47
|
+
require 'pokeapi_client/api/move_battle_style_api'
|
48
|
+
require 'pokeapi_client/api/move_category_api'
|
49
|
+
require 'pokeapi_client/api/move_damage_class_api'
|
50
|
+
require 'pokeapi_client/api/move_learn_method_api'
|
51
|
+
require 'pokeapi_client/api/move_target_api'
|
52
|
+
require 'pokeapi_client/api/nature_api'
|
53
|
+
require 'pokeapi_client/api/pal_park_area_api'
|
54
|
+
require 'pokeapi_client/api/pokeathlon_stat_api'
|
55
|
+
require 'pokeapi_client/api/pokedex_api'
|
56
|
+
require 'pokeapi_client/api/pokemon_api'
|
57
|
+
require 'pokeapi_client/api/pokemon_color_api'
|
58
|
+
require 'pokeapi_client/api/pokemon_form_api'
|
59
|
+
require 'pokeapi_client/api/pokemon_habitat_api'
|
60
|
+
require 'pokeapi_client/api/pokemon_shape_api'
|
61
|
+
require 'pokeapi_client/api/pokemon_species_api'
|
62
|
+
require 'pokeapi_client/api/region_api'
|
63
|
+
require 'pokeapi_client/api/stat_api'
|
64
|
+
require 'pokeapi_client/api/super_contest_effect_api'
|
65
|
+
require 'pokeapi_client/api/type_api'
|
66
|
+
require 'pokeapi_client/api/version_api'
|
67
|
+
require 'pokeapi_client/api/version_group_api'
|
68
|
+
|
69
|
+
module PokeApiClient
|
70
|
+
class << self
|
71
|
+
# Customize default settings for the SDK using block.
|
72
|
+
# PokeApiClient.configure do |config|
|
73
|
+
# config.username = "xxx"
|
74
|
+
# config.password = "xxx"
|
75
|
+
# end
|
76
|
+
# If no block given, return the default Configuration object.
|
77
|
+
def configure
|
78
|
+
if block_given?
|
79
|
+
yield(Configuration.default)
|
80
|
+
else
|
81
|
+
Configuration.default
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
data/pokeapi_client.gemspec
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
=begin
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 20220523
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -11,11 +11,11 @@ OpenAPI Generator version: 5.4.0
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
$:.push File.expand_path("../lib", __FILE__)
|
14
|
-
|
14
|
+
require "pokeapi_client/version"
|
15
15
|
|
16
16
|
Gem::Specification.new do |s|
|
17
17
|
s.name = "pokeapi_client"
|
18
|
-
s.version =
|
18
|
+
s.version = PokeApiClient::VERSION
|
19
19
|
s.platform = Gem::Platform::RUBY
|
20
20
|
s.authors = ["Cliffano Subagio"]
|
21
21
|
s.email = ["blah@cliffano.com"]
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
@@ -11,13 +11,13 @@ OpenAPI Generator version: 5.4.0
|
|
11
11
|
require 'spec_helper'
|
12
12
|
require 'json'
|
13
13
|
|
14
|
-
# Unit tests for
|
14
|
+
# Unit tests for PokeApiClient::AbilityApi
|
15
15
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
16
|
# Please update as you see appropriate
|
17
17
|
describe 'AbilityApi' do
|
18
18
|
before do
|
19
19
|
# run before each test
|
20
|
-
@api_instance =
|
20
|
+
@api_instance = PokeApiClient::AbilityApi.new
|
21
21
|
end
|
22
22
|
|
23
23
|
after do
|
@@ -26,7 +26,7 @@ describe 'AbilityApi' do
|
|
26
26
|
|
27
27
|
describe 'test an instance of AbilityApi' do
|
28
28
|
it 'should create an instance of AbilityApi' do
|
29
|
-
expect(@api_instance).to be_instance_of(
|
29
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::AbilityApi)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
data/spec/api/berry_api_spec.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
@@ -11,13 +11,13 @@ OpenAPI Generator version: 5.4.0
|
|
11
11
|
require 'spec_helper'
|
12
12
|
require 'json'
|
13
13
|
|
14
|
-
# Unit tests for
|
14
|
+
# Unit tests for PokeApiClient::BerryApi
|
15
15
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
16
|
# Please update as you see appropriate
|
17
17
|
describe 'BerryApi' do
|
18
18
|
before do
|
19
19
|
# run before each test
|
20
|
-
@api_instance =
|
20
|
+
@api_instance = PokeApiClient::BerryApi.new
|
21
21
|
end
|
22
22
|
|
23
23
|
after do
|
@@ -26,7 +26,7 @@ describe 'BerryApi' do
|
|
26
26
|
|
27
27
|
describe 'test an instance of BerryApi' do
|
28
28
|
it 'should create an instance of BerryApi' do
|
29
|
-
expect(@api_instance).to be_instance_of(
|
29
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::BerryApi)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
@@ -11,13 +11,13 @@ OpenAPI Generator version: 5.4.0
|
|
11
11
|
require 'spec_helper'
|
12
12
|
require 'json'
|
13
13
|
|
14
|
-
# Unit tests for
|
14
|
+
# Unit tests for PokeApiClient::BerryFirmnessApi
|
15
15
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
16
|
# Please update as you see appropriate
|
17
17
|
describe 'BerryFirmnessApi' do
|
18
18
|
before do
|
19
19
|
# run before each test
|
20
|
-
@api_instance =
|
20
|
+
@api_instance = PokeApiClient::BerryFirmnessApi.new
|
21
21
|
end
|
22
22
|
|
23
23
|
after do
|
@@ -26,7 +26,7 @@ describe 'BerryFirmnessApi' do
|
|
26
26
|
|
27
27
|
describe 'test an instance of BerryFirmnessApi' do
|
28
28
|
it 'should create an instance of BerryFirmnessApi' do
|
29
|
-
expect(@api_instance).to be_instance_of(
|
29
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::BerryFirmnessApi)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
@@ -11,13 +11,13 @@ OpenAPI Generator version: 5.4.0
|
|
11
11
|
require 'spec_helper'
|
12
12
|
require 'json'
|
13
13
|
|
14
|
-
# Unit tests for
|
14
|
+
# Unit tests for PokeApiClient::BerryFlavorApi
|
15
15
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
16
|
# Please update as you see appropriate
|
17
17
|
describe 'BerryFlavorApi' do
|
18
18
|
before do
|
19
19
|
# run before each test
|
20
|
-
@api_instance =
|
20
|
+
@api_instance = PokeApiClient::BerryFlavorApi.new
|
21
21
|
end
|
22
22
|
|
23
23
|
after do
|
@@ -26,7 +26,7 @@ describe 'BerryFlavorApi' do
|
|
26
26
|
|
27
27
|
describe 'test an instance of BerryFlavorApi' do
|
28
28
|
it 'should create an instance of BerryFlavorApi' do
|
29
|
-
expect(@api_instance).to be_instance_of(
|
29
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::BerryFlavorApi)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
@@ -11,13 +11,13 @@ OpenAPI Generator version: 5.4.0
|
|
11
11
|
require 'spec_helper'
|
12
12
|
require 'json'
|
13
13
|
|
14
|
-
# Unit tests for
|
14
|
+
# Unit tests for PokeApiClient::CharacteristicApi
|
15
15
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
16
|
# Please update as you see appropriate
|
17
17
|
describe 'CharacteristicApi' do
|
18
18
|
before do
|
19
19
|
# run before each test
|
20
|
-
@api_instance =
|
20
|
+
@api_instance = PokeApiClient::CharacteristicApi.new
|
21
21
|
end
|
22
22
|
|
23
23
|
after do
|
@@ -26,7 +26,7 @@ describe 'CharacteristicApi' do
|
|
26
26
|
|
27
27
|
describe 'test an instance of CharacteristicApi' do
|
28
28
|
it 'should create an instance of CharacteristicApi' do
|
29
|
-
expect(@api_instance).to be_instance_of(
|
29
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::CharacteristicApi)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
@@ -11,13 +11,13 @@ OpenAPI Generator version: 5.4.0
|
|
11
11
|
require 'spec_helper'
|
12
12
|
require 'json'
|
13
13
|
|
14
|
-
# Unit tests for
|
14
|
+
# Unit tests for PokeApiClient::ContestEffectApi
|
15
15
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
16
|
# Please update as you see appropriate
|
17
17
|
describe 'ContestEffectApi' do
|
18
18
|
before do
|
19
19
|
# run before each test
|
20
|
-
@api_instance =
|
20
|
+
@api_instance = PokeApiClient::ContestEffectApi.new
|
21
21
|
end
|
22
22
|
|
23
23
|
after do
|
@@ -26,7 +26,7 @@ describe 'ContestEffectApi' do
|
|
26
26
|
|
27
27
|
describe 'test an instance of ContestEffectApi' do
|
28
28
|
it 'should create an instance of ContestEffectApi' do
|
29
|
-
expect(@api_instance).to be_instance_of(
|
29
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::ContestEffectApi)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
@@ -11,13 +11,13 @@ OpenAPI Generator version: 5.4.0
|
|
11
11
|
require 'spec_helper'
|
12
12
|
require 'json'
|
13
13
|
|
14
|
-
# Unit tests for
|
14
|
+
# Unit tests for PokeApiClient::ContestTypeApi
|
15
15
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
16
|
# Please update as you see appropriate
|
17
17
|
describe 'ContestTypeApi' do
|
18
18
|
before do
|
19
19
|
# run before each test
|
20
|
-
@api_instance =
|
20
|
+
@api_instance = PokeApiClient::ContestTypeApi.new
|
21
21
|
end
|
22
22
|
|
23
23
|
after do
|
@@ -26,7 +26,7 @@ describe 'ContestTypeApi' do
|
|
26
26
|
|
27
27
|
describe 'test an instance of ContestTypeApi' do
|
28
28
|
it 'should create an instance of ContestTypeApi' do
|
29
|
-
expect(@api_instance).to be_instance_of(
|
29
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::ContestTypeApi)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
@@ -11,13 +11,13 @@ OpenAPI Generator version: 5.4.0
|
|
11
11
|
require 'spec_helper'
|
12
12
|
require 'json'
|
13
13
|
|
14
|
-
# Unit tests for
|
14
|
+
# Unit tests for PokeApiClient::EggGroupApi
|
15
15
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
16
|
# Please update as you see appropriate
|
17
17
|
describe 'EggGroupApi' do
|
18
18
|
before do
|
19
19
|
# run before each test
|
20
|
-
@api_instance =
|
20
|
+
@api_instance = PokeApiClient::EggGroupApi.new
|
21
21
|
end
|
22
22
|
|
23
23
|
after do
|
@@ -26,7 +26,7 @@ describe 'EggGroupApi' do
|
|
26
26
|
|
27
27
|
describe 'test an instance of EggGroupApi' do
|
28
28
|
it 'should create an instance of EggGroupApi' do
|
29
|
-
expect(@api_instance).to be_instance_of(
|
29
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::EggGroupApi)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
@@ -11,13 +11,13 @@ OpenAPI Generator version: 5.4.0
|
|
11
11
|
require 'spec_helper'
|
12
12
|
require 'json'
|
13
13
|
|
14
|
-
# Unit tests for
|
14
|
+
# Unit tests for PokeApiClient::EncounterConditionApi
|
15
15
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
16
|
# Please update as you see appropriate
|
17
17
|
describe 'EncounterConditionApi' do
|
18
18
|
before do
|
19
19
|
# run before each test
|
20
|
-
@api_instance =
|
20
|
+
@api_instance = PokeApiClient::EncounterConditionApi.new
|
21
21
|
end
|
22
22
|
|
23
23
|
after do
|
@@ -26,7 +26,7 @@ describe 'EncounterConditionApi' do
|
|
26
26
|
|
27
27
|
describe 'test an instance of EncounterConditionApi' do
|
28
28
|
it 'should create an instance of EncounterConditionApi' do
|
29
|
-
expect(@api_instance).to be_instance_of(
|
29
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::EncounterConditionApi)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
@@ -11,13 +11,13 @@ OpenAPI Generator version: 5.4.0
|
|
11
11
|
require 'spec_helper'
|
12
12
|
require 'json'
|
13
13
|
|
14
|
-
# Unit tests for
|
14
|
+
# Unit tests for PokeApiClient::EncounterConditionValueApi
|
15
15
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
16
|
# Please update as you see appropriate
|
17
17
|
describe 'EncounterConditionValueApi' do
|
18
18
|
before do
|
19
19
|
# run before each test
|
20
|
-
@api_instance =
|
20
|
+
@api_instance = PokeApiClient::EncounterConditionValueApi.new
|
21
21
|
end
|
22
22
|
|
23
23
|
after do
|
@@ -26,7 +26,7 @@ describe 'EncounterConditionValueApi' do
|
|
26
26
|
|
27
27
|
describe 'test an instance of EncounterConditionValueApi' do
|
28
28
|
it 'should create an instance of EncounterConditionValueApi' do
|
29
|
-
expect(@api_instance).to be_instance_of(
|
29
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::EncounterConditionValueApi)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
@@ -11,13 +11,13 @@ OpenAPI Generator version: 5.4.0
|
|
11
11
|
require 'spec_helper'
|
12
12
|
require 'json'
|
13
13
|
|
14
|
-
# Unit tests for
|
14
|
+
# Unit tests for PokeApiClient::EncounterMethodApi
|
15
15
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
16
|
# Please update as you see appropriate
|
17
17
|
describe 'EncounterMethodApi' do
|
18
18
|
before do
|
19
19
|
# run before each test
|
20
|
-
@api_instance =
|
20
|
+
@api_instance = PokeApiClient::EncounterMethodApi.new
|
21
21
|
end
|
22
22
|
|
23
23
|
after do
|
@@ -26,7 +26,7 @@ describe 'EncounterMethodApi' do
|
|
26
26
|
|
27
27
|
describe 'test an instance of EncounterMethodApi' do
|
28
28
|
it 'should create an instance of EncounterMethodApi' do
|
29
|
-
expect(@api_instance).to be_instance_of(
|
29
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::EncounterMethodApi)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
@@ -11,13 +11,13 @@ OpenAPI Generator version: 5.4.0
|
|
11
11
|
require 'spec_helper'
|
12
12
|
require 'json'
|
13
13
|
|
14
|
-
# Unit tests for
|
14
|
+
# Unit tests for PokeApiClient::EvolutionChainApi
|
15
15
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
16
|
# Please update as you see appropriate
|
17
17
|
describe 'EvolutionChainApi' do
|
18
18
|
before do
|
19
19
|
# run before each test
|
20
|
-
@api_instance =
|
20
|
+
@api_instance = PokeApiClient::EvolutionChainApi.new
|
21
21
|
end
|
22
22
|
|
23
23
|
after do
|
@@ -26,7 +26,7 @@ describe 'EvolutionChainApi' do
|
|
26
26
|
|
27
27
|
describe 'test an instance of EvolutionChainApi' do
|
28
28
|
it 'should create an instance of EvolutionChainApi' do
|
29
|
-
expect(@api_instance).to be_instance_of(
|
29
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::EvolutionChainApi)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
@@ -11,13 +11,13 @@ OpenAPI Generator version: 5.4.0
|
|
11
11
|
require 'spec_helper'
|
12
12
|
require 'json'
|
13
13
|
|
14
|
-
# Unit tests for
|
14
|
+
# Unit tests for PokeApiClient::EvolutionTriggerApi
|
15
15
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
16
|
# Please update as you see appropriate
|
17
17
|
describe 'EvolutionTriggerApi' do
|
18
18
|
before do
|
19
19
|
# run before each test
|
20
|
-
@api_instance =
|
20
|
+
@api_instance = PokeApiClient::EvolutionTriggerApi.new
|
21
21
|
end
|
22
22
|
|
23
23
|
after do
|
@@ -26,7 +26,7 @@ describe 'EvolutionTriggerApi' do
|
|
26
26
|
|
27
27
|
describe 'test an instance of EvolutionTriggerApi' do
|
28
28
|
it 'should create an instance of EvolutionTriggerApi' do
|
29
|
-
expect(@api_instance).to be_instance_of(
|
29
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::EvolutionTriggerApi)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
data/spec/api/gender_api_spec.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
@@ -11,13 +11,13 @@ OpenAPI Generator version: 5.4.0
|
|
11
11
|
require 'spec_helper'
|
12
12
|
require 'json'
|
13
13
|
|
14
|
-
# Unit tests for
|
14
|
+
# Unit tests for PokeApiClient::GenderApi
|
15
15
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
16
|
# Please update as you see appropriate
|
17
17
|
describe 'GenderApi' do
|
18
18
|
before do
|
19
19
|
# run before each test
|
20
|
-
@api_instance =
|
20
|
+
@api_instance = PokeApiClient::GenderApi.new
|
21
21
|
end
|
22
22
|
|
23
23
|
after do
|
@@ -26,7 +26,7 @@ describe 'GenderApi' do
|
|
26
26
|
|
27
27
|
describe 'test an instance of GenderApi' do
|
28
28
|
it 'should create an instance of GenderApi' do
|
29
|
-
expect(@api_instance).to be_instance_of(
|
29
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::GenderApi)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
@@ -11,13 +11,13 @@ OpenAPI Generator version: 5.4.0
|
|
11
11
|
require 'spec_helper'
|
12
12
|
require 'json'
|
13
13
|
|
14
|
-
# Unit tests for
|
14
|
+
# Unit tests for PokeApiClient::GenerationApi
|
15
15
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
16
|
# Please update as you see appropriate
|
17
17
|
describe 'GenerationApi' do
|
18
18
|
before do
|
19
19
|
# run before each test
|
20
|
-
@api_instance =
|
20
|
+
@api_instance = PokeApiClient::GenerationApi.new
|
21
21
|
end
|
22
22
|
|
23
23
|
after do
|
@@ -26,7 +26,7 @@ describe 'GenerationApi' do
|
|
26
26
|
|
27
27
|
describe 'test an instance of GenerationApi' do
|
28
28
|
it 'should create an instance of GenerationApi' do
|
29
|
-
expect(@api_instance).to be_instance_of(
|
29
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::GenerationApi)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
@@ -11,13 +11,13 @@ OpenAPI Generator version: 5.4.0
|
|
11
11
|
require 'spec_helper'
|
12
12
|
require 'json'
|
13
13
|
|
14
|
-
# Unit tests for
|
14
|
+
# Unit tests for PokeApiClient::GrowthRateApi
|
15
15
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
16
|
# Please update as you see appropriate
|
17
17
|
describe 'GrowthRateApi' do
|
18
18
|
before do
|
19
19
|
# run before each test
|
20
|
-
@api_instance =
|
20
|
+
@api_instance = PokeApiClient::GrowthRateApi.new
|
21
21
|
end
|
22
22
|
|
23
23
|
after do
|
@@ -26,7 +26,7 @@ describe 'GrowthRateApi' do
|
|
26
26
|
|
27
27
|
describe 'test an instance of GrowthRateApi' do
|
28
28
|
it 'should create an instance of GrowthRateApi' do
|
29
|
-
expect(@api_instance).to be_instance_of(
|
29
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::GrowthRateApi)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|