pokeapi_client 0.9.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 +7 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +70 -0
- data/README.md +185 -0
- data/Rakefile +10 -0
- data/bin/bundle +114 -0
- data/bin/byebug +27 -0
- data/bin/coderay +27 -0
- data/bin/htmldiff +27 -0
- data/bin/ldiff +27 -0
- data/bin/pry +27 -0
- data/bin/rake +27 -0
- data/bin/rspec +27 -0
- data/bin/rubocop +27 -0
- data/bin/ruby-parse +27 -0
- data/bin/ruby-rewrite +27 -0
- data/docs/AbilityApi.md +137 -0
- data/docs/BerryApi.md +137 -0
- data/docs/BerryFirmnessApi.md +137 -0
- data/docs/BerryFlavorApi.md +137 -0
- data/docs/CharacteristicApi.md +137 -0
- data/docs/ContestEffectApi.md +137 -0
- data/docs/ContestTypeApi.md +137 -0
- data/docs/EggGroupApi.md +137 -0
- data/docs/EncounterConditionApi.md +137 -0
- data/docs/EncounterConditionValueApi.md +137 -0
- data/docs/EncounterMethodApi.md +137 -0
- data/docs/EvolutionChainApi.md +137 -0
- data/docs/EvolutionTriggerApi.md +137 -0
- data/docs/GenderApi.md +137 -0
- data/docs/GenerationApi.md +137 -0
- data/docs/GrowthRateApi.md +137 -0
- data/docs/ItemApi.md +137 -0
- data/docs/ItemAttributeApi.md +137 -0
- data/docs/ItemCategoryApi.md +137 -0
- data/docs/ItemFlingEffectApi.md +137 -0
- data/docs/ItemPocketApi.md +137 -0
- data/docs/LanguageApi.md +137 -0
- data/docs/LocationApi.md +137 -0
- data/docs/LocationAreaApi.md +137 -0
- data/docs/MachineApi.md +137 -0
- data/docs/MoveAilmentApi.md +137 -0
- data/docs/MoveApi.md +137 -0
- data/docs/MoveBattleStyleApi.md +137 -0
- data/docs/MoveCategoryApi.md +137 -0
- data/docs/MoveDamageClassApi.md +137 -0
- data/docs/MoveLearnMethodApi.md +137 -0
- data/docs/MoveTargetApi.md +137 -0
- data/docs/NatureApi.md +137 -0
- data/docs/PalParkAreaApi.md +137 -0
- data/docs/PokeathlonStatApi.md +137 -0
- data/docs/PokedexApi.md +137 -0
- data/docs/PokemonApi.md +137 -0
- data/docs/PokemonColorApi.md +137 -0
- data/docs/PokemonFormApi.md +137 -0
- data/docs/PokemonHabitatApi.md +137 -0
- data/docs/PokemonShapeApi.md +137 -0
- data/docs/PokemonSpeciesApi.md +137 -0
- data/docs/RegionApi.md +137 -0
- data/docs/StatApi.md +137 -0
- data/docs/SuperContestEffectApi.md +137 -0
- data/docs/TypeApi.md +137 -0
- data/docs/VersionApi.md +137 -0
- data/docs/VersionGroupApi.md +137 -0
- data/git_push.sh +57 -0
- data/pokeapi_client.gemspec +36 -0
- data/spec/api/ability_api_spec.rb +54 -0
- data/spec/api/berry_api_spec.rb +54 -0
- data/spec/api/berry_firmness_api_spec.rb +54 -0
- data/spec/api/berry_flavor_api_spec.rb +54 -0
- data/spec/api/characteristic_api_spec.rb +54 -0
- data/spec/api/contest_effect_api_spec.rb +54 -0
- data/spec/api/contest_type_api_spec.rb +54 -0
- data/spec/api/egg_group_api_spec.rb +54 -0
- data/spec/api/encounter_condition_api_spec.rb +54 -0
- data/spec/api/encounter_condition_value_api_spec.rb +54 -0
- data/spec/api/encounter_method_api_spec.rb +54 -0
- data/spec/api/evolution_chain_api_spec.rb +54 -0
- data/spec/api/evolution_trigger_api_spec.rb +54 -0
- data/spec/api/gender_api_spec.rb +54 -0
- data/spec/api/generation_api_spec.rb +54 -0
- data/spec/api/growth_rate_api_spec.rb +54 -0
- data/spec/api/item_api_spec.rb +54 -0
- data/spec/api/item_attribute_api_spec.rb +54 -0
- data/spec/api/item_category_api_spec.rb +54 -0
- data/spec/api/item_fling_effect_api_spec.rb +54 -0
- data/spec/api/item_pocket_api_spec.rb +54 -0
- data/spec/api/language_api_spec.rb +54 -0
- data/spec/api/location_api_spec.rb +54 -0
- data/spec/api/location_area_api_spec.rb +54 -0
- data/spec/api/machine_api_spec.rb +54 -0
- data/spec/api/move_ailment_api_spec.rb +54 -0
- data/spec/api/move_api_spec.rb +54 -0
- data/spec/api/move_battle_style_api_spec.rb +54 -0
- data/spec/api/move_category_api_spec.rb +54 -0
- data/spec/api/move_damage_class_api_spec.rb +54 -0
- data/spec/api/move_learn_method_api_spec.rb +54 -0
- data/spec/api/move_target_api_spec.rb +54 -0
- data/spec/api/nature_api_spec.rb +54 -0
- data/spec/api/pal_park_area_api_spec.rb +54 -0
- data/spec/api/pokeathlon_stat_api_spec.rb +54 -0
- data/spec/api/pokedex_api_spec.rb +54 -0
- data/spec/api/pokemon_api_spec.rb +54 -0
- data/spec/api/pokemon_color_api_spec.rb +54 -0
- data/spec/api/pokemon_form_api_spec.rb +54 -0
- data/spec/api/pokemon_habitat_api_spec.rb +54 -0
- data/spec/api/pokemon_shape_api_spec.rb +54 -0
- data/spec/api/pokemon_species_api_spec.rb +54 -0
- data/spec/api/region_api_spec.rb +54 -0
- data/spec/api/stat_api_spec.rb +54 -0
- data/spec/api/super_contest_effect_api_spec.rb +54 -0
- data/spec/api/type_api_spec.rb +54 -0
- data/spec/api/version_api_spec.rb +54 -0
- data/spec/api/version_group_api_spec.rb +54 -0
- data/spec/api_client_spec.rb +224 -0
- data/spec/configuration_spec.rb +40 -0
- data/spec/spec_helper.rb +109 -0
- metadata +250 -0
@@ -0,0 +1,54 @@
|
|
1
|
+
=begin
|
2
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
|
+
|
4
|
+
The version of the OpenAPI document: 1.0.0
|
5
|
+
|
6
|
+
Generated by: https://openapi-generator.tech
|
7
|
+
OpenAPI Generator version: 5.4.0
|
8
|
+
|
9
|
+
=end
|
10
|
+
|
11
|
+
require 'spec_helper'
|
12
|
+
require 'json'
|
13
|
+
|
14
|
+
# Unit tests for OpenapiClient::MoveBattleStyleApi
|
15
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
|
+
# Please update as you see appropriate
|
17
|
+
describe 'MoveBattleStyleApi' do
|
18
|
+
before do
|
19
|
+
# run before each test
|
20
|
+
@api_instance = OpenapiClient::MoveBattleStyleApi.new
|
21
|
+
end
|
22
|
+
|
23
|
+
after do
|
24
|
+
# run after each test
|
25
|
+
end
|
26
|
+
|
27
|
+
describe 'test an instance of MoveBattleStyleApi' do
|
28
|
+
it 'should create an instance of MoveBattleStyleApi' do
|
29
|
+
expect(@api_instance).to be_instance_of(OpenapiClient::MoveBattleStyleApi)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
# unit tests for move_battle_style_list
|
34
|
+
# @param [Hash] opts the optional parameters
|
35
|
+
# @option opts [Integer] :limit
|
36
|
+
# @option opts [Integer] :offset
|
37
|
+
# @return [String]
|
38
|
+
describe 'move_battle_style_list test' do
|
39
|
+
it 'should work' do
|
40
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# unit tests for move_battle_style_read
|
45
|
+
# @param id
|
46
|
+
# @param [Hash] opts the optional parameters
|
47
|
+
# @return [String]
|
48
|
+
describe 'move_battle_style_read test' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
=begin
|
2
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
|
+
|
4
|
+
The version of the OpenAPI document: 1.0.0
|
5
|
+
|
6
|
+
Generated by: https://openapi-generator.tech
|
7
|
+
OpenAPI Generator version: 5.4.0
|
8
|
+
|
9
|
+
=end
|
10
|
+
|
11
|
+
require 'spec_helper'
|
12
|
+
require 'json'
|
13
|
+
|
14
|
+
# Unit tests for OpenapiClient::MoveCategoryApi
|
15
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
|
+
# Please update as you see appropriate
|
17
|
+
describe 'MoveCategoryApi' do
|
18
|
+
before do
|
19
|
+
# run before each test
|
20
|
+
@api_instance = OpenapiClient::MoveCategoryApi.new
|
21
|
+
end
|
22
|
+
|
23
|
+
after do
|
24
|
+
# run after each test
|
25
|
+
end
|
26
|
+
|
27
|
+
describe 'test an instance of MoveCategoryApi' do
|
28
|
+
it 'should create an instance of MoveCategoryApi' do
|
29
|
+
expect(@api_instance).to be_instance_of(OpenapiClient::MoveCategoryApi)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
# unit tests for move_category_list
|
34
|
+
# @param [Hash] opts the optional parameters
|
35
|
+
# @option opts [Integer] :limit
|
36
|
+
# @option opts [Integer] :offset
|
37
|
+
# @return [String]
|
38
|
+
describe 'move_category_list test' do
|
39
|
+
it 'should work' do
|
40
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# unit tests for move_category_read
|
45
|
+
# @param id
|
46
|
+
# @param [Hash] opts the optional parameters
|
47
|
+
# @return [String]
|
48
|
+
describe 'move_category_read test' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
=begin
|
2
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
|
+
|
4
|
+
The version of the OpenAPI document: 1.0.0
|
5
|
+
|
6
|
+
Generated by: https://openapi-generator.tech
|
7
|
+
OpenAPI Generator version: 5.4.0
|
8
|
+
|
9
|
+
=end
|
10
|
+
|
11
|
+
require 'spec_helper'
|
12
|
+
require 'json'
|
13
|
+
|
14
|
+
# Unit tests for OpenapiClient::MoveDamageClassApi
|
15
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
|
+
# Please update as you see appropriate
|
17
|
+
describe 'MoveDamageClassApi' do
|
18
|
+
before do
|
19
|
+
# run before each test
|
20
|
+
@api_instance = OpenapiClient::MoveDamageClassApi.new
|
21
|
+
end
|
22
|
+
|
23
|
+
after do
|
24
|
+
# run after each test
|
25
|
+
end
|
26
|
+
|
27
|
+
describe 'test an instance of MoveDamageClassApi' do
|
28
|
+
it 'should create an instance of MoveDamageClassApi' do
|
29
|
+
expect(@api_instance).to be_instance_of(OpenapiClient::MoveDamageClassApi)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
# unit tests for move_damage_class_list
|
34
|
+
# @param [Hash] opts the optional parameters
|
35
|
+
# @option opts [Integer] :limit
|
36
|
+
# @option opts [Integer] :offset
|
37
|
+
# @return [String]
|
38
|
+
describe 'move_damage_class_list test' do
|
39
|
+
it 'should work' do
|
40
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# unit tests for move_damage_class_read
|
45
|
+
# @param id
|
46
|
+
# @param [Hash] opts the optional parameters
|
47
|
+
# @return [String]
|
48
|
+
describe 'move_damage_class_read test' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
=begin
|
2
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
|
+
|
4
|
+
The version of the OpenAPI document: 1.0.0
|
5
|
+
|
6
|
+
Generated by: https://openapi-generator.tech
|
7
|
+
OpenAPI Generator version: 5.4.0
|
8
|
+
|
9
|
+
=end
|
10
|
+
|
11
|
+
require 'spec_helper'
|
12
|
+
require 'json'
|
13
|
+
|
14
|
+
# Unit tests for OpenapiClient::MoveLearnMethodApi
|
15
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
|
+
# Please update as you see appropriate
|
17
|
+
describe 'MoveLearnMethodApi' do
|
18
|
+
before do
|
19
|
+
# run before each test
|
20
|
+
@api_instance = OpenapiClient::MoveLearnMethodApi.new
|
21
|
+
end
|
22
|
+
|
23
|
+
after do
|
24
|
+
# run after each test
|
25
|
+
end
|
26
|
+
|
27
|
+
describe 'test an instance of MoveLearnMethodApi' do
|
28
|
+
it 'should create an instance of MoveLearnMethodApi' do
|
29
|
+
expect(@api_instance).to be_instance_of(OpenapiClient::MoveLearnMethodApi)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
# unit tests for move_learn_method_list
|
34
|
+
# @param [Hash] opts the optional parameters
|
35
|
+
# @option opts [Integer] :limit
|
36
|
+
# @option opts [Integer] :offset
|
37
|
+
# @return [String]
|
38
|
+
describe 'move_learn_method_list test' do
|
39
|
+
it 'should work' do
|
40
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# unit tests for move_learn_method_read
|
45
|
+
# @param id
|
46
|
+
# @param [Hash] opts the optional parameters
|
47
|
+
# @return [String]
|
48
|
+
describe 'move_learn_method_read test' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
=begin
|
2
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
|
+
|
4
|
+
The version of the OpenAPI document: 1.0.0
|
5
|
+
|
6
|
+
Generated by: https://openapi-generator.tech
|
7
|
+
OpenAPI Generator version: 5.4.0
|
8
|
+
|
9
|
+
=end
|
10
|
+
|
11
|
+
require 'spec_helper'
|
12
|
+
require 'json'
|
13
|
+
|
14
|
+
# Unit tests for OpenapiClient::MoveTargetApi
|
15
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
|
+
# Please update as you see appropriate
|
17
|
+
describe 'MoveTargetApi' do
|
18
|
+
before do
|
19
|
+
# run before each test
|
20
|
+
@api_instance = OpenapiClient::MoveTargetApi.new
|
21
|
+
end
|
22
|
+
|
23
|
+
after do
|
24
|
+
# run after each test
|
25
|
+
end
|
26
|
+
|
27
|
+
describe 'test an instance of MoveTargetApi' do
|
28
|
+
it 'should create an instance of MoveTargetApi' do
|
29
|
+
expect(@api_instance).to be_instance_of(OpenapiClient::MoveTargetApi)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
# unit tests for move_target_list
|
34
|
+
# @param [Hash] opts the optional parameters
|
35
|
+
# @option opts [Integer] :limit
|
36
|
+
# @option opts [Integer] :offset
|
37
|
+
# @return [String]
|
38
|
+
describe 'move_target_list test' do
|
39
|
+
it 'should work' do
|
40
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# unit tests for move_target_read
|
45
|
+
# @param id
|
46
|
+
# @param [Hash] opts the optional parameters
|
47
|
+
# @return [String]
|
48
|
+
describe 'move_target_read test' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
=begin
|
2
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
|
+
|
4
|
+
The version of the OpenAPI document: 1.0.0
|
5
|
+
|
6
|
+
Generated by: https://openapi-generator.tech
|
7
|
+
OpenAPI Generator version: 5.4.0
|
8
|
+
|
9
|
+
=end
|
10
|
+
|
11
|
+
require 'spec_helper'
|
12
|
+
require 'json'
|
13
|
+
|
14
|
+
# Unit tests for OpenapiClient::NatureApi
|
15
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
|
+
# Please update as you see appropriate
|
17
|
+
describe 'NatureApi' do
|
18
|
+
before do
|
19
|
+
# run before each test
|
20
|
+
@api_instance = OpenapiClient::NatureApi.new
|
21
|
+
end
|
22
|
+
|
23
|
+
after do
|
24
|
+
# run after each test
|
25
|
+
end
|
26
|
+
|
27
|
+
describe 'test an instance of NatureApi' do
|
28
|
+
it 'should create an instance of NatureApi' do
|
29
|
+
expect(@api_instance).to be_instance_of(OpenapiClient::NatureApi)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
# unit tests for nature_list
|
34
|
+
# @param [Hash] opts the optional parameters
|
35
|
+
# @option opts [Integer] :limit
|
36
|
+
# @option opts [Integer] :offset
|
37
|
+
# @return [String]
|
38
|
+
describe 'nature_list test' do
|
39
|
+
it 'should work' do
|
40
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# unit tests for nature_read
|
45
|
+
# @param id
|
46
|
+
# @param [Hash] opts the optional parameters
|
47
|
+
# @return [String]
|
48
|
+
describe 'nature_read test' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
=begin
|
2
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
|
+
|
4
|
+
The version of the OpenAPI document: 1.0.0
|
5
|
+
|
6
|
+
Generated by: https://openapi-generator.tech
|
7
|
+
OpenAPI Generator version: 5.4.0
|
8
|
+
|
9
|
+
=end
|
10
|
+
|
11
|
+
require 'spec_helper'
|
12
|
+
require 'json'
|
13
|
+
|
14
|
+
# Unit tests for OpenapiClient::PalParkAreaApi
|
15
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
|
+
# Please update as you see appropriate
|
17
|
+
describe 'PalParkAreaApi' do
|
18
|
+
before do
|
19
|
+
# run before each test
|
20
|
+
@api_instance = OpenapiClient::PalParkAreaApi.new
|
21
|
+
end
|
22
|
+
|
23
|
+
after do
|
24
|
+
# run after each test
|
25
|
+
end
|
26
|
+
|
27
|
+
describe 'test an instance of PalParkAreaApi' do
|
28
|
+
it 'should create an instance of PalParkAreaApi' do
|
29
|
+
expect(@api_instance).to be_instance_of(OpenapiClient::PalParkAreaApi)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
# unit tests for pal_park_area_list
|
34
|
+
# @param [Hash] opts the optional parameters
|
35
|
+
# @option opts [Integer] :limit
|
36
|
+
# @option opts [Integer] :offset
|
37
|
+
# @return [String]
|
38
|
+
describe 'pal_park_area_list test' do
|
39
|
+
it 'should work' do
|
40
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# unit tests for pal_park_area_read
|
45
|
+
# @param id
|
46
|
+
# @param [Hash] opts the optional parameters
|
47
|
+
# @return [String]
|
48
|
+
describe 'pal_park_area_read test' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
=begin
|
2
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
|
+
|
4
|
+
The version of the OpenAPI document: 1.0.0
|
5
|
+
|
6
|
+
Generated by: https://openapi-generator.tech
|
7
|
+
OpenAPI Generator version: 5.4.0
|
8
|
+
|
9
|
+
=end
|
10
|
+
|
11
|
+
require 'spec_helper'
|
12
|
+
require 'json'
|
13
|
+
|
14
|
+
# Unit tests for OpenapiClient::PokeathlonStatApi
|
15
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
|
+
# Please update as you see appropriate
|
17
|
+
describe 'PokeathlonStatApi' do
|
18
|
+
before do
|
19
|
+
# run before each test
|
20
|
+
@api_instance = OpenapiClient::PokeathlonStatApi.new
|
21
|
+
end
|
22
|
+
|
23
|
+
after do
|
24
|
+
# run after each test
|
25
|
+
end
|
26
|
+
|
27
|
+
describe 'test an instance of PokeathlonStatApi' do
|
28
|
+
it 'should create an instance of PokeathlonStatApi' do
|
29
|
+
expect(@api_instance).to be_instance_of(OpenapiClient::PokeathlonStatApi)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
# unit tests for pokeathlon_stat_list
|
34
|
+
# @param [Hash] opts the optional parameters
|
35
|
+
# @option opts [Integer] :limit
|
36
|
+
# @option opts [Integer] :offset
|
37
|
+
# @return [String]
|
38
|
+
describe 'pokeathlon_stat_list test' do
|
39
|
+
it 'should work' do
|
40
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# unit tests for pokeathlon_stat_read
|
45
|
+
# @param id
|
46
|
+
# @param [Hash] opts the optional parameters
|
47
|
+
# @return [String]
|
48
|
+
describe 'pokeathlon_stat_read test' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
=begin
|
2
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
|
+
|
4
|
+
The version of the OpenAPI document: 1.0.0
|
5
|
+
|
6
|
+
Generated by: https://openapi-generator.tech
|
7
|
+
OpenAPI Generator version: 5.4.0
|
8
|
+
|
9
|
+
=end
|
10
|
+
|
11
|
+
require 'spec_helper'
|
12
|
+
require 'json'
|
13
|
+
|
14
|
+
# Unit tests for OpenapiClient::PokedexApi
|
15
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
|
+
# Please update as you see appropriate
|
17
|
+
describe 'PokedexApi' do
|
18
|
+
before do
|
19
|
+
# run before each test
|
20
|
+
@api_instance = OpenapiClient::PokedexApi.new
|
21
|
+
end
|
22
|
+
|
23
|
+
after do
|
24
|
+
# run after each test
|
25
|
+
end
|
26
|
+
|
27
|
+
describe 'test an instance of PokedexApi' do
|
28
|
+
it 'should create an instance of PokedexApi' do
|
29
|
+
expect(@api_instance).to be_instance_of(OpenapiClient::PokedexApi)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
# unit tests for pokedex_list
|
34
|
+
# @param [Hash] opts the optional parameters
|
35
|
+
# @option opts [Integer] :limit
|
36
|
+
# @option opts [Integer] :offset
|
37
|
+
# @return [String]
|
38
|
+
describe 'pokedex_list test' do
|
39
|
+
it 'should work' do
|
40
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# unit tests for pokedex_read
|
45
|
+
# @param id
|
46
|
+
# @param [Hash] opts the optional parameters
|
47
|
+
# @return [String]
|
48
|
+
describe 'pokedex_read test' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
=begin
|
2
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
|
+
|
4
|
+
The version of the OpenAPI document: 1.0.0
|
5
|
+
|
6
|
+
Generated by: https://openapi-generator.tech
|
7
|
+
OpenAPI Generator version: 5.4.0
|
8
|
+
|
9
|
+
=end
|
10
|
+
|
11
|
+
require 'spec_helper'
|
12
|
+
require 'json'
|
13
|
+
|
14
|
+
# Unit tests for OpenapiClient::PokemonApi
|
15
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
|
+
# Please update as you see appropriate
|
17
|
+
describe 'PokemonApi' do
|
18
|
+
before do
|
19
|
+
# run before each test
|
20
|
+
@api_instance = OpenapiClient::PokemonApi.new
|
21
|
+
end
|
22
|
+
|
23
|
+
after do
|
24
|
+
# run after each test
|
25
|
+
end
|
26
|
+
|
27
|
+
describe 'test an instance of PokemonApi' do
|
28
|
+
it 'should create an instance of PokemonApi' do
|
29
|
+
expect(@api_instance).to be_instance_of(OpenapiClient::PokemonApi)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
# unit tests for pokemon_list
|
34
|
+
# @param [Hash] opts the optional parameters
|
35
|
+
# @option opts [Integer] :limit
|
36
|
+
# @option opts [Integer] :offset
|
37
|
+
# @return [String]
|
38
|
+
describe 'pokemon_list test' do
|
39
|
+
it 'should work' do
|
40
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# unit tests for pokemon_read
|
45
|
+
# @param id
|
46
|
+
# @param [Hash] opts the optional parameters
|
47
|
+
# @return [String]
|
48
|
+
describe 'pokemon_read test' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
=begin
|
2
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
|
+
|
4
|
+
The version of the OpenAPI document: 1.0.0
|
5
|
+
|
6
|
+
Generated by: https://openapi-generator.tech
|
7
|
+
OpenAPI Generator version: 5.4.0
|
8
|
+
|
9
|
+
=end
|
10
|
+
|
11
|
+
require 'spec_helper'
|
12
|
+
require 'json'
|
13
|
+
|
14
|
+
# Unit tests for OpenapiClient::PokemonColorApi
|
15
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
|
+
# Please update as you see appropriate
|
17
|
+
describe 'PokemonColorApi' do
|
18
|
+
before do
|
19
|
+
# run before each test
|
20
|
+
@api_instance = OpenapiClient::PokemonColorApi.new
|
21
|
+
end
|
22
|
+
|
23
|
+
after do
|
24
|
+
# run after each test
|
25
|
+
end
|
26
|
+
|
27
|
+
describe 'test an instance of PokemonColorApi' do
|
28
|
+
it 'should create an instance of PokemonColorApi' do
|
29
|
+
expect(@api_instance).to be_instance_of(OpenapiClient::PokemonColorApi)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
# unit tests for pokemon_color_list
|
34
|
+
# @param [Hash] opts the optional parameters
|
35
|
+
# @option opts [Integer] :limit
|
36
|
+
# @option opts [Integer] :offset
|
37
|
+
# @return [String]
|
38
|
+
describe 'pokemon_color_list test' do
|
39
|
+
it 'should work' do
|
40
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# unit tests for pokemon_color_read
|
45
|
+
# @param id
|
46
|
+
# @param [Hash] opts the optional parameters
|
47
|
+
# @return [String]
|
48
|
+
describe 'pokemon_color_read test' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
=begin
|
2
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
|
+
|
4
|
+
The version of the OpenAPI document: 1.0.0
|
5
|
+
|
6
|
+
Generated by: https://openapi-generator.tech
|
7
|
+
OpenAPI Generator version: 5.4.0
|
8
|
+
|
9
|
+
=end
|
10
|
+
|
11
|
+
require 'spec_helper'
|
12
|
+
require 'json'
|
13
|
+
|
14
|
+
# Unit tests for OpenapiClient::PokemonFormApi
|
15
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
|
+
# Please update as you see appropriate
|
17
|
+
describe 'PokemonFormApi' do
|
18
|
+
before do
|
19
|
+
# run before each test
|
20
|
+
@api_instance = OpenapiClient::PokemonFormApi.new
|
21
|
+
end
|
22
|
+
|
23
|
+
after do
|
24
|
+
# run after each test
|
25
|
+
end
|
26
|
+
|
27
|
+
describe 'test an instance of PokemonFormApi' do
|
28
|
+
it 'should create an instance of PokemonFormApi' do
|
29
|
+
expect(@api_instance).to be_instance_of(OpenapiClient::PokemonFormApi)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
# unit tests for pokemon_form_list
|
34
|
+
# @param [Hash] opts the optional parameters
|
35
|
+
# @option opts [Integer] :limit
|
36
|
+
# @option opts [Integer] :offset
|
37
|
+
# @return [String]
|
38
|
+
describe 'pokemon_form_list test' do
|
39
|
+
it 'should work' do
|
40
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# unit tests for pokemon_form_read
|
45
|
+
# @param id
|
46
|
+
# @param [Hash] opts the optional parameters
|
47
|
+
# @return [String]
|
48
|
+
describe 'pokemon_form_read test' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
end
|