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::PokemonHabitatApi
|
15
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
|
+
# Please update as you see appropriate
|
17
|
+
describe 'PokemonHabitatApi' do
|
18
|
+
before do
|
19
|
+
# run before each test
|
20
|
+
@api_instance = OpenapiClient::PokemonHabitatApi.new
|
21
|
+
end
|
22
|
+
|
23
|
+
after do
|
24
|
+
# run after each test
|
25
|
+
end
|
26
|
+
|
27
|
+
describe 'test an instance of PokemonHabitatApi' do
|
28
|
+
it 'should create an instance of PokemonHabitatApi' do
|
29
|
+
expect(@api_instance).to be_instance_of(OpenapiClient::PokemonHabitatApi)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
# unit tests for pokemon_habitat_list
|
34
|
+
# @param [Hash] opts the optional parameters
|
35
|
+
# @option opts [Integer] :limit
|
36
|
+
# @option opts [Integer] :offset
|
37
|
+
# @return [String]
|
38
|
+
describe 'pokemon_habitat_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_habitat_read
|
45
|
+
# @param id
|
46
|
+
# @param [Hash] opts the optional parameters
|
47
|
+
# @return [String]
|
48
|
+
describe 'pokemon_habitat_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::PokemonShapeApi
|
15
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
|
+
# Please update as you see appropriate
|
17
|
+
describe 'PokemonShapeApi' do
|
18
|
+
before do
|
19
|
+
# run before each test
|
20
|
+
@api_instance = OpenapiClient::PokemonShapeApi.new
|
21
|
+
end
|
22
|
+
|
23
|
+
after do
|
24
|
+
# run after each test
|
25
|
+
end
|
26
|
+
|
27
|
+
describe 'test an instance of PokemonShapeApi' do
|
28
|
+
it 'should create an instance of PokemonShapeApi' do
|
29
|
+
expect(@api_instance).to be_instance_of(OpenapiClient::PokemonShapeApi)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
# unit tests for pokemon_shape_list
|
34
|
+
# @param [Hash] opts the optional parameters
|
35
|
+
# @option opts [Integer] :limit
|
36
|
+
# @option opts [Integer] :offset
|
37
|
+
# @return [String]
|
38
|
+
describe 'pokemon_shape_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_shape_read
|
45
|
+
# @param id
|
46
|
+
# @param [Hash] opts the optional parameters
|
47
|
+
# @return [String]
|
48
|
+
describe 'pokemon_shape_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::PokemonSpeciesApi
|
15
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
|
+
# Please update as you see appropriate
|
17
|
+
describe 'PokemonSpeciesApi' do
|
18
|
+
before do
|
19
|
+
# run before each test
|
20
|
+
@api_instance = OpenapiClient::PokemonSpeciesApi.new
|
21
|
+
end
|
22
|
+
|
23
|
+
after do
|
24
|
+
# run after each test
|
25
|
+
end
|
26
|
+
|
27
|
+
describe 'test an instance of PokemonSpeciesApi' do
|
28
|
+
it 'should create an instance of PokemonSpeciesApi' do
|
29
|
+
expect(@api_instance).to be_instance_of(OpenapiClient::PokemonSpeciesApi)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
# unit tests for pokemon_species_list
|
34
|
+
# @param [Hash] opts the optional parameters
|
35
|
+
# @option opts [Integer] :limit
|
36
|
+
# @option opts [Integer] :offset
|
37
|
+
# @return [String]
|
38
|
+
describe 'pokemon_species_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_species_read
|
45
|
+
# @param id
|
46
|
+
# @param [Hash] opts the optional parameters
|
47
|
+
# @return [String]
|
48
|
+
describe 'pokemon_species_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::RegionApi
|
15
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
|
+
# Please update as you see appropriate
|
17
|
+
describe 'RegionApi' do
|
18
|
+
before do
|
19
|
+
# run before each test
|
20
|
+
@api_instance = OpenapiClient::RegionApi.new
|
21
|
+
end
|
22
|
+
|
23
|
+
after do
|
24
|
+
# run after each test
|
25
|
+
end
|
26
|
+
|
27
|
+
describe 'test an instance of RegionApi' do
|
28
|
+
it 'should create an instance of RegionApi' do
|
29
|
+
expect(@api_instance).to be_instance_of(OpenapiClient::RegionApi)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
# unit tests for region_list
|
34
|
+
# @param [Hash] opts the optional parameters
|
35
|
+
# @option opts [Integer] :limit
|
36
|
+
# @option opts [Integer] :offset
|
37
|
+
# @return [String]
|
38
|
+
describe 'region_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 region_read
|
45
|
+
# @param id
|
46
|
+
# @param [Hash] opts the optional parameters
|
47
|
+
# @return [String]
|
48
|
+
describe 'region_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::StatApi
|
15
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
|
+
# Please update as you see appropriate
|
17
|
+
describe 'StatApi' do
|
18
|
+
before do
|
19
|
+
# run before each test
|
20
|
+
@api_instance = OpenapiClient::StatApi.new
|
21
|
+
end
|
22
|
+
|
23
|
+
after do
|
24
|
+
# run after each test
|
25
|
+
end
|
26
|
+
|
27
|
+
describe 'test an instance of StatApi' do
|
28
|
+
it 'should create an instance of StatApi' do
|
29
|
+
expect(@api_instance).to be_instance_of(OpenapiClient::StatApi)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
# unit tests for stat_list
|
34
|
+
# @param [Hash] opts the optional parameters
|
35
|
+
# @option opts [Integer] :limit
|
36
|
+
# @option opts [Integer] :offset
|
37
|
+
# @return [String]
|
38
|
+
describe '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 stat_read
|
45
|
+
# @param id
|
46
|
+
# @param [Hash] opts the optional parameters
|
47
|
+
# @return [String]
|
48
|
+
describe '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::SuperContestEffectApi
|
15
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
|
+
# Please update as you see appropriate
|
17
|
+
describe 'SuperContestEffectApi' do
|
18
|
+
before do
|
19
|
+
# run before each test
|
20
|
+
@api_instance = OpenapiClient::SuperContestEffectApi.new
|
21
|
+
end
|
22
|
+
|
23
|
+
after do
|
24
|
+
# run after each test
|
25
|
+
end
|
26
|
+
|
27
|
+
describe 'test an instance of SuperContestEffectApi' do
|
28
|
+
it 'should create an instance of SuperContestEffectApi' do
|
29
|
+
expect(@api_instance).to be_instance_of(OpenapiClient::SuperContestEffectApi)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
# unit tests for super_contest_effect_list
|
34
|
+
# @param [Hash] opts the optional parameters
|
35
|
+
# @option opts [Integer] :limit
|
36
|
+
# @option opts [Integer] :offset
|
37
|
+
# @return [String]
|
38
|
+
describe 'super_contest_effect_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 super_contest_effect_read
|
45
|
+
# @param id
|
46
|
+
# @param [Hash] opts the optional parameters
|
47
|
+
# @return [String]
|
48
|
+
describe 'super_contest_effect_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::TypeApi
|
15
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
|
+
# Please update as you see appropriate
|
17
|
+
describe 'TypeApi' do
|
18
|
+
before do
|
19
|
+
# run before each test
|
20
|
+
@api_instance = OpenapiClient::TypeApi.new
|
21
|
+
end
|
22
|
+
|
23
|
+
after do
|
24
|
+
# run after each test
|
25
|
+
end
|
26
|
+
|
27
|
+
describe 'test an instance of TypeApi' do
|
28
|
+
it 'should create an instance of TypeApi' do
|
29
|
+
expect(@api_instance).to be_instance_of(OpenapiClient::TypeApi)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
# unit tests for type_list
|
34
|
+
# @param [Hash] opts the optional parameters
|
35
|
+
# @option opts [Integer] :limit
|
36
|
+
# @option opts [Integer] :offset
|
37
|
+
# @return [String]
|
38
|
+
describe 'type_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 type_read
|
45
|
+
# @param id
|
46
|
+
# @param [Hash] opts the optional parameters
|
47
|
+
# @return [String]
|
48
|
+
describe 'type_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::VersionApi
|
15
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
|
+
# Please update as you see appropriate
|
17
|
+
describe 'VersionApi' do
|
18
|
+
before do
|
19
|
+
# run before each test
|
20
|
+
@api_instance = OpenapiClient::VersionApi.new
|
21
|
+
end
|
22
|
+
|
23
|
+
after do
|
24
|
+
# run after each test
|
25
|
+
end
|
26
|
+
|
27
|
+
describe 'test an instance of VersionApi' do
|
28
|
+
it 'should create an instance of VersionApi' do
|
29
|
+
expect(@api_instance).to be_instance_of(OpenapiClient::VersionApi)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
# unit tests for version_list
|
34
|
+
# @param [Hash] opts the optional parameters
|
35
|
+
# @option opts [Integer] :limit
|
36
|
+
# @option opts [Integer] :offset
|
37
|
+
# @return [String]
|
38
|
+
describe 'version_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 version_read
|
45
|
+
# @param id
|
46
|
+
# @param [Hash] opts the optional parameters
|
47
|
+
# @return [String]
|
48
|
+
describe 'version_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::VersionGroupApi
|
15
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
|
+
# Please update as you see appropriate
|
17
|
+
describe 'VersionGroupApi' do
|
18
|
+
before do
|
19
|
+
# run before each test
|
20
|
+
@api_instance = OpenapiClient::VersionGroupApi.new
|
21
|
+
end
|
22
|
+
|
23
|
+
after do
|
24
|
+
# run after each test
|
25
|
+
end
|
26
|
+
|
27
|
+
describe 'test an instance of VersionGroupApi' do
|
28
|
+
it 'should create an instance of VersionGroupApi' do
|
29
|
+
expect(@api_instance).to be_instance_of(OpenapiClient::VersionGroupApi)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
# unit tests for version_group_list
|
34
|
+
# @param [Hash] opts the optional parameters
|
35
|
+
# @option opts [Integer] :limit
|
36
|
+
# @option opts [Integer] :offset
|
37
|
+
# @return [String]
|
38
|
+
describe 'version_group_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 version_group_read
|
45
|
+
# @param id
|
46
|
+
# @param [Hash] opts the optional parameters
|
47
|
+
# @return [String]
|
48
|
+
describe 'version_group_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
|