pokeapi_client 1.1.0 → 2.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 +93 -24
- data/README.md +418 -110
- data/bin/byebug +1 -12
- data/bin/coderay +1 -12
- data/bin/htmldiff +1 -12
- data/bin/ldiff +1 -12
- data/bin/pry +1 -12
- data/bin/racc +1 -12
- data/bin/rake +1 -12
- data/bin/rspec +1 -12
- data/bin/rubocop +1 -12
- data/bin/ruby-parse +1 -12
- data/bin/ruby-rewrite +1 -12
- data/docs/AbilityChange.md +20 -0
- data/docs/AbilityChangeEffectText.md +20 -0
- data/docs/AbilityDetail.md +34 -0
- data/docs/AbilityDetailPokemonInner.md +22 -0
- data/docs/AbilityDetailPokemonInnerPokemon.md +20 -0
- data/docs/AbilityEffectText.md +22 -0
- data/docs/AbilityFlavorText.md +22 -0
- data/docs/AbilityName.md +20 -0
- data/docs/AbilitySummary.md +20 -0
- data/docs/BerriesApi.md +481 -0
- data/docs/BerryDetail.md +40 -0
- data/docs/BerryDetailFlavorsInner.md +20 -0
- data/docs/BerryDetailFlavorsInnerFlavor.md +20 -0
- data/docs/BerryFirmnessDetail.md +24 -0
- data/docs/BerryFirmnessName.md +20 -0
- data/docs/BerryFirmnessSummary.md +20 -0
- data/docs/BerryFlavorDetail.md +26 -0
- data/docs/BerryFlavorDetailBerriesInner.md +20 -0
- data/docs/BerryFlavorDetailBerriesInnerBerry.md +20 -0
- data/docs/BerryFlavorName.md +20 -0
- data/docs/BerryFlavorSummary.md +20 -0
- data/docs/BerrySummary.md +20 -0
- data/docs/CharacteristicDescription.md +20 -0
- data/docs/CharacteristicDetail.md +26 -0
- data/docs/CharacteristicSummary.md +18 -0
- data/docs/ContestEffectDetail.md +26 -0
- data/docs/ContestEffectEffectText.md +20 -0
- data/docs/ContestEffectFlavorText.md +20 -0
- data/docs/ContestEffectSummary.md +18 -0
- data/docs/ContestTypeDetail.md +24 -0
- data/docs/ContestTypeName.md +22 -0
- data/docs/ContestTypeSummary.md +20 -0
- data/docs/ContestsApi.md +481 -0
- data/docs/EggGroupDetail.md +24 -0
- data/docs/EggGroupDetailPokemonSpeciesInner.md +20 -0
- data/docs/EggGroupName.md +20 -0
- data/docs/EggGroupSummary.md +20 -0
- data/docs/EncounterConditionDetail.md +24 -0
- data/docs/EncounterConditionName.md +20 -0
- data/docs/EncounterConditionSummary.md +20 -0
- data/docs/EncounterConditionValueDetail.md +24 -0
- data/docs/EncounterConditionValueName.md +20 -0
- data/docs/EncounterConditionValueSummary.md +20 -0
- data/docs/EncounterMethodDetail.md +24 -0
- data/docs/EncounterMethodName.md +20 -0
- data/docs/EncounterMethodSummary.md +20 -0
- data/docs/EncountersApi.md +481 -0
- data/docs/EvolutionApi.md +323 -0
- data/docs/EvolutionChainDetail.md +22 -0
- data/docs/EvolutionChainDetailChain.md +24 -0
- data/docs/EvolutionChainDetailChainEvolvesToInner.md +22 -0
- data/docs/EvolutionChainDetailChainEvolvesToInnerEvolutionDetailsInner.md +52 -0
- data/docs/EvolutionChainDetailChainEvolvesToInnerEvolutionDetailsInnerGender.md +20 -0
- data/docs/EvolutionChainSummary.md +18 -0
- data/docs/EvolutionTriggerDetail.md +24 -0
- data/docs/EvolutionTriggerName.md +20 -0
- data/docs/EvolutionTriggerSummary.md +20 -0
- data/docs/Experience.md +20 -0
- data/docs/GamesApi.md +639 -0
- data/docs/GenderDetail.md +24 -0
- data/docs/GenderDetailPokemonSpeciesDetailsInner.md +20 -0
- data/docs/GenderSummary.md +20 -0
- data/docs/GenerationDetail.md +34 -0
- data/docs/GenerationName.md +20 -0
- data/docs/GenerationSummary.md +20 -0
- data/docs/GrowthRateDescription.md +20 -0
- data/docs/GrowthRateDetail.md +28 -0
- data/docs/GrowthRateSummary.md +20 -0
- data/docs/ItemAttributeDescription.md +20 -0
- data/docs/ItemAttributeDetail.md +26 -0
- data/docs/ItemAttributeName.md +20 -0
- data/docs/ItemAttributeSummary.md +20 -0
- data/docs/ItemCategoryDetail.md +26 -0
- data/docs/ItemCategoryName.md +20 -0
- data/docs/ItemCategorySummary.md +20 -0
- data/docs/ItemDetail.md +46 -0
- data/docs/ItemDetailBabyTriggerFor.md +18 -0
- data/docs/ItemDetailHeldByPokemonInner.md +20 -0
- data/docs/ItemDetailHeldByPokemonInnerVersionDetailsInner.md +20 -0
- data/docs/ItemDetailMachinesInner.md +20 -0
- data/docs/ItemDetailSprites.md +18 -0
- data/docs/ItemEffectText.md +22 -0
- data/docs/ItemFlavorText.md +22 -0
- data/docs/ItemFlingEffectDetail.md +24 -0
- data/docs/ItemFlingEffectEffectText.md +20 -0
- data/docs/ItemFlingEffectSummary.md +20 -0
- data/docs/ItemGameIndex.md +20 -0
- data/docs/ItemName.md +20 -0
- data/docs/ItemPocketDetail.md +24 -0
- data/docs/ItemPocketName.md +20 -0
- data/docs/ItemPocketSummary.md +20 -0
- data/docs/ItemSummary.md +20 -0
- data/docs/ItemsApi.md +797 -0
- data/docs/LanguageDetail.md +28 -0
- data/docs/LanguageName.md +20 -0
- data/docs/LanguageSummary.md +20 -0
- data/docs/LocationApi.md +530 -30
- data/docs/LocationAreaDetail.md +30 -0
- data/docs/LocationAreaDetailEncounterMethodRatesInner.md +20 -0
- data/docs/LocationAreaDetailEncounterMethodRatesInnerVersionDetailsInner.md +20 -0
- data/docs/LocationAreaDetailPokemonEncountersInner.md +20 -0
- data/docs/LocationAreaDetailPokemonEncountersInnerVersionDetailsInner.md +22 -0
- data/docs/LocationAreaDetailPokemonEncountersInnerVersionDetailsInnerEncounterDetails.md +26 -0
- data/docs/LocationAreaName.md +20 -0
- data/docs/LocationAreaSummary.md +20 -0
- data/docs/LocationDetail.md +28 -0
- data/docs/LocationGameIndex.md +20 -0
- data/docs/LocationName.md +20 -0
- data/docs/LocationSummary.md +20 -0
- data/docs/MachineDetail.md +24 -0
- data/docs/MachineSummary.md +18 -0
- data/docs/MachinesApi.md +165 -0
- data/docs/MoveBattleStyleDetail.md +22 -0
- data/docs/MoveBattleStyleName.md +20 -0
- data/docs/MoveBattleStyleSummary.md +20 -0
- data/docs/MoveChange.md +30 -0
- data/docs/MoveChangeEffectEntriesInner.md +22 -0
- data/docs/MoveDamageClassDescription.md +20 -0
- data/docs/MoveDamageClassDetail.md +26 -0
- data/docs/MoveDamageClassName.md +20 -0
- data/docs/MoveDamageClassSummary.md +20 -0
- data/docs/MoveDetail.md +64 -0
- data/docs/MoveDetailContestCombos.md +20 -0
- data/docs/MoveDetailContestCombosNormal.md +20 -0
- data/docs/MoveDetailEffectChangesInner.md +20 -0
- data/docs/MoveDetailEffectChangesInnerEffectEntriesInner.md +20 -0
- data/docs/MoveDetailMachinesInner.md +20 -0
- data/docs/MoveDetailMachinesInnerMachine.md +18 -0
- data/docs/MoveDetailStatChangesInner.md +20 -0
- data/docs/MoveFlavorText.md +22 -0
- data/docs/MoveLearnMethodDescription.md +20 -0
- data/docs/MoveLearnMethodDetail.md +26 -0
- data/docs/MoveLearnMethodName.md +20 -0
- data/docs/MoveLearnMethodSummary.md +20 -0
- data/docs/MoveMeta.md +40 -0
- data/docs/MoveMetaAilmentDetail.md +24 -0
- data/docs/MoveMetaAilmentName.md +20 -0
- data/docs/MoveMetaAilmentSummary.md +20 -0
- data/docs/MoveMetaCategoryDescription.md +20 -0
- data/docs/MoveMetaCategoryDetail.md +24 -0
- data/docs/MoveMetaCategorySummary.md +20 -0
- data/docs/MoveName.md +20 -0
- data/docs/MoveSummary.md +20 -0
- data/docs/MoveTargetDescription.md +20 -0
- data/docs/MoveTargetDetail.md +26 -0
- data/docs/MoveTargetName.md +20 -0
- data/docs/MoveTargetSummary.md +20 -0
- data/docs/MovesApi.md +955 -0
- data/docs/NatureBattleStylePreference.md +22 -0
- data/docs/NatureDetail.md +36 -0
- data/docs/NatureDetailPokeathlonStatChangesInner.md +20 -0
- data/docs/NatureName.md +20 -0
- data/docs/NatureSummary.md +20 -0
- data/docs/PaginatedAbilitySummaryList.md +24 -0
- data/docs/PaginatedBerryFirmnessSummaryList.md +24 -0
- data/docs/PaginatedBerryFlavorSummaryList.md +24 -0
- data/docs/PaginatedBerrySummaryList.md +24 -0
- data/docs/PaginatedCharacteristicSummaryList.md +24 -0
- data/docs/PaginatedContestEffectSummaryList.md +24 -0
- data/docs/PaginatedContestTypeSummaryList.md +24 -0
- data/docs/PaginatedEggGroupSummaryList.md +24 -0
- data/docs/PaginatedEncounterConditionSummaryList.md +24 -0
- data/docs/PaginatedEncounterConditionValueSummaryList.md +24 -0
- data/docs/PaginatedEncounterMethodSummaryList.md +24 -0
- data/docs/PaginatedEvolutionChainSummaryList.md +24 -0
- data/docs/PaginatedEvolutionTriggerSummaryList.md +24 -0
- data/docs/PaginatedGenderSummaryList.md +24 -0
- data/docs/PaginatedGenerationSummaryList.md +24 -0
- data/docs/PaginatedGrowthRateSummaryList.md +24 -0
- data/docs/PaginatedItemAttributeSummaryList.md +24 -0
- data/docs/PaginatedItemCategorySummaryList.md +24 -0
- data/docs/PaginatedItemFlingEffectSummaryList.md +24 -0
- data/docs/PaginatedItemPocketSummaryList.md +24 -0
- data/docs/PaginatedItemSummaryList.md +24 -0
- data/docs/PaginatedLanguageSummaryList.md +24 -0
- data/docs/PaginatedLocationAreaSummaryList.md +24 -0
- data/docs/PaginatedLocationSummaryList.md +24 -0
- data/docs/PaginatedMachineSummaryList.md +24 -0
- data/docs/PaginatedMoveBattleStyleSummaryList.md +24 -0
- data/docs/PaginatedMoveDamageClassSummaryList.md +24 -0
- data/docs/PaginatedMoveLearnMethodSummaryList.md +24 -0
- data/docs/PaginatedMoveMetaAilmentSummaryList.md +24 -0
- data/docs/PaginatedMoveMetaCategorySummaryList.md +24 -0
- data/docs/PaginatedMoveSummaryList.md +24 -0
- data/docs/PaginatedMoveTargetSummaryList.md +24 -0
- data/docs/PaginatedNatureSummaryList.md +24 -0
- data/docs/PaginatedPalParkAreaSummaryList.md +24 -0
- data/docs/PaginatedPokeathlonStatSummaryList.md +24 -0
- data/docs/PaginatedPokedexSummaryList.md +24 -0
- data/docs/PaginatedPokemonColorSummaryList.md +24 -0
- data/docs/PaginatedPokemonFormSummaryList.md +24 -0
- data/docs/PaginatedPokemonHabitatSummaryList.md +24 -0
- data/docs/PaginatedPokemonShapeSummaryList.md +24 -0
- data/docs/PaginatedPokemonSpeciesSummaryList.md +24 -0
- data/docs/PaginatedPokemonSummaryList.md +24 -0
- data/docs/PaginatedRegionSummaryList.md +24 -0
- data/docs/PaginatedStatSummaryList.md +24 -0
- data/docs/PaginatedSuperContestEffectSummaryList.md +24 -0
- data/docs/PaginatedTypeSummaryList.md +24 -0
- data/docs/PaginatedVersionGroupSummaryList.md +24 -0
- data/docs/PaginatedVersionSummaryList.md +24 -0
- data/docs/PalParkAreaDetail.md +24 -0
- data/docs/PalParkAreaDetailPokemonEncountersInner.md +22 -0
- data/docs/PalParkAreaName.md +20 -0
- data/docs/PalParkAreaSummary.md +20 -0
- data/docs/PokeathlonStatDetail.md +24 -0
- data/docs/PokeathlonStatDetailAffectingNatures.md +20 -0
- data/docs/PokeathlonStatDetailAffectingNaturesDecreaseInner.md +20 -0
- data/docs/PokeathlonStatDetailAffectingNaturesIncreaseInner.md +20 -0
- data/docs/PokeathlonStatName.md +20 -0
- data/docs/PokeathlonStatSummary.md +20 -0
- data/docs/PokedexDescription.md +20 -0
- data/docs/PokedexDetail.md +32 -0
- data/docs/PokedexDetailPokemonEntriesInner.md +20 -0
- data/docs/PokedexName.md +20 -0
- data/docs/PokedexSummary.md +20 -0
- data/docs/PokemonApi.md +2430 -32
- data/docs/PokemonColorDetail.md +24 -0
- data/docs/PokemonColorName.md +20 -0
- data/docs/PokemonColorSummary.md +20 -0
- data/docs/PokemonDetail.md +56 -0
- data/docs/PokemonDetailAbilitiesInner.md +22 -0
- data/docs/PokemonDetailCries.md +20 -0
- data/docs/PokemonDetailHeldItems.md +20 -0
- data/docs/PokemonDetailMovesInner.md +20 -0
- data/docs/PokemonDetailMovesInnerVersionGroupDetailsInner.md +22 -0
- data/docs/PokemonDetailPastAbilitiesInner.md +20 -0
- data/docs/PokemonDetailPastTypesInner.md +20 -0
- data/docs/PokemonDetailSprites.md +18 -0
- data/docs/PokemonDetailTypesInner.md +20 -0
- data/docs/PokemonDexEntry.md +20 -0
- data/docs/PokemonFormDetail.md +44 -0
- data/docs/PokemonFormDetailFormNamesInner.md +20 -0
- data/docs/PokemonFormDetailSprites.md +18 -0
- data/docs/PokemonFormSummary.md +20 -0
- data/docs/PokemonGameIndex.md +20 -0
- data/docs/PokemonHabitatDetail.md +24 -0
- data/docs/PokemonHabitatName.md +20 -0
- data/docs/PokemonHabitatSummary.md +20 -0
- data/docs/PokemonShapeDetail.md +26 -0
- data/docs/PokemonShapeDetailAwesomeNamesInner.md +20 -0
- data/docs/PokemonShapeDetailNamesInner.md +20 -0
- data/docs/PokemonShapeSummary.md +20 -0
- data/docs/PokemonSpeciesDescription.md +20 -0
- data/docs/PokemonSpeciesDetail.md +70 -0
- data/docs/PokemonSpeciesDetailGeneraInner.md +20 -0
- data/docs/PokemonSpeciesDetailPalParkEncountersInner.md +22 -0
- data/docs/PokemonSpeciesDetailVarietiesInner.md +20 -0
- data/docs/PokemonSpeciesFlavorText.md +22 -0
- data/docs/PokemonSpeciesSummary.md +20 -0
- data/docs/PokemonStat.md +22 -0
- data/docs/PokemonSummary.md +20 -0
- data/docs/RegionDetail.md +30 -0
- data/docs/RegionName.md +20 -0
- data/docs/RegionSummary.md +20 -0
- data/docs/StatDetail.md +34 -0
- data/docs/StatDetailAffectingMoves.md +20 -0
- data/docs/StatDetailAffectingMovesIncreaseInner.md +20 -0
- data/docs/StatDetailAffectingNatures.md +20 -0
- data/docs/StatName.md +20 -0
- data/docs/StatSummary.md +20 -0
- data/docs/SuperContestEffectDetail.md +24 -0
- data/docs/SuperContestEffectFlavorText.md +20 -0
- data/docs/SuperContestEffectSummary.md +18 -0
- data/docs/TypeDetail.md +38 -0
- data/docs/TypeDetailDamageRelations.md +28 -0
- data/docs/TypeDetailPastDamageRelationsInner.md +20 -0
- data/docs/TypeDetailPastDamageRelationsInnerDamageRelations.md +28 -0
- data/docs/TypeDetailPokemonInner.md +20 -0
- data/docs/TypeDetailPokemonInnerPokemon.md +20 -0
- data/docs/TypeDetailSpritesValueValue.md +18 -0
- data/docs/TypeGameIndex.md +20 -0
- data/docs/TypeSummary.md +20 -0
- data/docs/UtilityApi.md +165 -0
- data/docs/VersionDetail.md +24 -0
- data/docs/VersionGroupDetail.md +32 -0
- data/docs/VersionGroupSummary.md +20 -0
- data/docs/VersionName.md +20 -0
- data/docs/VersionSummary.md +20 -0
- data/lib/pokeapi_client/api/berries_api.rb +409 -0
- data/lib/pokeapi_client/api/contests_api.rb +409 -0
- data/lib/pokeapi_client/api/encounters_api.rb +409 -0
- data/lib/pokeapi_client/api/evolution_api.rb +280 -0
- data/lib/pokeapi_client/api/games_api.rb +538 -0
- data/lib/pokeapi_client/api/items_api.rb +667 -0
- data/lib/pokeapi_client/api/location_api.rb +422 -27
- data/lib/pokeapi_client/api/machines_api.rb +151 -0
- data/lib/pokeapi_client/api/moves_api.rb +796 -0
- data/lib/pokeapi_client/api/pokemon_api.rb +1975 -33
- data/lib/pokeapi_client/api/utility_api.rb +151 -0
- data/lib/pokeapi_client/api_client.rb +18 -14
- data/lib/pokeapi_client/api_error.rb +4 -4
- data/lib/pokeapi_client/api_model_base.rb +88 -0
- data/lib/pokeapi_client/configuration.rb +28 -4
- data/lib/pokeapi_client/models/ability_change.rb +192 -0
- data/lib/pokeapi_client/models/ability_change_effect_text.rb +199 -0
- data/lib/pokeapi_client/models/ability_detail.rb +374 -0
- data/lib/pokeapi_client/models/ability_detail_pokemon_inner.rb +216 -0
- data/lib/pokeapi_client/models/ability_detail_pokemon_inner_pokemon.rb +190 -0
- data/lib/pokeapi_client/models/ability_effect_text.rb +234 -0
- data/lib/pokeapi_client/models/ability_flavor_text.rb +216 -0
- data/lib/pokeapi_client/models/ability_name.rb +199 -0
- data/lib/pokeapi_client/models/ability_summary.rb +199 -0
- data/lib/pokeapi_client/models/berry_detail.rb +461 -0
- data/lib/pokeapi_client/models/berry_detail_flavors_inner.rb +190 -0
- data/lib/pokeapi_client/models/berry_detail_flavors_inner_flavor.rb +158 -0
- data/lib/pokeapi_client/models/berry_firmness_detail.rb +255 -0
- data/lib/pokeapi_client/models/berry_firmness_name.rb +199 -0
- data/lib/pokeapi_client/models/berry_firmness_summary.rb +199 -0
- data/lib/pokeapi_client/models/berry_flavor_detail.rb +281 -0
- data/lib/pokeapi_client/models/berry_flavor_detail_berries_inner.rb +190 -0
- data/lib/pokeapi_client/models/berry_flavor_detail_berries_inner_berry.rb +158 -0
- data/lib/pokeapi_client/models/berry_flavor_name.rb +199 -0
- data/lib/pokeapi_client/models/berry_flavor_summary.rb +199 -0
- data/lib/pokeapi_client/models/berry_summary.rb +199 -0
- data/lib/pokeapi_client/models/characteristic_description.rb +192 -0
- data/lib/pokeapi_client/models/characteristic_detail.rb +272 -0
- data/lib/pokeapi_client/models/characteristic_summary.rb +164 -0
- data/lib/pokeapi_client/models/contest_effect_detail.rb +272 -0
- data/lib/pokeapi_client/models/contest_effect_effect_text.rb +199 -0
- data/lib/pokeapi_client/models/contest_effect_flavor_text.rb +199 -0
- data/lib/pokeapi_client/models/contest_effect_summary.rb +164 -0
- data/lib/pokeapi_client/models/contest_type_detail.rb +253 -0
- data/lib/pokeapi_client/models/contest_type_name.rb +234 -0
- data/lib/pokeapi_client/models/contest_type_summary.rb +199 -0
- data/lib/pokeapi_client/models/egg_group_detail.rb +255 -0
- data/lib/pokeapi_client/models/egg_group_detail_pokemon_species_inner.rb +158 -0
- data/lib/pokeapi_client/models/egg_group_name.rb +199 -0
- data/lib/pokeapi_client/models/egg_group_summary.rb +199 -0
- data/lib/pokeapi_client/models/encounter_condition_detail.rb +255 -0
- data/lib/pokeapi_client/models/encounter_condition_name.rb +199 -0
- data/lib/pokeapi_client/models/encounter_condition_summary.rb +199 -0
- data/lib/pokeapi_client/models/encounter_condition_value_detail.rb +253 -0
- data/lib/pokeapi_client/models/encounter_condition_value_name.rb +199 -0
- data/lib/pokeapi_client/models/encounter_condition_value_summary.rb +199 -0
- data/lib/pokeapi_client/models/encounter_method_detail.rb +237 -0
- data/lib/pokeapi_client/models/encounter_method_name.rb +199 -0
- data/lib/pokeapi_client/models/encounter_method_summary.rb +199 -0
- data/lib/pokeapi_client/models/evolution_chain_detail.rb +216 -0
- data/lib/pokeapi_client/models/evolution_chain_detail_chain.rb +246 -0
- data/lib/pokeapi_client/models/evolution_chain_detail_chain_evolves_to_inner.rb +218 -0
- data/lib/pokeapi_client/models/evolution_chain_detail_chain_evolves_to_inner_evolution_details_inner.rb +606 -0
- data/lib/pokeapi_client/models/evolution_chain_detail_chain_evolves_to_inner_evolution_details_inner_gender.rb +190 -0
- data/lib/pokeapi_client/models/evolution_chain_summary.rb +164 -0
- data/lib/pokeapi_client/models/evolution_trigger_detail.rb +255 -0
- data/lib/pokeapi_client/models/evolution_trigger_name.rb +199 -0
- data/lib/pokeapi_client/models/evolution_trigger_summary.rb +199 -0
- data/lib/pokeapi_client/models/experience.rb +190 -0
- data/lib/pokeapi_client/models/gender_detail.rb +255 -0
- data/lib/pokeapi_client/models/gender_detail_pokemon_species_details_inner.rb +190 -0
- data/lib/pokeapi_client/models/gender_summary.rb +199 -0
- data/lib/pokeapi_client/models/generation_detail.rb +393 -0
- data/lib/pokeapi_client/models/generation_name.rb +199 -0
- data/lib/pokeapi_client/models/generation_summary.rb +199 -0
- data/lib/pokeapi_client/models/growth_rate_description.rb +192 -0
- data/lib/pokeapi_client/models/growth_rate_detail.rb +318 -0
- data/lib/pokeapi_client/models/growth_rate_summary.rb +199 -0
- data/lib/pokeapi_client/models/item_attribute_description.rb +192 -0
- data/lib/pokeapi_client/models/item_attribute_detail.rb +283 -0
- data/lib/pokeapi_client/models/item_attribute_name.rb +199 -0
- data/lib/pokeapi_client/models/item_attribute_summary.rb +199 -0
- data/lib/pokeapi_client/models/item_category_detail.rb +281 -0
- data/lib/pokeapi_client/models/item_category_name.rb +199 -0
- data/lib/pokeapi_client/models/item_category_summary.rb +199 -0
- data/lib/pokeapi_client/models/item_detail.rb +519 -0
- data/lib/pokeapi_client/models/item_detail_baby_trigger_for.rb +164 -0
- data/lib/pokeapi_client/models/item_detail_held_by_pokemon_inner.rb +192 -0
- data/lib/pokeapi_client/models/item_detail_held_by_pokemon_inner_version_details_inner.rb +190 -0
- data/lib/pokeapi_client/models/item_detail_machines_inner.rb +190 -0
- data/lib/pokeapi_client/models/item_detail_sprites.rb +164 -0
- data/lib/pokeapi_client/models/item_effect_text.rb +234 -0
- data/lib/pokeapi_client/models/item_flavor_text.rb +216 -0
- data/lib/pokeapi_client/models/item_fling_effect_detail.rb +255 -0
- data/lib/pokeapi_client/models/item_fling_effect_effect_text.rb +199 -0
- data/lib/pokeapi_client/models/item_fling_effect_summary.rb +199 -0
- data/lib/pokeapi_client/models/item_game_index.rb +190 -0
- data/lib/pokeapi_client/models/item_name.rb +199 -0
- data/lib/pokeapi_client/models/item_pocket_detail.rb +255 -0
- data/lib/pokeapi_client/models/item_pocket_name.rb +199 -0
- data/lib/pokeapi_client/models/item_pocket_summary.rb +199 -0
- data/lib/pokeapi_client/models/item_summary.rb +199 -0
- data/lib/pokeapi_client/models/language_detail.rb +306 -0
- data/lib/pokeapi_client/models/language_name.rb +199 -0
- data/lib/pokeapi_client/models/language_summary.rb +199 -0
- data/lib/pokeapi_client/models/location_area_detail.rb +335 -0
- data/lib/pokeapi_client/models/location_area_detail_encounter_method_rates_inner.rb +192 -0
- data/lib/pokeapi_client/models/location_area_detail_encounter_method_rates_inner_version_details_inner.rb +190 -0
- data/lib/pokeapi_client/models/location_area_detail_pokemon_encounters_inner.rb +192 -0
- data/lib/pokeapi_client/models/location_area_detail_pokemon_encounters_inner_version_details_inner.rb +216 -0
- data/lib/pokeapi_client/models/location_area_detail_pokemon_encounters_inner_version_details_inner_encounter_details.rb +251 -0
- data/lib/pokeapi_client/models/location_area_name.rb +199 -0
- data/lib/pokeapi_client/models/location_area_summary.rb +199 -0
- data/lib/pokeapi_client/models/location_detail.rb +309 -0
- data/lib/pokeapi_client/models/location_game_index.rb +190 -0
- data/lib/pokeapi_client/models/location_name.rb +199 -0
- data/lib/pokeapi_client/models/location_summary.rb +199 -0
- data/lib/pokeapi_client/models/machine_detail.rb +242 -0
- data/lib/pokeapi_client/models/machine_summary.rb +164 -0
- data/lib/pokeapi_client/models/move_battle_style_detail.rb +227 -0
- data/lib/pokeapi_client/models/move_battle_style_name.rb +199 -0
- data/lib/pokeapi_client/models/move_battle_style_summary.rb +199 -0
- data/lib/pokeapi_client/models/move_change.rb +274 -0
- data/lib/pokeapi_client/models/move_change_effect_entries_inner.rb +216 -0
- data/lib/pokeapi_client/models/move_damage_class_description.rb +192 -0
- data/lib/pokeapi_client/models/move_damage_class_detail.rb +283 -0
- data/lib/pokeapi_client/models/move_damage_class_name.rb +199 -0
- data/lib/pokeapi_client/models/move_damage_class_summary.rb +199 -0
- data/lib/pokeapi_client/models/move_detail.rb +723 -0
- data/lib/pokeapi_client/models/move_detail_contest_combos.rb +190 -0
- data/lib/pokeapi_client/models/move_detail_contest_combos_normal.rb +194 -0
- data/lib/pokeapi_client/models/move_detail_effect_changes_inner.rb +192 -0
- data/lib/pokeapi_client/models/move_detail_effect_changes_inner_effect_entries_inner.rb +190 -0
- data/lib/pokeapi_client/models/move_detail_machines_inner.rb +190 -0
- data/lib/pokeapi_client/models/move_detail_machines_inner_machine.rb +164 -0
- data/lib/pokeapi_client/models/move_detail_stat_changes_inner.rb +190 -0
- data/lib/pokeapi_client/models/move_flavor_text.rb +216 -0
- data/lib/pokeapi_client/models/move_learn_method_description.rb +192 -0
- data/lib/pokeapi_client/models/move_learn_method_detail.rb +283 -0
- data/lib/pokeapi_client/models/move_learn_method_name.rb +199 -0
- data/lib/pokeapi_client/models/move_learn_method_summary.rb +199 -0
- data/lib/pokeapi_client/models/move_meta.rb +290 -0
- data/lib/pokeapi_client/models/move_meta_ailment_detail.rb +255 -0
- data/lib/pokeapi_client/models/move_meta_ailment_name.rb +199 -0
- data/lib/pokeapi_client/models/move_meta_ailment_summary.rb +199 -0
- data/lib/pokeapi_client/models/move_meta_category_description.rb +192 -0
- data/lib/pokeapi_client/models/move_meta_category_detail.rb +255 -0
- data/lib/pokeapi_client/models/move_meta_category_summary.rb +199 -0
- data/lib/pokeapi_client/models/move_name.rb +199 -0
- data/lib/pokeapi_client/models/move_summary.rb +199 -0
- data/lib/pokeapi_client/models/move_target_description.rb +192 -0
- data/lib/pokeapi_client/models/move_target_detail.rb +283 -0
- data/lib/pokeapi_client/models/move_target_name.rb +199 -0
- data/lib/pokeapi_client/models/move_target_summary.rb +199 -0
- data/lib/pokeapi_client/models/nature_battle_style_preference.rb +216 -0
- data/lib/pokeapi_client/models/nature_detail.rb +415 -0
- data/lib/pokeapi_client/models/nature_detail_pokeathlon_stat_changes_inner.rb +190 -0
- data/lib/pokeapi_client/models/nature_name.rb +199 -0
- data/lib/pokeapi_client/models/nature_summary.rb +199 -0
- data/lib/pokeapi_client/models/paginated_ability_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_berry_firmness_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_berry_flavor_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_berry_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_characteristic_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_contest_effect_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_contest_type_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_egg_group_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_encounter_condition_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_encounter_condition_value_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_encounter_method_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_evolution_chain_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_evolution_trigger_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_gender_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_generation_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_growth_rate_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_item_attribute_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_item_category_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_item_fling_effect_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_item_pocket_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_item_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_language_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_location_area_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_location_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_machine_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_move_battle_style_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_move_damage_class_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_move_learn_method_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_move_meta_ailment_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_move_meta_category_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_move_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_move_target_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_nature_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_pal_park_area_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_pokeathlon_stat_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_pokedex_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_pokemon_color_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_pokemon_form_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_pokemon_habitat_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_pokemon_shape_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_pokemon_species_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_pokemon_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_region_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_stat_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_super_contest_effect_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_type_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_version_group_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/paginated_version_summary_list.rb +176 -0
- data/lib/pokeapi_client/models/pal_park_area_detail.rb +255 -0
- data/lib/pokeapi_client/models/pal_park_area_detail_pokemon_encounters_inner.rb +216 -0
- data/lib/pokeapi_client/models/pal_park_area_name.rb +199 -0
- data/lib/pokeapi_client/models/pal_park_area_summary.rb +199 -0
- data/lib/pokeapi_client/models/pokeathlon_stat_detail.rb +253 -0
- data/lib/pokeapi_client/models/pokeathlon_stat_detail_affecting_natures.rb +194 -0
- data/lib/pokeapi_client/models/pokeathlon_stat_detail_affecting_natures_decrease_inner.rb +199 -0
- data/lib/pokeapi_client/models/pokeathlon_stat_detail_affecting_natures_increase_inner.rb +199 -0
- data/lib/pokeapi_client/models/pokeathlon_stat_name.rb +199 -0
- data/lib/pokeapi_client/models/pokeathlon_stat_summary.rb +199 -0
- data/lib/pokeapi_client/models/pokedex_description.rb +192 -0
- data/lib/pokeapi_client/models/pokedex_detail.rb +346 -0
- data/lib/pokeapi_client/models/pokedex_detail_pokemon_entries_inner.rb +190 -0
- data/lib/pokeapi_client/models/pokedex_name.rb +199 -0
- data/lib/pokeapi_client/models/pokedex_summary.rb +199 -0
- data/lib/pokeapi_client/models/pokemon_color_detail.rb +255 -0
- data/lib/pokeapi_client/models/pokemon_color_name.rb +199 -0
- data/lib/pokeapi_client/models/pokemon_color_summary.rb +199 -0
- data/lib/pokeapi_client/models/pokemon_detail.rb +602 -0
- data/lib/pokeapi_client/models/pokemon_detail_abilities_inner.rb +216 -0
- data/lib/pokeapi_client/models/pokemon_detail_cries.rb +190 -0
- data/lib/pokeapi_client/models/pokemon_detail_held_items.rb +192 -0
- data/lib/pokeapi_client/models/pokemon_detail_moves_inner.rb +192 -0
- data/lib/pokeapi_client/models/pokemon_detail_moves_inner_version_group_details_inner.rb +216 -0
- data/lib/pokeapi_client/models/pokemon_detail_past_abilities_inner.rb +192 -0
- data/lib/pokeapi_client/models/pokemon_detail_past_types_inner.rb +192 -0
- data/lib/pokeapi_client/models/pokemon_detail_sprites.rb +147 -0
- data/lib/pokeapi_client/models/pokemon_detail_types_inner.rb +190 -0
- data/lib/pokeapi_client/models/pokemon_dex_entry.rb +190 -0
- data/lib/pokeapi_client/models/pokemon_form_detail.rb +443 -0
- data/lib/pokeapi_client/models/pokemon_form_detail_form_names_inner.rb +190 -0
- data/lib/pokeapi_client/models/pokemon_form_detail_sprites.rb +147 -0
- data/lib/pokeapi_client/models/pokemon_form_summary.rb +199 -0
- data/lib/pokeapi_client/models/pokemon_game_index.rb +190 -0
- data/lib/pokeapi_client/models/pokemon_habitat_detail.rb +255 -0
- data/lib/pokeapi_client/models/pokemon_habitat_name.rb +199 -0
- data/lib/pokeapi_client/models/pokemon_habitat_summary.rb +199 -0
- data/lib/pokeapi_client/models/pokemon_shape_detail.rb +283 -0
- data/lib/pokeapi_client/models/pokemon_shape_detail_awesome_names_inner.rb +190 -0
- data/lib/pokeapi_client/models/pokemon_shape_detail_names_inner.rb +190 -0
- data/lib/pokeapi_client/models/pokemon_shape_summary.rb +199 -0
- data/lib/pokeapi_client/models/pokemon_species_description.rb +192 -0
- data/lib/pokeapi_client/models/pokemon_species_detail.rb +700 -0
- data/lib/pokeapi_client/models/pokemon_species_detail_genera_inner.rb +190 -0
- data/lib/pokeapi_client/models/pokemon_species_detail_pal_park_encounters_inner.rb +216 -0
- data/lib/pokeapi_client/models/pokemon_species_detail_varieties_inner.rb +190 -0
- data/lib/pokeapi_client/models/pokemon_species_flavor_text.rb +216 -0
- data/lib/pokeapi_client/models/pokemon_species_summary.rb +199 -0
- data/lib/pokeapi_client/models/pokemon_stat.rb +216 -0
- data/lib/pokeapi_client/models/pokemon_summary.rb +199 -0
- data/lib/pokeapi_client/models/region_detail.rb +337 -0
- data/lib/pokeapi_client/models/region_name.rb +199 -0
- data/lib/pokeapi_client/models/region_summary.rb +199 -0
- data/lib/pokeapi_client/models/stat_detail.rb +368 -0
- data/lib/pokeapi_client/models/stat_detail_affecting_moves.rb +194 -0
- data/lib/pokeapi_client/models/stat_detail_affecting_moves_increase_inner.rb +190 -0
- data/lib/pokeapi_client/models/stat_detail_affecting_natures.rb +194 -0
- data/lib/pokeapi_client/models/stat_name.rb +199 -0
- data/lib/pokeapi_client/models/stat_summary.rb +199 -0
- data/lib/pokeapi_client/models/super_contest_effect_detail.rb +246 -0
- data/lib/pokeapi_client/models/super_contest_effect_flavor_text.rb +199 -0
- data/lib/pokeapi_client/models/super_contest_effect_summary.rb +164 -0
- data/lib/pokeapi_client/models/type_detail.rb +446 -0
- data/lib/pokeapi_client/models/type_detail_damage_relations.rb +306 -0
- data/lib/pokeapi_client/models/type_detail_past_damage_relations_inner.rb +190 -0
- data/lib/pokeapi_client/models/type_detail_past_damage_relations_inner_damage_relations.rb +306 -0
- data/lib/pokeapi_client/models/type_detail_pokemon_inner.rb +156 -0
- data/lib/pokeapi_client/models/type_detail_pokemon_inner_pokemon.rb +158 -0
- data/lib/pokeapi_client/models/type_detail_sprites_value_value.rb +147 -0
- data/lib/pokeapi_client/models/type_game_index.rb +190 -0
- data/lib/pokeapi_client/models/type_summary.rb +199 -0
- data/lib/pokeapi_client/models/version_detail.rb +254 -0
- data/lib/pokeapi_client/models/version_group_detail.rb +347 -0
- data/lib/pokeapi_client/models/version_group_summary.rb +199 -0
- data/lib/pokeapi_client/models/version_name.rb +199 -0
- data/lib/pokeapi_client/models/version_summary.rb +199 -0
- data/lib/pokeapi_client/version.rb +5 -5
- data/lib/pokeapi_client.rb +282 -50
- data/pokeapi_client.gemspec +6 -6
- data/spec/api/berries_api_spec.rb +113 -0
- data/spec/api/contests_api_spec.rb +113 -0
- data/spec/api/encounters_api_spec.rb +113 -0
- data/spec/api/evolution_api_spec.rb +87 -0
- data/spec/api/games_api_spec.rb +139 -0
- data/spec/api/items_api_spec.rb +165 -0
- data/spec/api/location_api_spec.rb +93 -11
- data/spec/api/machines_api_spec.rb +61 -0
- data/spec/api/moves_api_spec.rb +191 -0
- data/spec/api/pokemon_api_spec.rb +404 -11
- data/spec/api/utility_api_spec.rb +61 -0
- data/spec/models/ability_change_effect_text_spec.rb +42 -0
- data/spec/models/ability_change_spec.rb +42 -0
- data/spec/models/ability_detail_pokemon_inner_pokemon_spec.rb +42 -0
- data/spec/models/ability_detail_pokemon_inner_spec.rb +48 -0
- data/spec/models/ability_detail_spec.rb +84 -0
- data/spec/models/ability_effect_text_spec.rb +48 -0
- data/spec/models/ability_flavor_text_spec.rb +48 -0
- data/spec/models/ability_name_spec.rb +42 -0
- data/spec/models/ability_summary_spec.rb +42 -0
- data/spec/models/berry_detail_flavors_inner_flavor_spec.rb +42 -0
- data/spec/models/berry_detail_flavors_inner_spec.rb +42 -0
- data/spec/models/berry_detail_spec.rb +102 -0
- data/spec/models/berry_firmness_detail_spec.rb +54 -0
- data/spec/models/berry_firmness_name_spec.rb +42 -0
- data/spec/models/berry_firmness_summary_spec.rb +42 -0
- data/spec/models/berry_flavor_detail_berries_inner_berry_spec.rb +42 -0
- data/spec/models/berry_flavor_detail_berries_inner_spec.rb +42 -0
- data/spec/models/berry_flavor_detail_spec.rb +60 -0
- data/spec/models/berry_flavor_name_spec.rb +42 -0
- data/spec/models/berry_flavor_summary_spec.rb +42 -0
- data/spec/models/berry_summary_spec.rb +42 -0
- data/spec/models/characteristic_description_spec.rb +42 -0
- data/spec/models/characteristic_detail_spec.rb +60 -0
- data/spec/models/characteristic_summary_spec.rb +36 -0
- data/spec/models/contest_effect_detail_spec.rb +60 -0
- data/spec/models/contest_effect_effect_text_spec.rb +42 -0
- data/spec/models/contest_effect_flavor_text_spec.rb +42 -0
- data/spec/models/contest_effect_summary_spec.rb +36 -0
- data/spec/models/contest_type_detail_spec.rb +54 -0
- data/spec/models/contest_type_name_spec.rb +48 -0
- data/spec/models/contest_type_summary_spec.rb +42 -0
- data/spec/models/egg_group_detail_pokemon_species_inner_spec.rb +42 -0
- data/spec/models/egg_group_detail_spec.rb +54 -0
- data/spec/models/egg_group_name_spec.rb +42 -0
- data/spec/models/egg_group_summary_spec.rb +42 -0
- data/spec/models/encounter_condition_detail_spec.rb +54 -0
- data/spec/models/encounter_condition_name_spec.rb +42 -0
- data/spec/models/encounter_condition_summary_spec.rb +42 -0
- data/spec/models/encounter_condition_value_detail_spec.rb +54 -0
- data/spec/models/encounter_condition_value_name_spec.rb +42 -0
- data/spec/models/encounter_condition_value_summary_spec.rb +42 -0
- data/spec/models/encounter_method_detail_spec.rb +54 -0
- data/spec/models/encounter_method_name_spec.rb +42 -0
- data/spec/models/encounter_method_summary_spec.rb +42 -0
- data/spec/models/evolution_chain_detail_chain_evolves_to_inner_evolution_details_inner_gender_spec.rb +42 -0
- data/spec/models/evolution_chain_detail_chain_evolves_to_inner_evolution_details_inner_spec.rb +138 -0
- data/spec/models/evolution_chain_detail_chain_evolves_to_inner_spec.rb +48 -0
- data/spec/models/evolution_chain_detail_chain_spec.rb +54 -0
- data/spec/models/evolution_chain_detail_spec.rb +48 -0
- data/spec/models/evolution_chain_summary_spec.rb +36 -0
- data/spec/models/evolution_trigger_detail_spec.rb +54 -0
- data/spec/models/evolution_trigger_name_spec.rb +42 -0
- data/spec/models/evolution_trigger_summary_spec.rb +42 -0
- data/spec/models/experience_spec.rb +42 -0
- data/spec/models/gender_detail_pokemon_species_details_inner_spec.rb +42 -0
- data/spec/models/gender_detail_spec.rb +54 -0
- data/spec/models/gender_summary_spec.rb +42 -0
- data/spec/models/generation_detail_spec.rb +84 -0
- data/spec/models/generation_name_spec.rb +42 -0
- data/spec/models/generation_summary_spec.rb +42 -0
- data/spec/models/growth_rate_description_spec.rb +42 -0
- data/spec/models/growth_rate_detail_spec.rb +66 -0
- data/spec/models/growth_rate_summary_spec.rb +42 -0
- data/spec/models/item_attribute_description_spec.rb +42 -0
- data/spec/models/item_attribute_detail_spec.rb +60 -0
- data/spec/models/item_attribute_name_spec.rb +42 -0
- data/spec/models/item_attribute_summary_spec.rb +42 -0
- data/spec/models/item_category_detail_spec.rb +60 -0
- data/spec/models/item_category_name_spec.rb +42 -0
- data/spec/models/item_category_summary_spec.rb +42 -0
- data/spec/models/item_detail_baby_trigger_for_spec.rb +36 -0
- data/spec/models/item_detail_held_by_pokemon_inner_spec.rb +42 -0
- data/spec/models/item_detail_held_by_pokemon_inner_version_details_inner_spec.rb +42 -0
- data/spec/models/item_detail_machines_inner_spec.rb +42 -0
- data/spec/models/item_detail_spec.rb +120 -0
- data/spec/models/item_detail_sprites_spec.rb +36 -0
- data/spec/models/item_effect_text_spec.rb +48 -0
- data/spec/models/item_flavor_text_spec.rb +48 -0
- data/spec/models/item_fling_effect_detail_spec.rb +54 -0
- data/spec/models/item_fling_effect_effect_text_spec.rb +42 -0
- data/spec/models/item_fling_effect_summary_spec.rb +42 -0
- data/spec/models/item_game_index_spec.rb +42 -0
- data/spec/models/item_name_spec.rb +42 -0
- data/spec/models/item_pocket_detail_spec.rb +54 -0
- data/spec/models/item_pocket_name_spec.rb +42 -0
- data/spec/models/item_pocket_summary_spec.rb +42 -0
- data/spec/models/item_summary_spec.rb +42 -0
- data/spec/models/language_detail_spec.rb +66 -0
- data/spec/models/language_name_spec.rb +42 -0
- data/spec/models/language_summary_spec.rb +42 -0
- data/spec/models/location_area_detail_encounter_method_rates_inner_spec.rb +42 -0
- data/spec/models/location_area_detail_encounter_method_rates_inner_version_details_inner_spec.rb +42 -0
- data/spec/models/location_area_detail_pokemon_encounters_inner_spec.rb +42 -0
- data/spec/models/location_area_detail_pokemon_encounters_inner_version_details_inner_encounter_details_spec.rb +60 -0
- data/spec/models/location_area_detail_pokemon_encounters_inner_version_details_inner_spec.rb +48 -0
- data/spec/models/location_area_detail_spec.rb +72 -0
- data/spec/models/location_area_name_spec.rb +42 -0
- data/spec/models/location_area_summary_spec.rb +42 -0
- data/spec/models/location_detail_spec.rb +66 -0
- data/spec/models/location_game_index_spec.rb +42 -0
- data/spec/models/location_name_spec.rb +42 -0
- data/spec/models/location_summary_spec.rb +42 -0
- data/spec/models/machine_detail_spec.rb +54 -0
- data/spec/models/machine_summary_spec.rb +36 -0
- data/spec/models/move_battle_style_detail_spec.rb +48 -0
- data/spec/models/move_battle_style_name_spec.rb +42 -0
- data/spec/models/move_battle_style_summary_spec.rb +42 -0
- data/spec/models/move_change_effect_entries_inner_spec.rb +48 -0
- data/spec/models/move_change_spec.rb +72 -0
- data/spec/models/move_damage_class_description_spec.rb +42 -0
- data/spec/models/move_damage_class_detail_spec.rb +60 -0
- data/spec/models/move_damage_class_name_spec.rb +42 -0
- data/spec/models/move_damage_class_summary_spec.rb +42 -0
- data/spec/models/move_detail_contest_combos_normal_spec.rb +42 -0
- data/spec/models/move_detail_contest_combos_spec.rb +42 -0
- data/spec/models/move_detail_effect_changes_inner_effect_entries_inner_spec.rb +42 -0
- data/spec/models/move_detail_effect_changes_inner_spec.rb +42 -0
- data/spec/models/move_detail_machines_inner_machine_spec.rb +36 -0
- data/spec/models/move_detail_machines_inner_spec.rb +42 -0
- data/spec/models/move_detail_spec.rb +174 -0
- data/spec/models/move_detail_stat_changes_inner_spec.rb +42 -0
- data/spec/models/move_flavor_text_spec.rb +48 -0
- data/spec/models/move_learn_method_description_spec.rb +42 -0
- data/spec/models/move_learn_method_detail_spec.rb +60 -0
- data/spec/models/move_learn_method_name_spec.rb +42 -0
- data/spec/models/move_learn_method_summary_spec.rb +42 -0
- data/spec/models/move_meta_ailment_detail_spec.rb +54 -0
- data/spec/models/move_meta_ailment_name_spec.rb +42 -0
- data/spec/models/move_meta_ailment_summary_spec.rb +42 -0
- data/spec/models/move_meta_category_description_spec.rb +42 -0
- data/spec/models/move_meta_category_detail_spec.rb +54 -0
- data/spec/models/move_meta_category_summary_spec.rb +42 -0
- data/spec/models/move_meta_spec.rb +102 -0
- data/spec/models/move_name_spec.rb +42 -0
- data/spec/models/move_summary_spec.rb +42 -0
- data/spec/models/move_target_description_spec.rb +42 -0
- data/spec/models/move_target_detail_spec.rb +60 -0
- data/spec/models/move_target_name_spec.rb +42 -0
- data/spec/models/move_target_summary_spec.rb +42 -0
- data/spec/models/nature_battle_style_preference_spec.rb +48 -0
- data/spec/models/nature_detail_pokeathlon_stat_changes_inner_spec.rb +42 -0
- data/spec/models/nature_detail_spec.rb +90 -0
- data/spec/models/nature_name_spec.rb +42 -0
- data/spec/models/nature_summary_spec.rb +42 -0
- data/spec/models/paginated_ability_summary_list_spec.rb +54 -0
- data/spec/models/paginated_berry_firmness_summary_list_spec.rb +54 -0
- data/spec/models/paginated_berry_flavor_summary_list_spec.rb +54 -0
- data/spec/models/paginated_berry_summary_list_spec.rb +54 -0
- data/spec/models/paginated_characteristic_summary_list_spec.rb +54 -0
- data/spec/models/paginated_contest_effect_summary_list_spec.rb +54 -0
- data/spec/models/paginated_contest_type_summary_list_spec.rb +54 -0
- data/spec/models/paginated_egg_group_summary_list_spec.rb +54 -0
- data/spec/models/paginated_encounter_condition_summary_list_spec.rb +54 -0
- data/spec/models/paginated_encounter_condition_value_summary_list_spec.rb +54 -0
- data/spec/models/paginated_encounter_method_summary_list_spec.rb +54 -0
- data/spec/models/paginated_evolution_chain_summary_list_spec.rb +54 -0
- data/spec/models/paginated_evolution_trigger_summary_list_spec.rb +54 -0
- data/spec/models/paginated_gender_summary_list_spec.rb +54 -0
- data/spec/models/paginated_generation_summary_list_spec.rb +54 -0
- data/spec/models/paginated_growth_rate_summary_list_spec.rb +54 -0
- data/spec/models/paginated_item_attribute_summary_list_spec.rb +54 -0
- data/spec/models/paginated_item_category_summary_list_spec.rb +54 -0
- data/spec/models/paginated_item_fling_effect_summary_list_spec.rb +54 -0
- data/spec/models/paginated_item_pocket_summary_list_spec.rb +54 -0
- data/spec/models/paginated_item_summary_list_spec.rb +54 -0
- data/spec/models/paginated_language_summary_list_spec.rb +54 -0
- data/spec/models/paginated_location_area_summary_list_spec.rb +54 -0
- data/spec/models/paginated_location_summary_list_spec.rb +54 -0
- data/spec/models/paginated_machine_summary_list_spec.rb +54 -0
- data/spec/models/paginated_move_battle_style_summary_list_spec.rb +54 -0
- data/spec/models/paginated_move_damage_class_summary_list_spec.rb +54 -0
- data/spec/models/paginated_move_learn_method_summary_list_spec.rb +54 -0
- data/spec/models/paginated_move_meta_ailment_summary_list_spec.rb +54 -0
- data/spec/models/paginated_move_meta_category_summary_list_spec.rb +54 -0
- data/spec/models/paginated_move_summary_list_spec.rb +54 -0
- data/spec/models/paginated_move_target_summary_list_spec.rb +54 -0
- data/spec/models/paginated_nature_summary_list_spec.rb +54 -0
- data/spec/models/paginated_pal_park_area_summary_list_spec.rb +54 -0
- data/spec/models/paginated_pokeathlon_stat_summary_list_spec.rb +54 -0
- data/spec/models/paginated_pokedex_summary_list_spec.rb +54 -0
- data/spec/models/paginated_pokemon_color_summary_list_spec.rb +54 -0
- data/spec/models/paginated_pokemon_form_summary_list_spec.rb +54 -0
- data/spec/models/paginated_pokemon_habitat_summary_list_spec.rb +54 -0
- data/spec/models/paginated_pokemon_shape_summary_list_spec.rb +54 -0
- data/spec/models/paginated_pokemon_species_summary_list_spec.rb +54 -0
- data/spec/models/paginated_pokemon_summary_list_spec.rb +54 -0
- data/spec/models/paginated_region_summary_list_spec.rb +54 -0
- data/spec/models/paginated_stat_summary_list_spec.rb +54 -0
- data/spec/models/paginated_super_contest_effect_summary_list_spec.rb +54 -0
- data/spec/models/paginated_type_summary_list_spec.rb +54 -0
- data/spec/models/paginated_version_group_summary_list_spec.rb +54 -0
- data/spec/models/paginated_version_summary_list_spec.rb +54 -0
- data/spec/models/pal_park_area_detail_pokemon_encounters_inner_spec.rb +48 -0
- data/spec/models/pal_park_area_detail_spec.rb +54 -0
- data/spec/models/pal_park_area_name_spec.rb +42 -0
- data/spec/models/pal_park_area_summary_spec.rb +42 -0
- data/spec/models/pokeathlon_stat_detail_affecting_natures_decrease_inner_spec.rb +42 -0
- data/spec/models/pokeathlon_stat_detail_affecting_natures_increase_inner_spec.rb +42 -0
- data/spec/models/pokeathlon_stat_detail_affecting_natures_spec.rb +42 -0
- data/spec/models/pokeathlon_stat_detail_spec.rb +54 -0
- data/spec/models/pokeathlon_stat_name_spec.rb +42 -0
- data/spec/models/pokeathlon_stat_summary_spec.rb +42 -0
- data/spec/models/pokedex_description_spec.rb +42 -0
- data/spec/models/pokedex_detail_pokemon_entries_inner_spec.rb +42 -0
- data/spec/models/pokedex_detail_spec.rb +78 -0
- data/spec/models/pokedex_name_spec.rb +42 -0
- data/spec/models/pokedex_summary_spec.rb +42 -0
- data/spec/models/pokemon_color_detail_spec.rb +54 -0
- data/spec/models/pokemon_color_name_spec.rb +42 -0
- data/spec/models/pokemon_color_summary_spec.rb +42 -0
- data/spec/models/pokemon_detail_abilities_inner_spec.rb +48 -0
- data/spec/models/pokemon_detail_cries_spec.rb +42 -0
- data/spec/models/pokemon_detail_held_items_spec.rb +42 -0
- data/spec/models/pokemon_detail_moves_inner_spec.rb +42 -0
- data/spec/models/pokemon_detail_moves_inner_version_group_details_inner_spec.rb +48 -0
- data/spec/models/pokemon_detail_past_abilities_inner_spec.rb +42 -0
- data/spec/models/pokemon_detail_past_types_inner_spec.rb +42 -0
- data/spec/models/pokemon_detail_spec.rb +150 -0
- data/spec/models/pokemon_detail_sprites_spec.rb +36 -0
- data/spec/models/pokemon_detail_types_inner_spec.rb +42 -0
- data/spec/models/pokemon_dex_entry_spec.rb +42 -0
- data/spec/models/pokemon_form_detail_form_names_inner_spec.rb +42 -0
- data/spec/models/pokemon_form_detail_spec.rb +114 -0
- data/spec/models/pokemon_form_detail_sprites_spec.rb +36 -0
- data/spec/models/pokemon_form_summary_spec.rb +42 -0
- data/spec/models/pokemon_game_index_spec.rb +42 -0
- data/spec/models/pokemon_habitat_detail_spec.rb +54 -0
- data/spec/models/pokemon_habitat_name_spec.rb +42 -0
- data/spec/models/pokemon_habitat_summary_spec.rb +42 -0
- data/spec/models/pokemon_shape_detail_awesome_names_inner_spec.rb +42 -0
- data/spec/models/pokemon_shape_detail_names_inner_spec.rb +42 -0
- data/spec/models/pokemon_shape_detail_spec.rb +60 -0
- data/spec/models/pokemon_shape_summary_spec.rb +42 -0
- data/spec/models/pokemon_species_description_spec.rb +42 -0
- data/spec/models/pokemon_species_detail_genera_inner_spec.rb +42 -0
- data/spec/models/pokemon_species_detail_pal_park_encounters_inner_spec.rb +48 -0
- data/spec/models/pokemon_species_detail_spec.rb +192 -0
- data/spec/models/pokemon_species_detail_varieties_inner_spec.rb +42 -0
- data/spec/models/pokemon_species_flavor_text_spec.rb +48 -0
- data/spec/models/pokemon_species_summary_spec.rb +42 -0
- data/spec/models/pokemon_stat_spec.rb +48 -0
- data/spec/models/pokemon_summary_spec.rb +42 -0
- data/spec/models/region_detail_spec.rb +72 -0
- data/spec/models/region_name_spec.rb +42 -0
- data/spec/models/region_summary_spec.rb +42 -0
- data/spec/models/stat_detail_affecting_moves_increase_inner_spec.rb +42 -0
- data/spec/models/stat_detail_affecting_moves_spec.rb +42 -0
- data/spec/models/stat_detail_affecting_natures_spec.rb +42 -0
- data/spec/models/stat_detail_spec.rb +84 -0
- data/spec/models/stat_name_spec.rb +42 -0
- data/spec/models/stat_summary_spec.rb +42 -0
- data/spec/models/super_contest_effect_detail_spec.rb +54 -0
- data/spec/models/super_contest_effect_flavor_text_spec.rb +42 -0
- data/spec/models/super_contest_effect_summary_spec.rb +36 -0
- data/spec/models/type_detail_damage_relations_spec.rb +66 -0
- data/spec/models/type_detail_past_damage_relations_inner_damage_relations_spec.rb +66 -0
- data/spec/models/type_detail_past_damage_relations_inner_spec.rb +42 -0
- data/spec/models/type_detail_pokemon_inner_pokemon_spec.rb +42 -0
- data/spec/models/type_detail_pokemon_inner_spec.rb +42 -0
- data/spec/models/type_detail_spec.rb +96 -0
- data/spec/models/type_detail_sprites_value_value_spec.rb +36 -0
- data/spec/models/type_game_index_spec.rb +42 -0
- data/spec/models/type_summary_spec.rb +42 -0
- data/spec/models/version_detail_spec.rb +54 -0
- data/spec/models/version_group_detail_spec.rb +78 -0
- data/spec/models/version_group_summary_spec.rb +42 -0
- data/spec/models/version_name_spec.rb +42 -0
- data/spec/models/version_summary_spec.rb +42 -0
- data/spec/spec_helper.rb +4 -4
- metadata +1125 -193
- data/bin/bundle +0 -109
- data/docs/AbilityApi.md +0 -137
- data/docs/BerryApi.md +0 -137
- data/docs/BerryFirmnessApi.md +0 -137
- data/docs/BerryFlavorApi.md +0 -137
- data/docs/CharacteristicApi.md +0 -137
- data/docs/ContestEffectApi.md +0 -137
- data/docs/ContestTypeApi.md +0 -137
- data/docs/EggGroupApi.md +0 -137
- data/docs/EncounterConditionApi.md +0 -137
- data/docs/EncounterConditionValueApi.md +0 -137
- data/docs/EncounterMethodApi.md +0 -137
- data/docs/EvolutionChainApi.md +0 -137
- data/docs/EvolutionTriggerApi.md +0 -137
- data/docs/GenderApi.md +0 -137
- data/docs/GenerationApi.md +0 -137
- data/docs/GrowthRateApi.md +0 -137
- data/docs/ItemApi.md +0 -137
- data/docs/ItemAttributeApi.md +0 -137
- data/docs/ItemCategoryApi.md +0 -137
- data/docs/ItemFlingEffectApi.md +0 -137
- data/docs/ItemPocketApi.md +0 -137
- data/docs/LanguageApi.md +0 -137
- data/docs/LocationAreaApi.md +0 -137
- data/docs/MachineApi.md +0 -137
- data/docs/MoveAilmentApi.md +0 -137
- data/docs/MoveApi.md +0 -137
- data/docs/MoveBattleStyleApi.md +0 -137
- data/docs/MoveCategoryApi.md +0 -137
- data/docs/MoveDamageClassApi.md +0 -137
- data/docs/MoveLearnMethodApi.md +0 -137
- data/docs/MoveTargetApi.md +0 -137
- data/docs/NatureApi.md +0 -137
- data/docs/PalParkAreaApi.md +0 -137
- data/docs/PokeathlonStatApi.md +0 -137
- data/docs/PokedexApi.md +0 -137
- data/docs/PokemonColorApi.md +0 -137
- data/docs/PokemonFormApi.md +0 -137
- data/docs/PokemonHabitatApi.md +0 -137
- data/docs/PokemonShapeApi.md +0 -137
- data/docs/PokemonSpeciesApi.md +0 -137
- data/docs/RegionApi.md +0 -137
- data/docs/StatApi.md +0 -137
- data/docs/SuperContestEffectApi.md +0 -137
- data/docs/TypeApi.md +0 -137
- data/docs/VersionApi.md +0 -137
- data/docs/VersionGroupApi.md +0 -137
- data/lib/pokeapi_client/api/ability_api.rb +0 -140
- data/lib/pokeapi_client/api/berry_api.rb +0 -140
- data/lib/pokeapi_client/api/berry_firmness_api.rb +0 -140
- data/lib/pokeapi_client/api/berry_flavor_api.rb +0 -140
- data/lib/pokeapi_client/api/characteristic_api.rb +0 -140
- data/lib/pokeapi_client/api/contest_effect_api.rb +0 -140
- data/lib/pokeapi_client/api/contest_type_api.rb +0 -140
- data/lib/pokeapi_client/api/egg_group_api.rb +0 -140
- data/lib/pokeapi_client/api/encounter_condition_api.rb +0 -140
- data/lib/pokeapi_client/api/encounter_condition_value_api.rb +0 -140
- data/lib/pokeapi_client/api/encounter_method_api.rb +0 -140
- data/lib/pokeapi_client/api/evolution_chain_api.rb +0 -140
- data/lib/pokeapi_client/api/evolution_trigger_api.rb +0 -140
- data/lib/pokeapi_client/api/gender_api.rb +0 -140
- data/lib/pokeapi_client/api/generation_api.rb +0 -140
- data/lib/pokeapi_client/api/growth_rate_api.rb +0 -140
- data/lib/pokeapi_client/api/item_api.rb +0 -140
- data/lib/pokeapi_client/api/item_attribute_api.rb +0 -140
- data/lib/pokeapi_client/api/item_category_api.rb +0 -140
- data/lib/pokeapi_client/api/item_fling_effect_api.rb +0 -140
- data/lib/pokeapi_client/api/item_pocket_api.rb +0 -140
- data/lib/pokeapi_client/api/language_api.rb +0 -140
- data/lib/pokeapi_client/api/location_area_api.rb +0 -140
- data/lib/pokeapi_client/api/machine_api.rb +0 -140
- data/lib/pokeapi_client/api/move_ailment_api.rb +0 -140
- data/lib/pokeapi_client/api/move_api.rb +0 -140
- data/lib/pokeapi_client/api/move_battle_style_api.rb +0 -140
- data/lib/pokeapi_client/api/move_category_api.rb +0 -140
- data/lib/pokeapi_client/api/move_damage_class_api.rb +0 -140
- data/lib/pokeapi_client/api/move_learn_method_api.rb +0 -140
- data/lib/pokeapi_client/api/move_target_api.rb +0 -140
- data/lib/pokeapi_client/api/nature_api.rb +0 -140
- data/lib/pokeapi_client/api/pal_park_area_api.rb +0 -140
- data/lib/pokeapi_client/api/pokeathlon_stat_api.rb +0 -140
- data/lib/pokeapi_client/api/pokedex_api.rb +0 -140
- data/lib/pokeapi_client/api/pokemon_color_api.rb +0 -140
- data/lib/pokeapi_client/api/pokemon_form_api.rb +0 -140
- data/lib/pokeapi_client/api/pokemon_habitat_api.rb +0 -140
- data/lib/pokeapi_client/api/pokemon_shape_api.rb +0 -140
- data/lib/pokeapi_client/api/pokemon_species_api.rb +0 -140
- data/lib/pokeapi_client/api/region_api.rb +0 -140
- data/lib/pokeapi_client/api/stat_api.rb +0 -140
- data/lib/pokeapi_client/api/super_contest_effect_api.rb +0 -140
- data/lib/pokeapi_client/api/type_api.rb +0 -140
- data/lib/pokeapi_client/api/version_api.rb +0 -140
- data/lib/pokeapi_client/api/version_group_api.rb +0 -140
- data/spec/api/ability_api_spec.rb +0 -56
- data/spec/api/berry_api_spec.rb +0 -56
- data/spec/api/berry_firmness_api_spec.rb +0 -56
- data/spec/api/berry_flavor_api_spec.rb +0 -56
- data/spec/api/characteristic_api_spec.rb +0 -56
- data/spec/api/contest_effect_api_spec.rb +0 -56
- data/spec/api/contest_type_api_spec.rb +0 -56
- data/spec/api/egg_group_api_spec.rb +0 -56
- data/spec/api/encounter_condition_api_spec.rb +0 -56
- data/spec/api/encounter_condition_value_api_spec.rb +0 -56
- data/spec/api/encounter_method_api_spec.rb +0 -56
- data/spec/api/evolution_chain_api_spec.rb +0 -56
- data/spec/api/evolution_trigger_api_spec.rb +0 -56
- data/spec/api/gender_api_spec.rb +0 -56
- data/spec/api/generation_api_spec.rb +0 -56
- data/spec/api/growth_rate_api_spec.rb +0 -56
- data/spec/api/item_api_spec.rb +0 -56
- data/spec/api/item_attribute_api_spec.rb +0 -56
- data/spec/api/item_category_api_spec.rb +0 -56
- data/spec/api/item_fling_effect_api_spec.rb +0 -56
- data/spec/api/item_pocket_api_spec.rb +0 -56
- data/spec/api/language_api_spec.rb +0 -56
- data/spec/api/location_area_api_spec.rb +0 -56
- data/spec/api/machine_api_spec.rb +0 -56
- data/spec/api/move_ailment_api_spec.rb +0 -56
- data/spec/api/move_api_spec.rb +0 -56
- data/spec/api/move_battle_style_api_spec.rb +0 -56
- data/spec/api/move_category_api_spec.rb +0 -56
- data/spec/api/move_damage_class_api_spec.rb +0 -56
- data/spec/api/move_learn_method_api_spec.rb +0 -56
- data/spec/api/move_target_api_spec.rb +0 -56
- data/spec/api/nature_api_spec.rb +0 -56
- data/spec/api/pal_park_area_api_spec.rb +0 -56
- data/spec/api/pokeathlon_stat_api_spec.rb +0 -56
- data/spec/api/pokedex_api_spec.rb +0 -56
- data/spec/api/pokemon_color_api_spec.rb +0 -56
- data/spec/api/pokemon_form_api_spec.rb +0 -56
- data/spec/api/pokemon_habitat_api_spec.rb +0 -56
- data/spec/api/pokemon_shape_api_spec.rb +0 -56
- data/spec/api/pokemon_species_api_spec.rb +0 -56
- data/spec/api/region_api_spec.rb +0 -56
- data/spec/api/stat_api_spec.rb +0 -56
- data/spec/api/super_contest_effect_api_spec.rb +0 -56
- data/spec/api/type_api_spec.rb +0 -56
- data/spec/api/version_api_spec.rb +0 -56
- data/spec/api/version_group_api_spec.rb +0 -56
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#PokéAPI
|
|
3
|
+
|
|
4
|
+
#All the Pokémon data you'll ever need in one place, easily accessible through a modern free open-source RESTful API. ## What is this? This is a full RESTful API linked to an extensive database detailing everything about the Pokémon main game series. We've covered everything from Pokémon to Berry Flavors. ## Where do I start? We have awesome [documentation](https://pokeapi.co/docs/v2) on how to use this API. It takes minutes to get started. This API will always be publicly available and will never require any extensive setup process to consume. Created by [**Paul Hallett**(]https://github.com/phalt) and other [**PokéAPI contributors***](https://github.com/PokeAPI/pokeapi#contributing) around the world. Pokémon and Pokémon character names are trademarks of Nintendo.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 2.7.0
|
|
7
|
+
Contact: blah+oapicf@cliffano.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.18.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for PokeApiClient::EncountersApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'EncountersApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PokeApiClient::EncountersApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of EncountersApi' do
|
|
30
|
+
it 'should create an instance of EncountersApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::EncountersApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for encounter_condition_list
|
|
36
|
+
# List encounter conditions
|
|
37
|
+
# Conditions which affect what pokemon might appear in the wild, e.g., day or night.
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
40
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
41
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
42
|
+
# @return [PaginatedEncounterConditionSummaryList]
|
|
43
|
+
describe 'encounter_condition_list test' do
|
|
44
|
+
it 'should work' do
|
|
45
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# unit tests for encounter_condition_retrieve
|
|
50
|
+
# Get encounter condition
|
|
51
|
+
# Conditions which affect what pokemon might appear in the wild, e.g., day or night.
|
|
52
|
+
# @param id This parameter can be a string or an integer.
|
|
53
|
+
# @param [Hash] opts the optional parameters
|
|
54
|
+
# @return [EncounterConditionDetail]
|
|
55
|
+
describe 'encounter_condition_retrieve test' do
|
|
56
|
+
it 'should work' do
|
|
57
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# unit tests for encounter_condition_value_list
|
|
62
|
+
# List encounter condition values
|
|
63
|
+
# Encounter condition values are the various states that an encounter condition can have, i.e., time of day can be either day or night.
|
|
64
|
+
# @param [Hash] opts the optional parameters
|
|
65
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
66
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
67
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
68
|
+
# @return [PaginatedEncounterConditionValueSummaryList]
|
|
69
|
+
describe 'encounter_condition_value_list test' do
|
|
70
|
+
it 'should work' do
|
|
71
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
# unit tests for encounter_condition_value_retrieve
|
|
76
|
+
# Get encounter condition value
|
|
77
|
+
# Encounter condition values are the various states that an encounter condition can have, i.e., time of day can be either day or night.
|
|
78
|
+
# @param id This parameter can be a string or an integer.
|
|
79
|
+
# @param [Hash] opts the optional parameters
|
|
80
|
+
# @return [EncounterConditionValueDetail]
|
|
81
|
+
describe 'encounter_condition_value_retrieve test' do
|
|
82
|
+
it 'should work' do
|
|
83
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
# unit tests for encounter_method_list
|
|
88
|
+
# List encounter methods
|
|
89
|
+
# Methods by which the player might can encounter Pokémon in the wild, e.g., walking in tall grass. Check out Bulbapedia for greater detail.
|
|
90
|
+
# @param [Hash] opts the optional parameters
|
|
91
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
92
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
93
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
94
|
+
# @return [PaginatedEncounterMethodSummaryList]
|
|
95
|
+
describe 'encounter_method_list test' do
|
|
96
|
+
it 'should work' do
|
|
97
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# unit tests for encounter_method_retrieve
|
|
102
|
+
# Get encounter method
|
|
103
|
+
# Methods by which the player might can encounter Pokémon in the wild, e.g., walking in tall grass. Check out Bulbapedia for greater detail.
|
|
104
|
+
# @param id This parameter can be a string or an integer.
|
|
105
|
+
# @param [Hash] opts the optional parameters
|
|
106
|
+
# @return [EncounterMethodDetail]
|
|
107
|
+
describe 'encounter_method_retrieve test' do
|
|
108
|
+
it 'should work' do
|
|
109
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
end
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#PokéAPI
|
|
3
|
+
|
|
4
|
+
#All the Pokémon data you'll ever need in one place, easily accessible through a modern free open-source RESTful API. ## What is this? This is a full RESTful API linked to an extensive database detailing everything about the Pokémon main game series. We've covered everything from Pokémon to Berry Flavors. ## Where do I start? We have awesome [documentation](https://pokeapi.co/docs/v2) on how to use this API. It takes minutes to get started. This API will always be publicly available and will never require any extensive setup process to consume. Created by [**Paul Hallett**(]https://github.com/phalt) and other [**PokéAPI contributors***](https://github.com/PokeAPI/pokeapi#contributing) around the world. Pokémon and Pokémon character names are trademarks of Nintendo.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 2.7.0
|
|
7
|
+
Contact: blah+oapicf@cliffano.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.18.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for PokeApiClient::EvolutionApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'EvolutionApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PokeApiClient::EvolutionApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of EvolutionApi' do
|
|
30
|
+
it 'should create an instance of EvolutionApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::EvolutionApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for evolution_chain_list
|
|
36
|
+
# List evolution chains
|
|
37
|
+
# Evolution chains are essentially family trees. They start with the lowest stage within a family and detail evolution conditions for each as well as Pokémon they can evolve into up through the hierarchy.
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
40
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
41
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
42
|
+
# @return [PaginatedEvolutionChainSummaryList]
|
|
43
|
+
describe 'evolution_chain_list test' do
|
|
44
|
+
it 'should work' do
|
|
45
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# unit tests for evolution_chain_retrieve
|
|
50
|
+
# Get evolution chain
|
|
51
|
+
# Evolution chains are essentially family trees. They start with the lowest stage within a family and detail evolution conditions for each as well as Pokémon they can evolve into up through the hierarchy.
|
|
52
|
+
# @param id This parameter can be a string or an integer.
|
|
53
|
+
# @param [Hash] opts the optional parameters
|
|
54
|
+
# @return [EvolutionChainDetail]
|
|
55
|
+
describe 'evolution_chain_retrieve test' do
|
|
56
|
+
it 'should work' do
|
|
57
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# unit tests for evolution_trigger_list
|
|
62
|
+
# List evolution triggers
|
|
63
|
+
# Evolution triggers are the events and conditions that cause a Pokémon to evolve. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Methods_of_evolution) for greater detail.
|
|
64
|
+
# @param [Hash] opts the optional parameters
|
|
65
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
66
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
67
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
68
|
+
# @return [PaginatedEvolutionTriggerSummaryList]
|
|
69
|
+
describe 'evolution_trigger_list test' do
|
|
70
|
+
it 'should work' do
|
|
71
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
# unit tests for evolution_trigger_retrieve
|
|
76
|
+
# Get evolution trigger
|
|
77
|
+
# Evolution triggers are the events and conditions that cause a Pokémon to evolve. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Methods_of_evolution) for greater detail.
|
|
78
|
+
# @param id This parameter can be a string or an integer.
|
|
79
|
+
# @param [Hash] opts the optional parameters
|
|
80
|
+
# @return [EvolutionTriggerDetail]
|
|
81
|
+
describe 'evolution_trigger_retrieve test' do
|
|
82
|
+
it 'should work' do
|
|
83
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
end
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#PokéAPI
|
|
3
|
+
|
|
4
|
+
#All the Pokémon data you'll ever need in one place, easily accessible through a modern free open-source RESTful API. ## What is this? This is a full RESTful API linked to an extensive database detailing everything about the Pokémon main game series. We've covered everything from Pokémon to Berry Flavors. ## Where do I start? We have awesome [documentation](https://pokeapi.co/docs/v2) on how to use this API. It takes minutes to get started. This API will always be publicly available and will never require any extensive setup process to consume. Created by [**Paul Hallett**(]https://github.com/phalt) and other [**PokéAPI contributors***](https://github.com/PokeAPI/pokeapi#contributing) around the world. Pokémon and Pokémon character names are trademarks of Nintendo.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 2.7.0
|
|
7
|
+
Contact: blah+oapicf@cliffano.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.18.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for PokeApiClient::GamesApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'GamesApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PokeApiClient::GamesApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of GamesApi' do
|
|
30
|
+
it 'should create an instance of GamesApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::GamesApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for generation_list
|
|
36
|
+
# List genrations
|
|
37
|
+
# A generation is a grouping of the Pokémon games that separates them based on the Pokémon they include. In each generation, a new set of Pokémon, Moves, Abilities and Types that did not exist in the previous generation are released.
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
40
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
41
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
42
|
+
# @return [PaginatedGenerationSummaryList]
|
|
43
|
+
describe 'generation_list test' do
|
|
44
|
+
it 'should work' do
|
|
45
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# unit tests for generation_retrieve
|
|
50
|
+
# Get genration
|
|
51
|
+
# A generation is a grouping of the Pokémon games that separates them based on the Pokémon they include. In each generation, a new set of Pokémon, Moves, Abilities and Types that did not exist in the previous generation are released.
|
|
52
|
+
# @param id This parameter can be a string or an integer.
|
|
53
|
+
# @param [Hash] opts the optional parameters
|
|
54
|
+
# @return [GenerationDetail]
|
|
55
|
+
describe 'generation_retrieve test' do
|
|
56
|
+
it 'should work' do
|
|
57
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# unit tests for pokedex_list
|
|
62
|
+
# List pokedex
|
|
63
|
+
# A Pokédex is a handheld electronic encyclopedia device; one which is capable of recording and retaining information of the various Pokémon in a given region with the exception of the national dex and some smaller dexes related to portions of a region. See [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Pokedex) for greater detail.
|
|
64
|
+
# @param [Hash] opts the optional parameters
|
|
65
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
66
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
67
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
68
|
+
# @return [PaginatedPokedexSummaryList]
|
|
69
|
+
describe 'pokedex_list test' do
|
|
70
|
+
it 'should work' do
|
|
71
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
# unit tests for pokedex_retrieve
|
|
76
|
+
# Get pokedex
|
|
77
|
+
# A Pokédex is a handheld electronic encyclopedia device; one which is capable of recording and retaining information of the various Pokémon in a given region with the exception of the national dex and some smaller dexes related to portions of a region. See [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Pokedex) for greater detail.
|
|
78
|
+
# @param id This parameter can be a string or an integer.
|
|
79
|
+
# @param [Hash] opts the optional parameters
|
|
80
|
+
# @return [PokedexDetail]
|
|
81
|
+
describe 'pokedex_retrieve test' do
|
|
82
|
+
it 'should work' do
|
|
83
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
# unit tests for version_group_list
|
|
88
|
+
# List version groups
|
|
89
|
+
# Version groups categorize highly similar versions of the games.
|
|
90
|
+
# @param [Hash] opts the optional parameters
|
|
91
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
92
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
93
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
94
|
+
# @return [PaginatedVersionGroupSummaryList]
|
|
95
|
+
describe 'version_group_list test' do
|
|
96
|
+
it 'should work' do
|
|
97
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# unit tests for version_group_retrieve
|
|
102
|
+
# Get version group
|
|
103
|
+
# Version groups categorize highly similar versions of the games.
|
|
104
|
+
# @param id This parameter can be a string or an integer.
|
|
105
|
+
# @param [Hash] opts the optional parameters
|
|
106
|
+
# @return [VersionGroupDetail]
|
|
107
|
+
describe 'version_group_retrieve test' do
|
|
108
|
+
it 'should work' do
|
|
109
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
# unit tests for version_list
|
|
114
|
+
# List versions
|
|
115
|
+
# Versions of the games, e.g., Red, Blue or Yellow.
|
|
116
|
+
# @param [Hash] opts the optional parameters
|
|
117
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
118
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
119
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
120
|
+
# @return [PaginatedVersionSummaryList]
|
|
121
|
+
describe 'version_list test' do
|
|
122
|
+
it 'should work' do
|
|
123
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
124
|
+
end
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
# unit tests for version_retrieve
|
|
128
|
+
# Get version
|
|
129
|
+
# Versions of the games, e.g., Red, Blue or Yellow.
|
|
130
|
+
# @param id This parameter can be a string or an integer.
|
|
131
|
+
# @param [Hash] opts the optional parameters
|
|
132
|
+
# @return [VersionDetail]
|
|
133
|
+
describe 'version_retrieve test' do
|
|
134
|
+
it 'should work' do
|
|
135
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
136
|
+
end
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
end
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#PokéAPI
|
|
3
|
+
|
|
4
|
+
#All the Pokémon data you'll ever need in one place, easily accessible through a modern free open-source RESTful API. ## What is this? This is a full RESTful API linked to an extensive database detailing everything about the Pokémon main game series. We've covered everything from Pokémon to Berry Flavors. ## Where do I start? We have awesome [documentation](https://pokeapi.co/docs/v2) on how to use this API. It takes minutes to get started. This API will always be publicly available and will never require any extensive setup process to consume. Created by [**Paul Hallett**(]https://github.com/phalt) and other [**PokéAPI contributors***](https://github.com/PokeAPI/pokeapi#contributing) around the world. Pokémon and Pokémon character names are trademarks of Nintendo.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 2.7.0
|
|
7
|
+
Contact: blah+oapicf@cliffano.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.18.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for PokeApiClient::ItemsApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'ItemsApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PokeApiClient::ItemsApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of ItemsApi' do
|
|
30
|
+
it 'should create an instance of ItemsApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::ItemsApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for item_attribute_list
|
|
36
|
+
# List item attributes
|
|
37
|
+
# Item attributes define particular aspects of items, e.g.\"usable in battle\" or \"consumable\".
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
40
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
41
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
42
|
+
# @return [PaginatedItemAttributeSummaryList]
|
|
43
|
+
describe 'item_attribute_list test' do
|
|
44
|
+
it 'should work' do
|
|
45
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# unit tests for item_attribute_retrieve
|
|
50
|
+
# Get item attribute
|
|
51
|
+
# Item attributes define particular aspects of items, e.g.\"usable in battle\" or \"consumable\".
|
|
52
|
+
# @param id This parameter can be a string or an integer.
|
|
53
|
+
# @param [Hash] opts the optional parameters
|
|
54
|
+
# @return [ItemAttributeDetail]
|
|
55
|
+
describe 'item_attribute_retrieve test' do
|
|
56
|
+
it 'should work' do
|
|
57
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# unit tests for item_category_list
|
|
62
|
+
# List item categories
|
|
63
|
+
# Item categories determine where items will be placed in the players bag.
|
|
64
|
+
# @param [Hash] opts the optional parameters
|
|
65
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
66
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
67
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
68
|
+
# @return [PaginatedItemCategorySummaryList]
|
|
69
|
+
describe 'item_category_list test' do
|
|
70
|
+
it 'should work' do
|
|
71
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
# unit tests for item_category_retrieve
|
|
76
|
+
# Get item category
|
|
77
|
+
# Item categories determine where items will be placed in the players bag.
|
|
78
|
+
# @param id This parameter can be a string or an integer.
|
|
79
|
+
# @param [Hash] opts the optional parameters
|
|
80
|
+
# @return [ItemCategoryDetail]
|
|
81
|
+
describe 'item_category_retrieve test' do
|
|
82
|
+
it 'should work' do
|
|
83
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
# unit tests for item_fling_effect_list
|
|
88
|
+
# List item fling effects
|
|
89
|
+
# The various effects of the move\"Fling\" when used with different items.
|
|
90
|
+
# @param [Hash] opts the optional parameters
|
|
91
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
92
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
93
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
94
|
+
# @return [PaginatedItemFlingEffectSummaryList]
|
|
95
|
+
describe 'item_fling_effect_list test' do
|
|
96
|
+
it 'should work' do
|
|
97
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# unit tests for item_fling_effect_retrieve
|
|
102
|
+
# Get item fling effect
|
|
103
|
+
# The various effects of the move\"Fling\" when used with different items.
|
|
104
|
+
# @param id This parameter can be a string or an integer.
|
|
105
|
+
# @param [Hash] opts the optional parameters
|
|
106
|
+
# @return [ItemFlingEffectDetail]
|
|
107
|
+
describe 'item_fling_effect_retrieve test' do
|
|
108
|
+
it 'should work' do
|
|
109
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
# unit tests for item_list
|
|
114
|
+
# List items
|
|
115
|
+
# An item is an object in the games which the player can pick up, keep in their bag, and use in some manner. They have various uses, including healing, powering up, helping catch Pokémon, or to access a new area.
|
|
116
|
+
# @param [Hash] opts the optional parameters
|
|
117
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
118
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
119
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
120
|
+
# @return [PaginatedItemSummaryList]
|
|
121
|
+
describe 'item_list test' do
|
|
122
|
+
it 'should work' do
|
|
123
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
124
|
+
end
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
# unit tests for item_pocket_list
|
|
128
|
+
# List item pockets
|
|
129
|
+
# Pockets within the players bag used for storing items by category.
|
|
130
|
+
# @param [Hash] opts the optional parameters
|
|
131
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
132
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
133
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
134
|
+
# @return [PaginatedItemPocketSummaryList]
|
|
135
|
+
describe 'item_pocket_list test' do
|
|
136
|
+
it 'should work' do
|
|
137
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
138
|
+
end
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
# unit tests for item_pocket_retrieve
|
|
142
|
+
# Get item pocket
|
|
143
|
+
# Pockets within the players bag used for storing items by category.
|
|
144
|
+
# @param id This parameter can be a string or an integer.
|
|
145
|
+
# @param [Hash] opts the optional parameters
|
|
146
|
+
# @return [ItemPocketDetail]
|
|
147
|
+
describe 'item_pocket_retrieve test' do
|
|
148
|
+
it 'should work' do
|
|
149
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
150
|
+
end
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
# unit tests for item_retrieve
|
|
154
|
+
# Get item
|
|
155
|
+
# An item is an object in the games which the player can pick up, keep in their bag, and use in some manner. They have various uses, including healing, powering up, helping catch Pokémon, or to access a new area.
|
|
156
|
+
# @param id This parameter can be a string or an integer.
|
|
157
|
+
# @param [Hash] opts the optional parameters
|
|
158
|
+
# @return [ItemDetail]
|
|
159
|
+
describe 'item_retrieve test' do
|
|
160
|
+
it 'should work' do
|
|
161
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
162
|
+
end
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
end
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#PokéAPI
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#All the Pokémon data you'll ever need in one place, easily accessible through a modern free open-source RESTful API. ## What is this? This is a full RESTful API linked to an extensive database detailing everything about the Pokémon main game series. We've covered everything from Pokémon to Berry Flavors. ## Where do I start? We have awesome [documentation](https://pokeapi.co/docs/v2) on how to use this API. It takes minutes to get started. This API will always be publicly available and will never require any extensive setup process to consume. Created by [**Paul Hallett**(]https://github.com/phalt) and other [**PokéAPI contributors***](https://github.com/PokeAPI/pokeapi#contributing) around the world. Pokémon and Pokémon character names are trademarks of Nintendo.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document:
|
|
6
|
+
The version of the OpenAPI document: 2.7.0
|
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.18.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -32,22 +32,104 @@ describe 'LocationApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
+
# unit tests for location_area_list
|
|
36
|
+
# List location areas
|
|
37
|
+
# Location areas are sections of areas, such as floors in a building or cave. Each area has its own set of possible Pokémon encounters.
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
40
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
41
|
+
# @return [PaginatedLocationAreaSummaryList]
|
|
42
|
+
describe 'location_area_list test' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
# unit tests for location_area_retrieve
|
|
49
|
+
# Get location area
|
|
50
|
+
# Location areas are sections of areas, such as floors in a building or cave. Each area has its own set of possible Pokémon encounters.
|
|
51
|
+
# @param id A unique integer value identifying this location area.
|
|
52
|
+
# @param [Hash] opts the optional parameters
|
|
53
|
+
# @return [LocationAreaDetail]
|
|
54
|
+
describe 'location_area_retrieve test' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
35
60
|
# unit tests for location_list
|
|
61
|
+
# List locations
|
|
62
|
+
# Locations that can be visited within the games. Locations make up sizable portions of regions, like cities or routes.
|
|
36
63
|
# @param [Hash] opts the optional parameters
|
|
37
|
-
# @option opts [Integer] :limit
|
|
38
|
-
# @option opts [Integer] :offset
|
|
39
|
-
# @
|
|
64
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
65
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
66
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
67
|
+
# @return [PaginatedLocationSummaryList]
|
|
40
68
|
describe 'location_list test' do
|
|
41
69
|
it 'should work' do
|
|
42
70
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
43
71
|
end
|
|
44
72
|
end
|
|
45
73
|
|
|
46
|
-
# unit tests for
|
|
47
|
-
#
|
|
74
|
+
# unit tests for location_retrieve
|
|
75
|
+
# Get location
|
|
76
|
+
# Locations that can be visited within the games. Locations make up sizable portions of regions, like cities or routes.
|
|
77
|
+
# @param id This parameter can be a string or an integer.
|
|
78
|
+
# @param [Hash] opts the optional parameters
|
|
79
|
+
# @return [LocationDetail]
|
|
80
|
+
describe 'location_retrieve test' do
|
|
81
|
+
it 'should work' do
|
|
82
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
# unit tests for pal_park_area_list
|
|
87
|
+
# List pal park areas
|
|
88
|
+
# Areas used for grouping Pokémon encounters in Pal Park. They're like habitats that are specific to Pal Park.
|
|
89
|
+
# @param [Hash] opts the optional parameters
|
|
90
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
91
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
92
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
93
|
+
# @return [PaginatedPalParkAreaSummaryList]
|
|
94
|
+
describe 'pal_park_area_list test' do
|
|
95
|
+
it 'should work' do
|
|
96
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
# unit tests for pal_park_area_retrieve
|
|
101
|
+
# Get pal park area
|
|
102
|
+
# Areas used for grouping Pokémon encounters in Pal Park. They're like habitats that are specific to Pal Park.
|
|
103
|
+
# @param id This parameter can be a string or an integer.
|
|
104
|
+
# @param [Hash] opts the optional parameters
|
|
105
|
+
# @return [PalParkAreaDetail]
|
|
106
|
+
describe 'pal_park_area_retrieve test' do
|
|
107
|
+
it 'should work' do
|
|
108
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
109
|
+
end
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
# unit tests for region_list
|
|
113
|
+
# List regions
|
|
114
|
+
# A region is an organized area of the Pokémon world. Most often, the main difference between regions is the species of Pokémon that can be encountered within them.
|
|
115
|
+
# @param [Hash] opts the optional parameters
|
|
116
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
117
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
118
|
+
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
119
|
+
# @return [PaginatedRegionSummaryList]
|
|
120
|
+
describe 'region_list test' do
|
|
121
|
+
it 'should work' do
|
|
122
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
# unit tests for region_retrieve
|
|
127
|
+
# Get region
|
|
128
|
+
# A region is an organized area of the Pokémon world. Most often, the main difference between regions is the species of Pokémon that can be encountered within them.
|
|
129
|
+
# @param id This parameter can be a string or an integer.
|
|
48
130
|
# @param [Hash] opts the optional parameters
|
|
49
|
-
# @return [
|
|
50
|
-
describe '
|
|
131
|
+
# @return [RegionDetail]
|
|
132
|
+
describe 'region_retrieve test' do
|
|
51
133
|
it 'should work' do
|
|
52
134
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
53
135
|
end
|