From 17a4bcef160a0cbb350b431df688277c002cbf78 Mon Sep 17 00:00:00 2001 From: PraaneshSelvaraj Date: Tue, 27 May 2025 17:22:55 +0530 Subject: [PATCH 1/3] Fixed Serializer: held_items --- pokemon_v2/serializers.py | 73 ++++++++++++++++++++------------------- 1 file changed, 38 insertions(+), 35 deletions(-) diff --git a/pokemon_v2/serializers.py b/pokemon_v2/serializers.py index 1996b3a59..48aa575c9 100644 --- a/pokemon_v2/serializers.py +++ b/pokemon_v2/serializers.py @@ -4771,50 +4771,53 @@ def get_pokemon_moves(self, obj): # }, @extend_schema_field( field={ - "type": "object", - "required": ["item", "version_details"], - "properties": { - "item": { - "type": "object", - "required": ["name", "url"], - "properties": { - "name": {"type": "string", "examples": ["soft-sand"]}, - "url": { - "type": "string", - "format": "uri", - "examples": ["https://pokeapi.co/api/v2/item/214/"], - }, - }, - }, - "version_details": { - "type": "array", - "items": { + "type" : "array", + "items" : { + "type": "object", + "required": ["item", "version_details"], + "properties": { + "item": { "type": "object", - "required": ["rarity", "version"], + "required": ["name", "url"], "properties": { - "rarity": { - "type": "integer", - "format": "int32", - "examples": [5], + "name": {"type": "string", "examples": ["soft-sand"]}, + "url": { + "type": "string", + "format": "uri", + "examples": ["https://pokeapi.co/api/v2/item/214/"], }, - "version": { - "type": "object", - "required": ["name", "url"], - "properties": { - "name": {"type": "string", "examples": ["diamond"]}, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://pokeapi.co/api/v2/version/12/" - ], + }, + }, + "version_details": { + "type": "array", + "items": { + "type": "object", + "required": ["rarity", "version"], + "properties": { + "rarity": { + "type": "integer", + "format": "int32", + "examples": [5], + }, + "version": { + "type": "object", + "required": ["name", "url"], + "properties": { + "name": {"type": "string", "examples": ["diamond"]}, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://pokeapi.co/api/v2/version/12/" + ], + }, }, }, }, }, }, }, - }, + } } ) def get_pokemon_held_items(self, obj): From a59db1b14cad47fc607fd55c78eeac8483995c01 Mon Sep 17 00:00:00 2001 From: PraaneshSelvaraj Date: Tue, 27 May 2025 17:45:51 +0530 Subject: [PATCH 2/3] chore: fix code formatting --- pokemon_v2/serializers.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pokemon_v2/serializers.py b/pokemon_v2/serializers.py index 48aa575c9..e12765978 100644 --- a/pokemon_v2/serializers.py +++ b/pokemon_v2/serializers.py @@ -4771,8 +4771,8 @@ def get_pokemon_moves(self, obj): # }, @extend_schema_field( field={ - "type" : "array", - "items" : { + "type": "array", + "items": { "type": "object", "required": ["item", "version_details"], "properties": { @@ -4803,7 +4803,10 @@ def get_pokemon_moves(self, obj): "type": "object", "required": ["name", "url"], "properties": { - "name": {"type": "string", "examples": ["diamond"]}, + "name": { + "type": "string", + "examples": ["diamond"], + }, "url": { "type": "string", "format": "uri", @@ -4817,7 +4820,7 @@ def get_pokemon_moves(self, obj): }, }, }, - } + }, } ) def get_pokemon_held_items(self, obj): From fd8ebfe33bc47dd8a6b35033de784b2bf1054aa2 Mon Sep 17 00:00:00 2001 From: PraaneshSelvaraj Date: Fri, 30 May 2025 17:57:26 +0530 Subject: [PATCH 3/3] Genearted openapi.yml --- openapi.yml | 6966 ++++++++++++++++++++++++++------------------------- 1 file changed, 3484 insertions(+), 3482 deletions(-) diff --git a/openapi.yml b/openapi.yml index f36bddb2c..6a8aec192 100644 --- a/openapi.yml +++ b/openapi.yml @@ -16,2207 +16,2207 @@ info: paths: /api/v2/ability/: get: - operationId: ability_list + operationId: api_v2_ability_list description: Abilities provide passive effects for Pokémon in battle or in the overworld. Pokémon have multiple possible abilities but can have only one ability at a time. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Ability) for greater detail. parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedAbilitySummaryList" - description: "" + $ref: '#/components/schemas/PaginatedAbilitySummaryList' + description: '' /api/v2/ability/{id}/: get: - operationId: ability_retrieve + operationId: api_v2_ability_retrieve description: Abilities provide passive effects for Pokémon in battle or in the overworld. Pokémon have multiple possible abilities but can have only one ability at a time. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Ability) for greater detail. parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/AbilityDetail" - description: "" + $ref: '#/components/schemas/AbilityDetail' + description: '' /api/v2/berry/: get: - operationId: berry_list + operationId: api_v2_berry_list description: Berries are small fruits that can provide HP and status condition restoration, stat enhancement, and even damage negation when eaten by Pokémon. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Berry) for greater detail. summary: List berries parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - berries + - berries security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedBerrySummaryList" - description: "" + $ref: '#/components/schemas/PaginatedBerrySummaryList' + description: '' /api/v2/berry/{id}/: get: - operationId: berry_retrieve + operationId: api_v2_berry_retrieve description: Berries are small fruits that can provide HP and status condition restoration, stat enhancement, and even damage negation when eaten by Pokémon. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Berry) for greater detail. summary: Get a berry parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - berries + - berries security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/BerryDetail" - description: "" + $ref: '#/components/schemas/BerryDetail' + description: '' /api/v2/berry-firmness/: get: - operationId: berry_firmness_list + operationId: api_v2_berry_firmness_list description: Berries can be soft or hard. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Category:Berries_by_firmness) for greater detail. summary: List berry firmness parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - berries + - berries security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedBerryFirmnessSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedBerryFirmnessSummaryList' + description: '' /api/v2/berry-firmness/{id}/: get: - operationId: berry_firmness_retrieve + operationId: api_v2_berry_firmness_retrieve description: Berries can be soft or hard. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Category:Berries_by_firmness) for greater detail. summary: Get berry by firmness parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - berries + - berries security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/BerryFirmnessDetail" - description: "" + $ref: '#/components/schemas/BerryFirmnessDetail' + description: '' /api/v2/berry-flavor/: get: - operationId: berry_flavor_list + operationId: api_v2_berry_flavor_list description: Flavors determine whether a Pokémon will benefit or suffer from eating a berry based on their **nature**. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Flavor) for greater detail. summary: List berry flavors parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - berries + - berries security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedBerryFlavorSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedBerryFlavorSummaryList' + description: '' /api/v2/berry-flavor/{id}/: get: - operationId: berry_flavor_retrieve + operationId: api_v2_berry_flavor_retrieve description: Flavors determine whether a Pokémon will benefit or suffer from eating a berry based on their **nature**. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Flavor) for greater detail. summary: Get berries by flavor parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - berries + - berries security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/BerryFlavorDetail" - description: "" + $ref: '#/components/schemas/BerryFlavorDetail' + description: '' /api/v2/characteristic/: get: - operationId: characteristic_list + operationId: api_v2_characteristic_list description: Characteristics indicate which stat contains a Pokémon's highest IV. A Pokémon's Characteristic is determined by the remainder of its highest IV divided by 5 (gene_modulo). Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Characteristic) for greater detail. summary: List charecterictics parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedCharacteristicSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedCharacteristicSummaryList' + description: '' /api/v2/characteristic/{id}/: get: - operationId: characteristic_retrieve + operationId: api_v2_characteristic_retrieve description: Characteristics indicate which stat contains a Pokémon's highest IV. A Pokémon's Characteristic is determined by the remainder of its highest IV divided by 5 (gene_modulo). Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Characteristic) for greater detail. summary: Get characteristic parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/CharacteristicDetail" - description: "" + $ref: '#/components/schemas/CharacteristicDetail' + description: '' /api/v2/contest-type/: get: - operationId: contest_type_list + operationId: api_v2_contest_type_list description: Contest types are categories judges used to weigh a Pokémon's condition in Pokémon contests. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Contest_condition) for greater detail. summary: List contest types parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - contests + - contests security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedContestTypeSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedContestTypeSummaryList' + description: '' /api/v2/contest-type/{id}/: get: - operationId: contest_type_retrieve + operationId: api_v2_contest_type_retrieve description: Contest types are categories judges used to weigh a Pokémon's condition in Pokémon contests. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Contest_condition) for greater detail. summary: Get contest type parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - contests + - contests security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/ContestTypeDetail" - description: "" + $ref: '#/components/schemas/ContestTypeDetail' + description: '' /api/v2/contest-effect/: get: - operationId: contest_effect_list + operationId: api_v2_contest_effect_list description: Contest effects refer to the effects of moves when used in contests. summary: List contest effects parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - contests + - contests security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedContestEffectSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedContestEffectSummaryList' + description: '' /api/v2/contest-effect/{id}/: get: - operationId: contest_effect_retrieve + operationId: api_v2_contest_effect_retrieve description: Contest effects refer to the effects of moves when used in contests. summary: Get contest effect parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - contests + - contests security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/ContestEffectDetail" - description: "" + $ref: '#/components/schemas/ContestEffectDetail' + description: '' /api/v2/egg-group/: get: - operationId: egg_group_list + operationId: api_v2_egg_group_list description: Egg Groups are categories which determine which Pokémon are able to interbreed. Pokémon may belong to either one or two Egg Groups. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Egg_Group) for greater detail. summary: List egg groups parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedEggGroupSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedEggGroupSummaryList' + description: '' /api/v2/egg-group/{id}/: get: - operationId: egg_group_retrieve + operationId: api_v2_egg_group_retrieve description: Egg Groups are categories which determine which Pokémon are able to interbreed. Pokémon may belong to either one or two Egg Groups. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Egg_Group) for greater detail. summary: Get egg group parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/EggGroupDetail" - description: "" + $ref: '#/components/schemas/EggGroupDetail' + description: '' /api/v2/encounter-method/: get: - operationId: encounter_method_list + operationId: api_v2_encounter_method_list description: 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. summary: List encounter methods parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - encounters + - encounters security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedEncounterMethodSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedEncounterMethodSummaryList' + description: '' /api/v2/encounter-method/{id}/: get: - operationId: encounter_method_retrieve + operationId: api_v2_encounter_method_retrieve description: 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. summary: Get encounter method parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - encounters + - encounters security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/EncounterMethodDetail" - description: "" + $ref: '#/components/schemas/EncounterMethodDetail' + description: '' /api/v2/encounter-condition/: get: - operationId: encounter_condition_list + operationId: api_v2_encounter_condition_list description: Conditions which affect what pokemon might appear in the wild, e.g., day or night. summary: List encounter conditions parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - encounters + - encounters security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedEncounterConditionSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedEncounterConditionSummaryList' + description: '' /api/v2/encounter-condition/{id}/: get: - operationId: encounter_condition_retrieve + operationId: api_v2_encounter_condition_retrieve description: Conditions which affect what pokemon might appear in the wild, e.g., day or night. summary: Get encounter condition parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - encounters + - encounters security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/EncounterConditionDetail" - description: "" + $ref: '#/components/schemas/EncounterConditionDetail' + description: '' /api/v2/encounter-condition-value/: get: - operationId: encounter_condition_value_list + operationId: api_v2_encounter_condition_value_list description: Encounter condition values are the various states that an encounter condition can have, i.e., time of day can be either day or night. summary: List encounter condition values parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - encounters + - encounters security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedEncounterConditionValueSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedEncounterConditionValueSummaryList' + description: '' /api/v2/encounter-condition-value/{id}/: get: - operationId: encounter_condition_value_retrieve + operationId: api_v2_encounter_condition_value_retrieve description: Encounter condition values are the various states that an encounter condition can have, i.e., time of day can be either day or night. summary: Get encounter condition value parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - encounters + - encounters security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/EncounterConditionValueDetail" - description: "" + $ref: '#/components/schemas/EncounterConditionValueDetail' + description: '' /api/v2/evolution-chain/: get: - operationId: evolution_chain_list + operationId: api_v2_evolution_chain_list description: 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. summary: List evolution chains parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - evolution + - evolution security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedEvolutionChainSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedEvolutionChainSummaryList' + description: '' /api/v2/evolution-chain/{id}/: get: - operationId: evolution_chain_retrieve + operationId: api_v2_evolution_chain_retrieve description: 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. summary: Get evolution chain parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - evolution + - evolution security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/EvolutionChainDetail" - description: "" + $ref: '#/components/schemas/EvolutionChainDetail' + description: '' /api/v2/evolution-trigger/: get: - operationId: evolution_trigger_list + operationId: api_v2_evolution_trigger_list description: 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. summary: List evolution triggers parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - evolution + - evolution security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedEvolutionTriggerSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedEvolutionTriggerSummaryList' + description: '' /api/v2/evolution-trigger/{id}/: get: - operationId: evolution_trigger_retrieve + operationId: api_v2_evolution_trigger_retrieve description: 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. summary: Get evolution trigger parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - evolution + - evolution security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/EvolutionTriggerDetail" - description: "" + $ref: '#/components/schemas/EvolutionTriggerDetail' + description: '' /api/v2/generation/: get: - operationId: generation_list + operationId: api_v2_generation_list description: 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. summary: List genrations parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - games + - games security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedGenerationSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedGenerationSummaryList' + description: '' /api/v2/generation/{id}/: get: - operationId: generation_retrieve + operationId: api_v2_generation_retrieve description: 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. summary: Get genration parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - games + - games security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/GenerationDetail" - description: "" + $ref: '#/components/schemas/GenerationDetail' + description: '' /api/v2/gender/: get: - operationId: gender_list + operationId: api_v2_gender_list description: Genders were introduced in Generation II for the purposes of breeding Pokémon but can also result in visual differences or even different evolutionary lines. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Gender) for greater detail. summary: List genders parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedGenderSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedGenderSummaryList' + description: '' /api/v2/gender/{id}/: get: - operationId: gender_retrieve + operationId: api_v2_gender_retrieve description: Genders were introduced in Generation II for the purposes of breeding Pokémon but can also result in visual differences or even different evolutionary lines. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Gender) for greater detail. summary: Get gender parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/GenderDetail" - description: "" + $ref: '#/components/schemas/GenderDetail' + description: '' /api/v2/growth-rate/: get: - operationId: growth_rate_list + operationId: api_v2_growth_rate_list description: Growth rates are the speed with which Pokémon gain levels through experience. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Experience) for greater detail. summary: List growth rates parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedGrowthRateSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedGrowthRateSummaryList' + description: '' /api/v2/growth-rate/{id}/: get: - operationId: growth_rate_retrieve + operationId: api_v2_growth_rate_retrieve description: Growth rates are the speed with which Pokémon gain levels through experience. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Experience) for greater detail. summary: Get growth rate parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/GrowthRateDetail" - description: "" + $ref: '#/components/schemas/GrowthRateDetail' + description: '' /api/v2/item/: get: - operationId: item_list + operationId: api_v2_item_list description: 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. summary: List items parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - items + - items security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedItemSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedItemSummaryList' + description: '' /api/v2/item/{id}/: get: - operationId: item_retrieve + operationId: api_v2_item_retrieve description: 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. summary: Get item parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - items + - items security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/ItemDetail" - description: "" + $ref: '#/components/schemas/ItemDetail' + description: '' /api/v2/item-category/: get: - operationId: item_category_list + operationId: api_v2_item_category_list description: Item categories determine where items will be placed in the players bag. summary: List item categories parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - items + - items security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedItemCategorySummaryList" - description: "" + $ref: '#/components/schemas/PaginatedItemCategorySummaryList' + description: '' /api/v2/item-category/{id}/: get: - operationId: item_category_retrieve + operationId: api_v2_item_category_retrieve description: Item categories determine where items will be placed in the players bag. summary: Get item category parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - items + - items security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/ItemCategoryDetail" - description: "" + $ref: '#/components/schemas/ItemCategoryDetail' + description: '' /api/v2/item-attribute/: get: - operationId: item_attribute_list + operationId: api_v2_item_attribute_list description: Item attributes define particular aspects of items, e.g."usable in battle" or "consumable". summary: List item attributes parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - items + - items security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedItemAttributeSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedItemAttributeSummaryList' + description: '' /api/v2/item-attribute/{id}/: get: - operationId: item_attribute_retrieve + operationId: api_v2_item_attribute_retrieve description: Item attributes define particular aspects of items, e.g."usable in battle" or "consumable". summary: Get item attribute parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - items + - items security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/ItemAttributeDetail" - description: "" + $ref: '#/components/schemas/ItemAttributeDetail' + description: '' /api/v2/item-fling-effect/: get: - operationId: item_fling_effect_list + operationId: api_v2_item_fling_effect_list description: The various effects of the move"Fling" when used with different items. summary: List item fling effects parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - items + - items security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedItemFlingEffectSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedItemFlingEffectSummaryList' + description: '' /api/v2/item-fling-effect/{id}/: get: - operationId: item_fling_effect_retrieve + operationId: api_v2_item_fling_effect_retrieve description: The various effects of the move"Fling" when used with different items. summary: Get item fling effect parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - items + - items security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/ItemFlingEffectDetail" - description: "" + $ref: '#/components/schemas/ItemFlingEffectDetail' + description: '' /api/v2/item-pocket/: get: - operationId: item_pocket_list + operationId: api_v2_item_pocket_list description: Pockets within the players bag used for storing items by category. summary: List item pockets parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - items + - items security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedItemPocketSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedItemPocketSummaryList' + description: '' /api/v2/item-pocket/{id}/: get: - operationId: item_pocket_retrieve + operationId: api_v2_item_pocket_retrieve description: Pockets within the players bag used for storing items by category. summary: Get item pocket parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - items + - items security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/ItemPocketDetail" - description: "" + $ref: '#/components/schemas/ItemPocketDetail' + description: '' /api/v2/language/: get: - operationId: language_list + operationId: api_v2_language_list description: Languages for translations of API resource information. summary: List languages parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - utility + - utility security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedLanguageSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedLanguageSummaryList' + description: '' /api/v2/language/{id}/: get: - operationId: language_retrieve + operationId: api_v2_language_retrieve description: Languages for translations of API resource information. summary: Get language parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - utility + - utility security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/LanguageDetail" - description: "" + $ref: '#/components/schemas/LanguageDetail' + description: '' /api/v2/location/: get: - operationId: location_list + operationId: api_v2_location_list description: Locations that can be visited within the games. Locations make up sizable portions of regions, like cities or routes. summary: List locations parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - location + - location security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedLocationSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedLocationSummaryList' + description: '' /api/v2/location/{id}/: get: - operationId: location_retrieve + operationId: api_v2_location_retrieve description: Locations that can be visited within the games. Locations make up sizable portions of regions, like cities or routes. summary: Get location parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - location + - location security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/LocationDetail" - description: "" + $ref: '#/components/schemas/LocationDetail' + description: '' /api/v2/location-area/: get: - operationId: location_area_list + operationId: api_v2_location_area_list description: 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. summary: List location areas parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer tags: - - location + - location security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedLocationAreaSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedLocationAreaSummaryList' + description: '' /api/v2/location-area/{id}/: get: - operationId: location_area_retrieve + operationId: api_v2_location_area_retrieve description: 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. summary: Get location area parameters: - - in: path - name: id - schema: - type: integer - description: A unique integer value identifying this location area. - required: true + - in: path + name: id + schema: + type: integer + description: A unique integer value identifying this location area. + required: true tags: - - location + - location security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/LocationAreaDetail" - description: "" + $ref: '#/components/schemas/LocationAreaDetail' + description: '' /api/v2/machine/: get: - operationId: machine_list + operationId: api_v2_machine_list description: Machines are the representation of items that teach moves to Pokémon. They vary from version to version, so it is not certain that one specific TM or HM corresponds to a single Machine. summary: List machines parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - machines + - machines security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedMachineSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedMachineSummaryList' + description: '' /api/v2/machine/{id}/: get: - operationId: machine_retrieve + operationId: api_v2_machine_retrieve description: Machines are the representation of items that teach moves to Pokémon. They vary from version to version, so it is not certain that one specific TM or HM corresponds to a single Machine. summary: Get machine parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - machines + - machines security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/MachineDetail" - description: "" + $ref: '#/components/schemas/MachineDetail' + description: '' /api/v2/move/: get: - operationId: move_list + operationId: api_v2_move_list description: Moves are the skills of Pokémon in battle. In battle, a Pokémon uses one move each turn. Some moves (including those learned by Hidden Machine) can be used outside of battle as well, usually for the purpose of removing obstacles or exploring new areas. summary: List moves parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - moves + - moves security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedMoveSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedMoveSummaryList' + description: '' /api/v2/move/{id}/: get: - operationId: move_retrieve + operationId: api_v2_move_retrieve description: Moves are the skills of Pokémon in battle. In battle, a Pokémon uses one move each turn. Some moves (including those learned by Hidden Machine) can be used outside of battle as well, usually for the purpose of removing obstacles or exploring new areas. summary: Get move parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - moves + - moves security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/MoveDetail" - description: "" + $ref: '#/components/schemas/MoveDetail' + description: '' /api/v2/move-ailment/: get: - operationId: move_ailment_list + operationId: api_v2_move_ailment_list description: Move Ailments are status conditions caused by moves used during battle. See [Bulbapedia](https://bulbapedia.bulbagarden.net/wiki/Status_condition) for greater detail. summary: List move meta ailments parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - moves + - moves security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedMoveMetaAilmentSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedMoveMetaAilmentSummaryList' + description: '' /api/v2/move-ailment/{id}/: get: - operationId: move_ailment_retrieve + operationId: api_v2_move_ailment_retrieve description: Move Ailments are status conditions caused by moves used during battle. See [Bulbapedia](https://bulbapedia.bulbagarden.net/wiki/Status_condition) for greater detail. summary: Get move meta ailment parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - moves + - moves security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/MoveMetaAilmentDetail" - description: "" + $ref: '#/components/schemas/MoveMetaAilmentDetail' + description: '' /api/v2/move-battle-style/: get: - operationId: move_battle_style_list + operationId: api_v2_move_battle_style_list description: Styles of moves when used in the Battle Palace. See [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Battle_Frontier_(Generation_III)) for greater detail. summary: List move battle styles parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - moves + - moves security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedMoveBattleStyleSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedMoveBattleStyleSummaryList' + description: '' /api/v2/move-battle-style/{id}/: get: - operationId: move_battle_style_retrieve + operationId: api_v2_move_battle_style_retrieve description: Styles of moves when used in the Battle Palace. See [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Battle_Frontier_(Generation_III)) for greater detail. summary: Get move battle style parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - moves + - moves security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/MoveBattleStyleDetail" - description: "" + $ref: '#/components/schemas/MoveBattleStyleDetail' + description: '' /api/v2/move-category/: get: - operationId: move_category_list + operationId: api_v2_move_category_list description: Very general categories that loosely group move effects. summary: List move meta categories parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - moves + - moves security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedMoveMetaCategorySummaryList" - description: "" + $ref: '#/components/schemas/PaginatedMoveMetaCategorySummaryList' + description: '' /api/v2/move-category/{id}/: get: - operationId: move_category_retrieve + operationId: api_v2_move_category_retrieve description: Very general categories that loosely group move effects. summary: Get move meta category parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - moves + - moves security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/MoveMetaCategoryDetail" - description: "" + $ref: '#/components/schemas/MoveMetaCategoryDetail' + description: '' /api/v2/move-damage-class/: get: - operationId: move_damage_class_list + operationId: api_v2_move_damage_class_list description: Damage classes moves can have, e.g. physical, special, or non-damaging. summary: List move damage classes parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedMoveDamageClassSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedMoveDamageClassSummaryList' + description: '' /api/v2/move-damage-class/{id}/: get: - operationId: move_damage_class_retrieve + operationId: api_v2_move_damage_class_retrieve description: Damage classes moves can have, e.g. physical, special, or non-damaging. summary: Get move damage class parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/MoveDamageClassDetail" - description: "" + $ref: '#/components/schemas/MoveDamageClassDetail' + description: '' /api/v2/move-learn-method/: get: - operationId: move_learn_method_list + operationId: api_v2_move_learn_method_list description: Methods by which Pokémon can learn moves. summary: List move learn methods parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - moves + - moves security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedMoveLearnMethodSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedMoveLearnMethodSummaryList' + description: '' /api/v2/move-learn-method/{id}/: get: - operationId: move_learn_method_retrieve + operationId: api_v2_move_learn_method_retrieve description: Methods by which Pokémon can learn moves. summary: Get move learn method parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - moves + - moves security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/MoveLearnMethodDetail" - description: "" + $ref: '#/components/schemas/MoveLearnMethodDetail' + description: '' /api/v2/move-target/: get: - operationId: move_target_list + operationId: api_v2_move_target_list description: Targets moves can be directed at during battle. Targets can be Pokémon, environments or even other moves. summary: List move targets parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - moves + - moves security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedMoveTargetSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedMoveTargetSummaryList' + description: '' /api/v2/move-target/{id}/: get: - operationId: move_target_retrieve + operationId: api_v2_move_target_retrieve description: Targets moves can be directed at during battle. Targets can be Pokémon, environments or even other moves. summary: Get move target parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - moves + - moves security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/MoveTargetDetail" - description: "" + $ref: '#/components/schemas/MoveTargetDetail' + description: '' /api/v2/nature/: get: - operationId: nature_list + operationId: api_v2_nature_list description: Natures influence how a Pokémon's stats grow. See [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Nature) for greater detail. summary: List natures parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedNatureSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedNatureSummaryList' + description: '' /api/v2/nature/{id}/: get: - operationId: nature_retrieve + operationId: api_v2_nature_retrieve description: Natures influence how a Pokémon's stats grow. See [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Nature) for greater detail. summary: Get nature parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/NatureDetail" - description: "" + $ref: '#/components/schemas/NatureDetail' + description: '' /api/v2/pal-park-area/: get: - operationId: pal_park_area_list + operationId: api_v2_pal_park_area_list description: Areas used for grouping Pokémon encounters in Pal Park. They're like habitats that are specific to Pal Park. summary: List pal park areas parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - location + - location security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedPalParkAreaSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedPalParkAreaSummaryList' + description: '' /api/v2/pal-park-area/{id}/: get: - operationId: pal_park_area_retrieve + operationId: api_v2_pal_park_area_retrieve description: Areas used for grouping Pokémon encounters in Pal Park. They're like habitats that are specific to Pal Park. summary: Get pal park area parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - location + - location security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PalParkAreaDetail" - description: "" + $ref: '#/components/schemas/PalParkAreaDetail' + description: '' /api/v2/pokedex/: get: - operationId: pokedex_list + operationId: api_v2_pokedex_list description: 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 @@ -2224,40 +2224,40 @@ paths: for greater detail. summary: List pokedex parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - games + - games security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedPokedexSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedPokedexSummaryList' + description: '' /api/v2/pokedex/{id}/: get: - operationId: pokedex_retrieve + operationId: api_v2_pokedex_retrieve description: 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 @@ -2265,28 +2265,28 @@ paths: for greater detail. summary: Get pokedex parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - games + - games security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PokedexDetail" - description: "" + $ref: '#/components/schemas/PokedexDetail' + description: '' /api/v2/pokemon/: get: - operationId: pokemon_list + operationId: api_v2_pokemon_list description: Pokémon are the creatures that inhabit the world of the Pokémon games. They can be caught using Pokéballs and trained by battling with other Pokémon. Each Pokémon belongs to a specific species but may take on a variant @@ -2295,40 +2295,40 @@ paths: for greater detail. summary: List pokemon parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedPokemonSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedPokemonSummaryList' + description: '' /api/v2/pokemon/{id}/: get: - operationId: pokemon_retrieve + operationId: api_v2_pokemon_retrieve description: Pokémon are the creatures that inhabit the world of the Pokémon games. They can be caught using Pokéballs and trained by battling with other Pokémon. Each Pokémon belongs to a specific species but may take on a variant @@ -2337,831 +2337,831 @@ paths: for greater detail. summary: Get pokemon parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PokemonDetail" - description: "" + $ref: '#/components/schemas/PokemonDetail' + description: '' /api/v2/pokemon-color/: get: - operationId: pokemon_color_list + operationId: api_v2_pokemon_color_list description: Colors used for sorting Pokémon in a Pokédex. The color listed in the Pokédex is usually the color most apparent or covering each Pokémon's body. No orange category exists; Pokémon that are primarily orange are listed as red or brown. summary: List pokemon colors parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedPokemonColorSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedPokemonColorSummaryList' + description: '' /api/v2/pokemon-color/{id}/: get: - operationId: pokemon_color_retrieve + operationId: api_v2_pokemon_color_retrieve description: Colors used for sorting Pokémon in a Pokédex. The color listed in the Pokédex is usually the color most apparent or covering each Pokémon's body. No orange category exists; Pokémon that are primarily orange are listed as red or brown. summary: Get pokemon color parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PokemonColorDetail" - description: "" + $ref: '#/components/schemas/PokemonColorDetail' + description: '' /api/v2/pokemon-form/: get: - operationId: pokemon_form_list + operationId: api_v2_pokemon_form_list description: Some Pokémon may appear in one of multiple, visually different forms. These differences are purely cosmetic. For variations within a Pokémon species, which do differ in more than just visuals, the 'Pokémon' entity is used to represent such a variety. summary: List pokemon forms parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedPokemonFormSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedPokemonFormSummaryList' + description: '' /api/v2/pokemon-form/{id}/: get: - operationId: pokemon_form_retrieve + operationId: api_v2_pokemon_form_retrieve description: Some Pokémon may appear in one of multiple, visually different forms. These differences are purely cosmetic. For variations within a Pokémon species, which do differ in more than just visuals, the 'Pokémon' entity is used to represent such a variety. summary: Get pokemon form parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PokemonFormDetail" - description: "" + $ref: '#/components/schemas/PokemonFormDetail' + description: '' /api/v2/pokemon-habitat/: get: - operationId: pokemon_habitat_list + operationId: api_v2_pokemon_habitat_list description: Habitats are generally different terrain Pokémon can be found in but can also be areas designated for rare or legendary Pokémon. summary: List pokemom habitas parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedPokemonHabitatSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedPokemonHabitatSummaryList' + description: '' /api/v2/pokemon-habitat/{id}/: get: - operationId: pokemon_habitat_retrieve + operationId: api_v2_pokemon_habitat_retrieve description: Habitats are generally different terrain Pokémon can be found in but can also be areas designated for rare or legendary Pokémon. summary: Get pokemom habita parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PokemonHabitatDetail" - description: "" + $ref: '#/components/schemas/PokemonHabitatDetail' + description: '' /api/v2/pokemon-shape/: get: - operationId: pokemon_shape_list + operationId: api_v2_pokemon_shape_list description: Shapes used for sorting Pokémon in a Pokédex. summary: List pokemon shapes parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedPokemonShapeSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedPokemonShapeSummaryList' + description: '' /api/v2/pokemon-shape/{id}/: get: - operationId: pokemon_shape_retrieve + operationId: api_v2_pokemon_shape_retrieve description: Shapes used for sorting Pokémon in a Pokédex. summary: Get pokemon shape parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PokemonShapeDetail" - description: "" + $ref: '#/components/schemas/PokemonShapeDetail' + description: '' /api/v2/pokemon-species/: get: - operationId: pokemon_species_list + operationId: api_v2_pokemon_species_list description: A Pokémon Species forms the basis for at least one Pokémon. Attributes of a Pokémon species are shared across all varieties of Pokémon within the species. A good example is Wormadam; Wormadam is the species which can be found in three different varieties, Wormadam-Trash, Wormadam-Sandy and Wormadam-Plant. summary: List pokemon species parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedPokemonSpeciesSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedPokemonSpeciesSummaryList' + description: '' /api/v2/pokemon-species/{id}/: get: - operationId: pokemon_species_retrieve + operationId: api_v2_pokemon_species_retrieve description: A Pokémon Species forms the basis for at least one Pokémon. Attributes of a Pokémon species are shared across all varieties of Pokémon within the species. A good example is Wormadam; Wormadam is the species which can be found in three different varieties, Wormadam-Trash, Wormadam-Sandy and Wormadam-Plant. summary: Get pokemon species parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PokemonSpeciesDetail" - description: "" + $ref: '#/components/schemas/PokemonSpeciesDetail' + description: '' /api/v2/pokeathlon-stat/: get: - operationId: pokeathlon_stat_list + operationId: api_v2_pokeathlon_stat_list description: Pokeathlon Stats are different attributes of a Pokémon's performance in Pokéathlons. In Pokéathlons, competitions happen on different courses; one for each of the different Pokéathlon stats. See [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Pok%C3%A9athlon) for greater detail. summary: List pokeathlon stats parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedPokeathlonStatSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedPokeathlonStatSummaryList' + description: '' /api/v2/pokeathlon-stat/{id}/: get: - operationId: pokeathlon_stat_retrieve + operationId: api_v2_pokeathlon_stat_retrieve description: Pokeathlon Stats are different attributes of a Pokémon's performance in Pokéathlons. In Pokéathlons, competitions happen on different courses; one for each of the different Pokéathlon stats. See [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Pok%C3%A9athlon) for greater detail. summary: Get pokeathlon stat parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PokeathlonStatDetail" - description: "" + $ref: '#/components/schemas/PokeathlonStatDetail' + description: '' /api/v2/region/: get: - operationId: region_list + operationId: api_v2_region_list description: 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. summary: List regions parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - location + - location security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedRegionSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedRegionSummaryList' + description: '' /api/v2/region/{id}/: get: - operationId: region_retrieve + operationId: api_v2_region_retrieve description: 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. summary: Get region parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - location + - location security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/RegionDetail" - description: "" + $ref: '#/components/schemas/RegionDetail' + description: '' /api/v2/stat/: get: - operationId: stat_list + operationId: api_v2_stat_list description: Stats determine certain aspects of battles. Each Pokémon has a value for each stat which grows as they gain levels and can be altered momentarily by effects in battles. summary: List stats parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedStatSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedStatSummaryList' + description: '' /api/v2/stat/{id}/: get: - operationId: stat_retrieve + operationId: api_v2_stat_retrieve description: Stats determine certain aspects of battles. Each Pokémon has a value for each stat which grows as they gain levels and can be altered momentarily by effects in battles. summary: Get stat parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/StatDetail" - description: "" + $ref: '#/components/schemas/StatDetail' + description: '' /api/v2/super-contest-effect/: get: - operationId: super_contest_effect_list + operationId: api_v2_super_contest_effect_list description: Super contest effects refer to the effects of moves when used in super contests. summary: List super contest effects parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - contests + - contests security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedSuperContestEffectSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedSuperContestEffectSummaryList' + description: '' /api/v2/super-contest-effect/{id}/: get: - operationId: super_contest_effect_retrieve + operationId: api_v2_super_contest_effect_retrieve description: Super contest effects refer to the effects of moves when used in super contests. summary: Get super contest effect parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - contests + - contests security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/SuperContestEffectDetail" - description: "" + $ref: '#/components/schemas/SuperContestEffectDetail' + description: '' /api/v2/type/: get: - operationId: type_list - description: "Types are properties for Pokémon and their moves. Each type has + operationId: api_v2_type_list + description: 'Types are properties for Pokémon and their moves. Each type has three properties: which types of Pokémon it is super effective against, which types of Pokémon it is not very effective against, and which types of Pokémon - it is completely ineffective against." + it is completely ineffective against.' summary: List types parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedTypeSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedTypeSummaryList' + description: '' /api/v2/type/{id}/: get: - operationId: type_retrieve - description: "Types are properties for Pokémon and their moves. Each type has + operationId: api_v2_type_retrieve + description: 'Types are properties for Pokémon and their moves. Each type has three properties: which types of Pokémon it is super effective against, which types of Pokémon it is not very effective against, and which types of Pokémon - it is completely ineffective against." + it is completely ineffective against.' summary: Get types parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - pokemon + - pokemon security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/TypeDetail" - description: "" + $ref: '#/components/schemas/TypeDetail' + description: '' /api/v2/version/: get: - operationId: version_list + operationId: api_v2_version_list description: Versions of the games, e.g., Red, Blue or Yellow. summary: List versions parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - games + - games security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedVersionSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedVersionSummaryList' + description: '' /api/v2/version/{id}/: get: - operationId: version_retrieve + operationId: api_v2_version_retrieve description: Versions of the games, e.g., Red, Blue or Yellow. summary: Get version parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - games + - games security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/VersionDetail" - description: "" + $ref: '#/components/schemas/VersionDetail' + description: '' /api/v2/version-group/: get: - operationId: version_group_list + operationId: api_v2_version_group_list description: Version groups categorize highly similar versions of the games. summary: List version groups parameters: - - name: limit - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: offset - required: false - in: query - description: The initial index from which to return the results. - schema: - type: integer - - in: query - name: q - schema: - type: string - description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ - Case-insensitive query applied on the `name` property. " + - name: limit + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: offset + required: false + in: query + description: The initial index from which to return the results. + schema: + type: integer + - in: query + name: q + schema: + type: string + description: "> Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2)\n\ + Case-insensitive query applied on the `name` property. " tags: - - games + - games security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/PaginatedVersionGroupSummaryList" - description: "" + $ref: '#/components/schemas/PaginatedVersionGroupSummaryList' + description: '' /api/v2/version-group/{id}/: get: - operationId: version_group_retrieve + operationId: api_v2_version_group_retrieve description: Version groups categorize highly similar versions of the games. summary: Get version group parameters: - - in: path - name: id - schema: - type: string - description: This parameter can be a string or an integer. - required: true + - in: path + name: id + schema: + type: string + description: This parameter can be a string or an integer. + required: true tags: - - games + - games security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: - $ref: "#/components/schemas/VersionGroupDetail" - description: "" + $ref: '#/components/schemas/VersionGroupDetail' + description: '' /api/v2/pokemon/{pokemon_id}/encounters: get: - operationId: pokemon_encounters_retrieve + operationId: api_v2_pokemon_encounters_retrieve description: Handles Pokemon Encounters as a sub-resource. summary: Get pokemon encounter parameters: - - in: path - name: pokemon_id - schema: - type: string - pattern: ^\d+$ - required: true + - in: path + name: pokemon_id + schema: + type: string + pattern: ^\d+$ + required: true tags: - - encounters + - encounters security: - - cookieAuth: [] - - basicAuth: [] - - {} + - cookieAuth: [] + - basicAuth: [] + - {} responses: - "200": + '200': content: application/json: schema: @@ -3169,14 +3169,14 @@ paths: items: type: object required: - - location_area - - version_details + - location_area + - version_details properties: location_area: type: object required: - - name - - url + - name + - url properties: name: type: string @@ -3190,20 +3190,20 @@ paths: items: type: object required: - - encounter_details - - max_chance - - version + - encounter_details + - max_chance + - version properties: encounter_details: type: array items: type: object required: - - chance - - condition_values - - max_level - - method - - min_level + - chance + - condition_values + - max_level + - method + - min_level properties: chance: type: number @@ -3213,8 +3213,8 @@ paths: items: type: object required: - - name - - url + - name + - url properties: name: type: string @@ -3229,8 +3229,8 @@ paths: method: type: object required: - - name - - url + - name + - url properties: name: type: string @@ -3248,8 +3248,8 @@ paths: version: type: object required: - - name - - url + - name + - url properties: name: type: string @@ -3258,22 +3258,22 @@ paths: type: string format: uri example: https://pokeapi.co/api/v2/version/1/ - description: "" + description: '' components: schemas: AbilityChange: type: object properties: version_group: - $ref: "#/components/schemas/VersionGroupSummary" + $ref: '#/components/schemas/VersionGroupSummary' effect_entries: type: array items: - $ref: "#/components/schemas/AbilityChangeEffectText" + $ref: '#/components/schemas/AbilityChangeEffectText' readOnly: true required: - - effect_entries - - version_group + - effect_entries + - version_group AbilityChangeEffectText: type: object properties: @@ -3281,10 +3281,10 @@ components: type: string maxLength: 6000 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - effect - - language + - effect + - language AbilityDetail: type: object properties: @@ -3297,35 +3297,35 @@ components: is_main_series: type: boolean generation: - $ref: "#/components/schemas/GenerationSummary" + $ref: '#/components/schemas/GenerationSummary' names: type: array items: - $ref: "#/components/schemas/AbilityName" + $ref: '#/components/schemas/AbilityName' readOnly: true effect_entries: type: array items: - $ref: "#/components/schemas/AbilityEffectText" + $ref: '#/components/schemas/AbilityEffectText' readOnly: true effect_changes: type: array items: - $ref: "#/components/schemas/AbilityChange" + $ref: '#/components/schemas/AbilityChange' readOnly: true flavor_text_entries: type: array items: - $ref: "#/components/schemas/AbilityFlavorText" + $ref: '#/components/schemas/AbilityFlavorText' readOnly: true pokemon: type: array items: type: object required: - - is_hidden - - slot - - pokemon + - is_hidden + - slot + - pokemon properties: is_hidden: type: boolean @@ -3333,32 +3333,32 @@ components: type: integer format: int32 examples: - - 3 + - 3 pokemon: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - gloom + - gloom url: type: string format: uri examples: - - https://pokeapi.co/api/v2/pokemon/44/ + - https://pokeapi.co/api/v2/pokemon/44/ readOnly: true required: - - effect_changes - - effect_entries - - flavor_text_entries - - generation - - id - - name - - names - - pokemon + - effect_changes + - effect_entries + - flavor_text_entries + - generation + - id + - name + - names + - pokemon AbilityEffectText: type: object properties: @@ -3369,24 +3369,24 @@ components: type: string maxLength: 300 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - effect - - language - - short_effect + - effect + - language + - short_effect AbilityFlavorText: type: object properties: flavor_text: type: string language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' version_group: - $ref: "#/components/schemas/VersionGroupSummary" + $ref: '#/components/schemas/VersionGroupSummary' required: - - flavor_text - - language - - version_group + - flavor_text + - language + - version_group AbilityName: type: object properties: @@ -3394,10 +3394,10 @@ components: type: string maxLength: 200 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - name + - language + - name AbilitySummary: type: object properties: @@ -3409,8 +3409,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url BerryDetail: type: object properties: @@ -3433,54 +3433,54 @@ components: soil_dryness: type: integer firmness: - $ref: "#/components/schemas/BerryFirmnessSummary" + $ref: '#/components/schemas/BerryFirmnessSummary' flavors: type: array items: type: object required: - - potency - - flavor + - potency + - flavor properties: potency: type: integer examples: - - 10 + - 10 flavor: type: object require: - - name - - url + - name + - url properties: name: type: string description: The name of the flavor examples: - - spicy + - spicy url: type: string format: uri description: The URL to get more information about the flavor examples: - - https://pokeapi.co/api/v2/berry-flavor/1/ + - https://pokeapi.co/api/v2/berry-flavor/1/ readOnly: true item: - $ref: "#/components/schemas/ItemSummary" + $ref: '#/components/schemas/ItemSummary' natural_gift_type: - $ref: "#/components/schemas/TypeSummary" - required: - - firmness - - flavors - - growth_time - - id - - item - - max_harvest - - name - - natural_gift_power - - natural_gift_type - - size - - smoothness - - soil_dryness + $ref: '#/components/schemas/TypeSummary' + required: + - firmness + - flavors + - growth_time + - id + - item + - max_harvest + - name + - natural_gift_power + - natural_gift_type + - size + - smoothness + - soil_dryness BerryFirmnessDetail: type: object properties: @@ -3493,18 +3493,18 @@ components: berries: type: array items: - $ref: "#/components/schemas/BerrySummary" + $ref: '#/components/schemas/BerrySummary' readOnly: true names: type: array items: - $ref: "#/components/schemas/BerryFirmnessName" + $ref: '#/components/schemas/BerryFirmnessName' readOnly: true required: - - berries - - id - - name - - names + - berries + - id + - name + - names BerryFirmnessName: type: object properties: @@ -3512,10 +3512,10 @@ components: type: string maxLength: 200 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - name + - language + - name BerryFirmnessSummary: type: object properties: @@ -3527,8 +3527,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url BerryFlavorDetail: type: object properties: @@ -3543,44 +3543,44 @@ components: items: type: object required: - - potency - - berry + - potency + - berry properties: potency: type: integer examples: - - 10 + - 10 berry: type: object require: - - name - - url + - name + - url properties: name: type: string description: The name of the berry examples: - - rowap + - rowap url: type: string format: uri description: The URL to get more information about the berry examples: - - https://pokeapi.co/api/v2/berry/64/ + - https://pokeapi.co/api/v2/berry/64/ readOnly: true contest_type: - $ref: "#/components/schemas/ContestTypeSummary" + $ref: '#/components/schemas/ContestTypeSummary' names: type: array items: - $ref: "#/components/schemas/BerryFlavorName" + $ref: '#/components/schemas/BerryFlavorName' readOnly: true required: - - berries - - contest_type - - id - - name - - names + - berries + - contest_type + - id + - name + - names BerryFlavorName: type: object properties: @@ -3588,10 +3588,10 @@ components: type: string maxLength: 200 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - name + - language + - name BerryFlavorSummary: type: object properties: @@ -3603,8 +3603,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url BerrySummary: type: object properties: @@ -3616,8 +3616,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url CharacteristicDescription: type: object properties: @@ -3625,9 +3625,9 @@ components: type: string maxLength: 1000 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language + - language CharacteristicDetail: type: object properties: @@ -3642,27 +3642,27 @@ components: type: integer format: int32 examples: - - - 0 - - 5 - - 10 - - 15 - - 20 - - 25 - - 30 + - - 0 + - 5 + - 10 + - 15 + - 20 + - 25 + - 30 readOnly: true highest_stat: - $ref: "#/components/schemas/StatSummary" + $ref: '#/components/schemas/StatSummary' descriptions: type: array items: - $ref: "#/components/schemas/CharacteristicDescription" + $ref: '#/components/schemas/CharacteristicDescription' readOnly: true required: - - descriptions - - gene_modulo - - highest_stat - - id - - possible_values + - descriptions + - gene_modulo + - highest_stat + - id + - possible_values CharacteristicSummary: type: object properties: @@ -3671,7 +3671,7 @@ components: format: uri readOnly: true required: - - url + - url ContestEffectDetail: type: object properties: @@ -3685,19 +3685,19 @@ components: effect_entries: type: array items: - $ref: "#/components/schemas/ContestEffectEffectText" + $ref: '#/components/schemas/ContestEffectEffectText' readOnly: true flavor_text_entries: type: array items: - $ref: "#/components/schemas/ContestEffectFlavorText" + $ref: '#/components/schemas/ContestEffectFlavorText' readOnly: true required: - - appeal - - effect_entries - - flavor_text_entries - - id - - jam + - appeal + - effect_entries + - flavor_text_entries + - id + - jam ContestEffectEffectText: type: object properties: @@ -3705,10 +3705,10 @@ components: type: string maxLength: 6000 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - effect - - language + - effect + - language ContestEffectFlavorText: type: object properties: @@ -3716,10 +3716,10 @@ components: type: string maxLength: 500 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - flavor_text - - language + - flavor_text + - language ContestEffectSummary: type: object properties: @@ -3728,7 +3728,7 @@ components: format: uri readOnly: true required: - - url + - url ContestTypeDetail: type: object properties: @@ -3740,18 +3740,18 @@ components: maxLength: 200 berry_flavor: allOf: - - $ref: "#/components/schemas/BerryFlavorSummary" + - $ref: '#/components/schemas/BerryFlavorSummary' readOnly: true names: type: array items: - $ref: "#/components/schemas/ContestTypeName" + $ref: '#/components/schemas/ContestTypeName' readOnly: true required: - - berry_flavor - - id - - name - - names + - berry_flavor + - id + - name + - names ContestTypeName: type: object properties: @@ -3762,11 +3762,11 @@ components: type: string maxLength: 10 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - color - - language - - name + - color + - language + - name ContestTypeSummary: type: object properties: @@ -3778,8 +3778,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url EggGroupDetail: type: object properties: @@ -3792,33 +3792,33 @@ components: names: type: array items: - $ref: "#/components/schemas/EggGroupName" + $ref: '#/components/schemas/EggGroupName' readOnly: true pokemon_species: type: array items: type: object required: - - potency - - flavor + - potency + - flavor properties: name: type: string description: Pokemon species name. examples: - - bulbasaur + - bulbasaur url: type: string format: uri description: The URL to get more information about the species examples: - - https://pokeapi.co/api/v2/pokemon-species/1/ + - https://pokeapi.co/api/v2/pokemon-species/1/ readOnly: true required: - - id - - name - - names - - pokemon_species + - id + - name + - names + - pokemon_species EggGroupName: type: object properties: @@ -3826,10 +3826,10 @@ components: type: string maxLength: 200 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - name + - language + - name EggGroupSummary: type: object properties: @@ -3841,8 +3841,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url EncounterConditionDetail: type: object properties: @@ -3855,18 +3855,18 @@ components: values: type: array items: - $ref: "#/components/schemas/EncounterConditionValueSummary" + $ref: '#/components/schemas/EncounterConditionValueSummary' readOnly: true names: type: array items: - $ref: "#/components/schemas/EncounterConditionName" + $ref: '#/components/schemas/EncounterConditionName' readOnly: true required: - - id - - name - - names - - values + - id + - name + - names + - values EncounterConditionName: type: object properties: @@ -3874,10 +3874,10 @@ components: type: string maxLength: 200 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - name + - language + - name EncounterConditionSummary: type: object properties: @@ -3889,8 +3889,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url EncounterConditionValueDetail: type: object properties: @@ -3901,17 +3901,17 @@ components: type: string maxLength: 200 condition: - $ref: "#/components/schemas/EncounterConditionSummary" + $ref: '#/components/schemas/EncounterConditionSummary' names: type: array items: - $ref: "#/components/schemas/EncounterConditionValueName" + $ref: '#/components/schemas/EncounterConditionValueName' readOnly: true required: - - condition - - id - - name - - names + - condition + - id + - name + - names EncounterConditionValueName: type: object properties: @@ -3919,10 +3919,10 @@ components: type: string maxLength: 200 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - name + - language + - name EncounterConditionValueSummary: type: object properties: @@ -3934,8 +3934,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url EncounterMethodDetail: type: object properties: @@ -3947,17 +3947,17 @@ components: maxLength: 200 order: type: - - integer - - "null" + - integer + - 'null' names: type: array items: - $ref: "#/components/schemas/EncounterMethodName" + $ref: '#/components/schemas/EncounterMethodName' readOnly: true required: - - id - - name - - names + - id + - name + - names EncounterMethodName: type: object properties: @@ -3965,10 +3965,10 @@ components: type: string maxLength: 200 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - name + - language + - name EncounterMethodSummary: type: object properties: @@ -3980,8 +3980,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url EvolutionChainDetail: type: object properties: @@ -3989,14 +3989,14 @@ components: type: integer readOnly: true baby_trigger_item: - $ref: "#/components/schemas/ItemSummary" + $ref: '#/components/schemas/ItemSummary' chain: type: object required: - - evolution_details - - evolves_to - - is_baby - - species + - evolution_details + - evolves_to + - is_baby + - species properties: evolution_details: type: array @@ -4007,95 +4007,95 @@ components: items: type: object required: - - evolution_details - - evolves_to - - is_baby - - species + - evolution_details + - evolves_to + - is_baby + - species properties: evolution_details: type: array items: type: object required: - - gender - - held_item - - item - - known_move - - known_move_type - - location - - min_affection - - min_beauty - - min_happiness - - min_level - - needs_overworld_rain - - party_species - - party_type - - relative_physical_stats - - time_of_day - - trade_species - - trigger - - turn_upside_down + - gender + - held_item + - item + - known_move + - known_move_type + - location + - min_affection + - min_beauty + - min_happiness + - min_level + - needs_overworld_rain + - party_species + - party_type + - relative_physical_stats + - time_of_day + - trade_species + - trigger + - turn_upside_down properties: gender: type: object nullable: true required: - - name - - url + - name + - url properties: name: type: string examples: - - 1 + - 1 url: type: string format: uri examples: - - 2 + - 2 held_item: type: object nullable: true required: - - name - - url + - name + - url properties: name: type: string examples: - - 1 + - 1 url: type: string format: uri examples: - - 2 + - 2 item: type: object nullable: true required: - - name - - url + - name + - url properties: name: type: string examples: - - 1 + - 1 url: type: string format: uri examples: - - 2 + - 2 known_move: - type: "" + type: '' nullable: true known_move_type: - type: "" + type: '' nullable: true location: type: object nullable: true required: - - name - - url + - name + - url properties: name: type: string @@ -4138,8 +4138,8 @@ components: trigger: type: object required: - - name - - url + - name + - url properties: name: type: string @@ -4153,40 +4153,40 @@ components: species: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - happiny + - happiny url: type: string format: uri examples: - - https://pokeapi.co/api/v2/pokemon-species/440/ + - https://pokeapi.co/api/v2/pokemon-species/440/ is_baby: type: boolean species: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - happiny + - happiny url: type: string format: uri examples: - - https://pokeapi.co/api/v2/pokemon-species/440/ + - https://pokeapi.co/api/v2/pokemon-species/440/ readOnly: true required: - - baby_trigger_item - - chain - - id + - baby_trigger_item + - chain + - id EvolutionChainSummary: type: object properties: @@ -4195,7 +4195,7 @@ components: format: uri readOnly: true required: - - url + - url EvolutionTriggerDetail: type: object properties: @@ -4208,31 +4208,31 @@ components: names: type: array items: - $ref: "#/components/schemas/EvolutionTriggerName" + $ref: '#/components/schemas/EvolutionTriggerName' readOnly: true pokemon_species: type: array items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - ivysaur + - ivysaur url: type: string format: uri examples: - - https://pokeapi.co/api/v2/pokemon-species/2/ + - https://pokeapi.co/api/v2/pokemon-species/2/ readOnly: true required: - - id - - name - - names - - pokemon_species + - id + - name + - names + - pokemon_species EvolutionTriggerName: type: object properties: @@ -4240,10 +4240,10 @@ components: type: string maxLength: 200 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - name + - language + - name EvolutionTriggerSummary: type: object properties: @@ -4255,8 +4255,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url Experience: type: object properties: @@ -4265,8 +4265,8 @@ components: experience: type: integer required: - - experience - - level + - experience + - level GenderDetail: type: object properties: @@ -4281,53 +4281,53 @@ components: items: type: object required: - - rate - - pokemon_species + - rate + - pokemon_species properties: rate: type: integer format: int32 examples: - - 1 + - 1 pokemon_species: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - bulbasaur + - bulbasaur url: type: string format: uri examples: - - https://pokeapi.co/api/v2/pokemon-species/1/ + - https://pokeapi.co/api/v2/pokemon-species/1/ readOnly: true required_for_evolution: type: array items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - wormadam + - wormadam url: type: string format: uri examples: - - https://pokeapi.co/api/v2/pokemon-species/413/ + - https://pokeapi.co/api/v2/pokemon-species/413/ readOnly: true required: - - id - - name - - pokemon_species_details - - required_for_evolution + - id + - name + - pokemon_species_details + - required_for_evolution GenderSummary: type: object properties: @@ -4339,8 +4339,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url GenerationDetail: type: object properties: @@ -4353,45 +4353,45 @@ components: abilities: type: array items: - $ref: "#/components/schemas/AbilitySummary" + $ref: '#/components/schemas/AbilitySummary' readOnly: true main_region: - $ref: "#/components/schemas/RegionSummary" + $ref: '#/components/schemas/RegionSummary' moves: type: array items: - $ref: "#/components/schemas/MoveSummary" + $ref: '#/components/schemas/MoveSummary' readOnly: true names: type: array items: - $ref: "#/components/schemas/GenerationName" + $ref: '#/components/schemas/GenerationName' readOnly: true pokemon_species: type: array items: - $ref: "#/components/schemas/PokemonSpeciesSummary" + $ref: '#/components/schemas/PokemonSpeciesSummary' readOnly: true types: type: array items: - $ref: "#/components/schemas/TypeSummary" + $ref: '#/components/schemas/TypeSummary' readOnly: true version_groups: type: array items: - $ref: "#/components/schemas/VersionGroupSummary" + $ref: '#/components/schemas/VersionGroupSummary' readOnly: true required: - - abilities - - id - - main_region - - moves - - name - - names - - pokemon_species - - types - - version_groups + - abilities + - id + - main_region + - moves + - name + - names + - pokemon_species + - types + - version_groups GenerationName: type: object properties: @@ -4399,10 +4399,10 @@ components: type: string maxLength: 200 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - name + - language + - name GenerationSummary: type: object properties: @@ -4414,8 +4414,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url GrowthRateDescription: type: object properties: @@ -4423,9 +4423,9 @@ components: type: string maxLength: 1000 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language + - language GrowthRateDetail: type: object properties: @@ -4441,25 +4441,25 @@ components: descriptions: type: array items: - $ref: "#/components/schemas/GrowthRateDescription" + $ref: '#/components/schemas/GrowthRateDescription' readOnly: true levels: type: array items: - $ref: "#/components/schemas/Experience" + $ref: '#/components/schemas/Experience' readOnly: true pokemon_species: type: array items: - $ref: "#/components/schemas/PokemonSpeciesSummary" + $ref: '#/components/schemas/PokemonSpeciesSummary' readOnly: true required: - - descriptions - - formula - - id - - levels - - name - - pokemon_species + - descriptions + - formula + - id + - levels + - name + - pokemon_species GrowthRateSummary: type: object properties: @@ -4471,8 +4471,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url ItemAttributeDescription: type: object properties: @@ -4480,9 +4480,9 @@ components: type: string maxLength: 1000 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language + - language ItemAttributeDetail: type: object properties: @@ -4495,37 +4495,37 @@ components: descriptions: type: array items: - $ref: "#/components/schemas/ItemAttributeDescription" + $ref: '#/components/schemas/ItemAttributeDescription' readOnly: true items: type: array items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - master-ball + - master-ball url: type: string format: uri examples: - - https://pokeapi.co/api/v2/item/1/ + - https://pokeapi.co/api/v2/item/1/ readOnly: true names: type: array items: - $ref: "#/components/schemas/ItemAttributeName" + $ref: '#/components/schemas/ItemAttributeName' readOnly: true required: - - descriptions - - id - - items - - name - - names + - descriptions + - id + - items + - name + - names ItemAttributeName: type: object properties: @@ -4533,10 +4533,10 @@ components: type: string maxLength: 200 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - name + - language + - name ItemAttributeSummary: type: object properties: @@ -4548,8 +4548,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url ItemCategoryDetail: type: object properties: @@ -4562,21 +4562,21 @@ components: items: type: array items: - $ref: "#/components/schemas/ItemSummary" + $ref: '#/components/schemas/ItemSummary' readOnly: true names: type: array items: - $ref: "#/components/schemas/ItemCategoryName" + $ref: '#/components/schemas/ItemCategoryName' readOnly: true pocket: - $ref: "#/components/schemas/ItemPocketSummary" + $ref: '#/components/schemas/ItemPocketSummary' required: - - id - - items - - name - - names - - pocket + - id + - items + - name + - names + - pocket ItemCategoryName: type: object properties: @@ -4584,10 +4584,10 @@ components: type: string maxLength: 200 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - name + - language + - name ItemCategorySummary: type: object properties: @@ -4599,8 +4599,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url ItemDetail: type: object properties: @@ -4612,171 +4612,171 @@ components: maxLength: 200 cost: type: - - integer - - "null" + - integer + - 'null' fling_power: type: - - integer - - "null" + - integer + - 'null' fling_effect: - $ref: "#/components/schemas/ItemFlingEffectSummary" + $ref: '#/components/schemas/ItemFlingEffectSummary' attributes: type: array items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - countable + - countable url: type: string format: uri examples: - - https://pokeapi.co/api/v2/item-attribute/1/ + - https://pokeapi.co/api/v2/item-attribute/1/ readOnly: true category: - $ref: "#/components/schemas/ItemCategorySummary" + $ref: '#/components/schemas/ItemCategorySummary' effect_entries: type: array items: - $ref: "#/components/schemas/ItemEffectText" + $ref: '#/components/schemas/ItemEffectText' readOnly: true flavor_text_entries: type: array items: - $ref: "#/components/schemas/ItemFlavorText" + $ref: '#/components/schemas/ItemFlavorText' readOnly: true game_indices: type: array items: - $ref: "#/components/schemas/ItemGameIndex" + $ref: '#/components/schemas/ItemGameIndex' readOnly: true names: type: array items: - $ref: "#/components/schemas/ItemName" + $ref: '#/components/schemas/ItemName' readOnly: true held_by_pokemon: type: array items: type: object required: - - pokemon - - version-details + - pokemon + - version-details properties: pokemon: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - farfetchd + - farfetchd url: type: string format: uri examples: - - https://pokeapi.co/api/v2/pokemon/83/ + - https://pokeapi.co/api/v2/pokemon/83/ version-details: type: array items: type: object required: - - rarity - - version + - rarity + - version properties: rarity: type: integer format: int32 examples: - - 5 + - 5 version: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - ruby + - ruby url: type: string format: uri examples: - - https://pokeapi.co/api/v2/version/7/ + - https://pokeapi.co/api/v2/version/7/ readOnly: true sprites: type: object required: - - default + - default properties: default: type: string format: uri examples: - - https://pokeapi.co/media/sprites/items/master-ball.png + - https://pokeapi.co/media/sprites/items/master-ball.png readOnly: true baby_trigger_for: type: object required: - - url + - url properties: url: type: string format: uri examples: - - https://pokeapi.co/api/v2/evolution-chain/51/ + - https://pokeapi.co/api/v2/evolution-chain/51/ readOnly: true machines: type: array items: type: object required: - - machine - - version_group + - machine + - version_group properties: machine: type: string format: uri examples: - - https://pokeapi.co/api/v2/machine/1/ + - https://pokeapi.co/api/v2/machine/1/ version_group: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - sword-shield + - sword-shield url: type: string format: uri examples: - - https://pokeapi.co/api/v2/version-group/20/ - readOnly: true - required: - - attributes - - baby_trigger_for - - category - - effect_entries - - flavor_text_entries - - fling_effect - - game_indices - - held_by_pokemon - - id - - machines - - name - - names - - sprites + - https://pokeapi.co/api/v2/version-group/20/ + readOnly: true + required: + - attributes + - baby_trigger_for + - category + - effect_entries + - flavor_text_entries + - fling_effect + - game_indices + - held_by_pokemon + - id + - machines + - name + - names + - sprites ItemEffectText: type: object properties: @@ -4787,24 +4787,24 @@ components: type: string maxLength: 300 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - effect - - language - - short_effect + - effect + - language + - short_effect ItemFlavorText: type: object properties: text: type: string version_group: - $ref: "#/components/schemas/VersionGroupSummary" + $ref: '#/components/schemas/VersionGroupSummary' language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - text - - version_group + - language + - text + - version_group ItemFlingEffectDetail: type: object properties: @@ -4817,18 +4817,18 @@ components: effect_entries: type: array items: - $ref: "#/components/schemas/ItemFlingEffectEffectText" + $ref: '#/components/schemas/ItemFlingEffectEffectText' readOnly: true items: type: array items: - $ref: "#/components/schemas/ItemSummary" + $ref: '#/components/schemas/ItemSummary' readOnly: true required: - - effect_entries - - id - - items - - name + - effect_entries + - id + - items + - name ItemFlingEffectEffectText: type: object properties: @@ -4836,10 +4836,10 @@ components: type: string maxLength: 6000 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - effect - - language + - effect + - language ItemFlingEffectSummary: type: object properties: @@ -4851,18 +4851,18 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url ItemGameIndex: type: object properties: game_index: type: integer generation: - $ref: "#/components/schemas/GenerationSummary" + $ref: '#/components/schemas/GenerationSummary' required: - - game_index - - generation + - game_index + - generation ItemName: type: object properties: @@ -4870,10 +4870,10 @@ components: type: string maxLength: 200 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - name + - language + - name ItemPocketDetail: type: object properties: @@ -4886,18 +4886,18 @@ components: categories: type: array items: - $ref: "#/components/schemas/ItemCategorySummary" + $ref: '#/components/schemas/ItemCategorySummary' readOnly: true names: type: array items: - $ref: "#/components/schemas/ItemPocketName" + $ref: '#/components/schemas/ItemPocketName' readOnly: true required: - - categories - - id - - name - - names + - categories + - id + - name + - names ItemPocketName: type: object properties: @@ -4905,10 +4905,10 @@ components: type: string maxLength: 200 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - name + - language + - name ItemPocketSummary: type: object properties: @@ -4920,8 +4920,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url ItemSummary: type: object properties: @@ -4933,8 +4933,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url LanguageDetail: type: object properties: @@ -4955,14 +4955,14 @@ components: names: type: array items: - $ref: "#/components/schemas/LanguageName" + $ref: '#/components/schemas/LanguageName' readOnly: true required: - - id - - iso3166 - - iso639 - - name - - names + - id + - iso3166 + - iso639 + - name + - names LanguageName: type: object properties: @@ -4970,10 +4970,10 @@ components: type: string maxLength: 200 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - name + - language + - name LanguageSummary: type: object properties: @@ -4985,8 +4985,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url LocationAreaDetail: type: object properties: @@ -5003,175 +5003,175 @@ components: items: type: object required: - - encounter_method - - version_details + - encounter_method + - version_details properties: encounter_method: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - old-rod + - old-rod url: type: string format: uri examples: - - https://pokeapi.co/api/v2/encounter-method/2/ + - https://pokeapi.co/api/v2/encounter-method/2/ version_details: type: array items: type: object required: - - rate - - version + - rate + - version properties: rate: type: integer format: int32 examples: - - 5 + - 5 version: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - platinum + - platinum url: type: string format: uri examples: - - https://pokeapi.co/api/v2/version/14/ + - https://pokeapi.co/api/v2/version/14/ readOnly: true location: - $ref: "#/components/schemas/LocationSummary" + $ref: '#/components/schemas/LocationSummary' names: type: array items: - $ref: "#/components/schemas/LocationAreaName" + $ref: '#/components/schemas/LocationAreaName' readOnly: true pokemon_encounters: type: array items: type: object required: - - pokemon - - version_details + - pokemon + - version_details properties: pokemon: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - tentacool + - tentacool url: type: string format: uri examples: - - https://pokeapi.co/api/v2/pokemon/72/ + - https://pokeapi.co/api/v2/pokemon/72/ version_details: type: array items: type: object required: - - version - - max_chance - - encounter_details + - version + - max_chance + - encounter_details properties: version: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - diamond + - diamond url: type: string format: uri examples: - - https://pokeapi.co/api/v2/version/12/ + - https://pokeapi.co/api/v2/version/12/ max_chance: type: integer format: int32 examples: - - 60 + - 60 encounter_details: type: object required: - - min_level - - max_level - - condition_value - - chance - - method + - min_level + - max_level + - condition_value + - chance + - method properties: min_level: type: integer format: int32 examples: - - 20 + - 20 max_level: type: integer format: int32 examples: - - 30 + - 30 condition_values: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - slot2-sapphire + - slot2-sapphire url: type: string format: uri examples: - - https://pokeapi.co/api/v2/encounter-condition-value/10/ + - https://pokeapi.co/api/v2/encounter-condition-value/10/ chance: type: integer format: int32 examples: - - 60 + - 60 method: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - surf + - surf url: type: string format: uri examples: - - https://pokeapi.co/api/v2/encounter-method/5/ + - https://pokeapi.co/api/v2/encounter-method/5/ readOnly: true required: - - encounter_method_rates - - game_index - - id - - location - - name - - names - - pokemon_encounters + - encounter_method_rates + - game_index + - id + - location + - name + - names + - pokemon_encounters LocationAreaName: type: object properties: @@ -5179,10 +5179,10 @@ components: type: string maxLength: 200 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - name + - language + - name LocationAreaSummary: type: object properties: @@ -5194,8 +5194,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url LocationDetail: type: object properties: @@ -5206,39 +5206,39 @@ components: type: string maxLength: 200 region: - $ref: "#/components/schemas/RegionSummary" + $ref: '#/components/schemas/RegionSummary' names: type: array items: - $ref: "#/components/schemas/LocationName" + $ref: '#/components/schemas/LocationName' readOnly: true game_indices: type: array items: - $ref: "#/components/schemas/LocationGameIndex" + $ref: '#/components/schemas/LocationGameIndex' readOnly: true areas: type: array items: - $ref: "#/components/schemas/LocationAreaSummary" + $ref: '#/components/schemas/LocationAreaSummary' readOnly: true required: - - areas - - game_indices - - id - - name - - names - - region + - areas + - game_indices + - id + - name + - names + - region LocationGameIndex: type: object properties: game_index: type: integer generation: - $ref: "#/components/schemas/GenerationSummary" + $ref: '#/components/schemas/GenerationSummary' required: - - game_index - - generation + - game_index + - generation LocationName: type: object properties: @@ -5246,10 +5246,10 @@ components: type: string maxLength: 200 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - name + - language + - name LocationSummary: type: object properties: @@ -5261,8 +5261,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url MachineDetail: type: object properties: @@ -5270,16 +5270,16 @@ components: type: integer readOnly: true item: - $ref: "#/components/schemas/ItemSummary" + $ref: '#/components/schemas/ItemSummary' version_group: - $ref: "#/components/schemas/VersionGroupSummary" + $ref: '#/components/schemas/VersionGroupSummary' move: - $ref: "#/components/schemas/MoveSummary" + $ref: '#/components/schemas/MoveSummary' required: - - id - - item - - move - - version_group + - id + - item + - move + - version_group MachineSummary: type: object properties: @@ -5288,7 +5288,7 @@ components: format: uri readOnly: true required: - - url + - url MoveBattleStyleDetail: type: object properties: @@ -5301,12 +5301,12 @@ components: names: type: array items: - $ref: "#/components/schemas/MoveBattleStyleName" + $ref: '#/components/schemas/MoveBattleStyleName' readOnly: true required: - - id - - name - - names + - id + - name + - names MoveBattleStyleName: type: object properties: @@ -5314,10 +5314,10 @@ components: type: string maxLength: 200 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - name + - language + - name MoveBattleStyleSummary: type: object properties: @@ -5329,23 +5329,23 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url MoveChange: type: object properties: accuracy: type: - - integer - - "null" + - integer + - 'null' power: type: - - integer - - "null" + - integer + - 'null' pp: type: - - integer - - "null" + - integer + - 'null' effect_chance: type: integer effect_entries: @@ -5353,43 +5353,43 @@ components: items: type: object required: - - effect - - short_effect - - language + - effect + - short_effect + - language properties: effect: type: string examples: - - Inflicts [regular damage]{mechanic:regular-damage}. + - Inflicts [regular damage]{mechanic:regular-damage}. short_effect: type: string examples: - - Inflicts regular damage with no additional effect. + - Inflicts regular damage with no additional effect. language: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - en + - en url: type: string format: uri examples: - - https://pokeapi.co/api/v2/language/9/ + - https://pokeapi.co/api/v2/language/9/ readOnly: true type: - $ref: "#/components/schemas/TypeSummary" + $ref: '#/components/schemas/TypeSummary' version_group: - $ref: "#/components/schemas/VersionGroupSummary" + $ref: '#/components/schemas/VersionGroupSummary' required: - - effect_chance - - effect_entries - - type - - version_group + - effect_chance + - effect_entries + - type + - version_group MoveDamageClassDescription: type: object properties: @@ -5397,9 +5397,9 @@ components: type: string maxLength: 1000 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language + - language MoveDamageClassDetail: type: object properties: @@ -5412,24 +5412,24 @@ components: descriptions: type: array items: - $ref: "#/components/schemas/MoveDamageClassDescription" + $ref: '#/components/schemas/MoveDamageClassDescription' readOnly: true moves: type: array items: - $ref: "#/components/schemas/MoveSummary" + $ref: '#/components/schemas/MoveSummary' readOnly: true names: type: array items: - $ref: "#/components/schemas/MoveDamageClassName" + $ref: '#/components/schemas/MoveDamageClassName' readOnly: true required: - - descriptions - - id - - moves - - name - - names + - descriptions + - id + - moves + - name + - names MoveDamageClassName: type: object properties: @@ -5437,10 +5437,10 @@ components: type: string maxLength: 200 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - name + - language + - name MoveDamageClassSummary: type: object properties: @@ -5452,8 +5452,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url MoveDetail: type: object properties: @@ -5465,33 +5465,33 @@ components: maxLength: 200 accuracy: type: - - integer - - "null" + - integer + - 'null' effect_chance: type: integer pp: type: - - integer - - "null" + - integer + - 'null' priority: type: - - integer - - "null" + - integer + - 'null' power: type: - - integer - - "null" + - integer + - 'null' contest_combos: type: object required: - - normal - - super + - normal + - super properties: normal: type: object required: - - use_before - - use_after + - use_before + - use_after properties: use_before: type: array @@ -5499,41 +5499,41 @@ components: items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - fire-punch + - fire-punch url: type: string format: uri examples: - - https://pokeapi.co/api/v2/move/7/ + - https://pokeapi.co/api/v2/move/7/ use_after: type: array nullable: true items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - ice-punch + - ice-punch url: type: string format: uri examples: - - https://pokeapi.co/api/v2/move/8/ + - https://pokeapi.co/api/v2/move/8/ super: type: object required: - - use_before - - use_after + - use_before + - use_after properties: use_before: type: array @@ -5541,269 +5541,269 @@ components: items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - night-slash + - night-slash url: type: string format: uri examples: - - https://pokeapi.co/api/v2/move/400/ + - https://pokeapi.co/api/v2/move/400/ use_after: type: array nullable: true items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - focus-energy + - focus-energy url: type: string format: uri examples: - - https://pokeapi.co/api/v2/move/116/ + - https://pokeapi.co/api/v2/move/116/ readOnly: true contest_type: - $ref: "#/components/schemas/ContestTypeSummary" + $ref: '#/components/schemas/ContestTypeSummary' contest_effect: - $ref: "#/components/schemas/ContestEffectSummary" + $ref: '#/components/schemas/ContestEffectSummary' damage_class: - $ref: "#/components/schemas/MoveDamageClassSummary" + $ref: '#/components/schemas/MoveDamageClassSummary' effect_entries: type: array items: type: object required: - - effect - - short_effect - - language + - effect + - short_effect + - language properties: effect: type: string examples: - - Inflicts [regular damage]{mechanic:regular-damage}. + - Inflicts [regular damage]{mechanic:regular-damage}. short_effect: type: string examples: - - Inflicts regular damage with no additional effect. + - Inflicts regular damage with no additional effect. language: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - en + - en url: type: string format: uri examples: - - https://pokeapi.co/api/v2/language/9/ + - https://pokeapi.co/api/v2/language/9/ readOnly: true effect_changes: type: array items: type: object required: - - effect_entries - - version_group + - effect_entries + - version_group properties: effect_entries: type: array items: type: object required: - - effect - - language + - effect + - language properties: effect: type: string examples: - - Hits Pokémon under the effects of dig and fly. + - Hits Pokémon under the effects of dig and fly. language: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - en + - en url: type: string format: uri examples: - - https://pokeapi.co/api/v2/language/9/ + - https://pokeapi.co/api/v2/language/9/ version_group: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - gold-silver + - gold-silver url: type: string format: uri examples: - - https://pokeapi.co/api/v2/version-group/3/ + - https://pokeapi.co/api/v2/version-group/3/ readOnly: true generation: - $ref: "#/components/schemas/GenerationSummary" + $ref: '#/components/schemas/GenerationSummary' meta: allOf: - - $ref: "#/components/schemas/MoveMeta" + - $ref: '#/components/schemas/MoveMeta' readOnly: true names: type: array items: - $ref: "#/components/schemas/MoveName" + $ref: '#/components/schemas/MoveName' readOnly: true past_values: type: array items: - $ref: "#/components/schemas/MoveChange" + $ref: '#/components/schemas/MoveChange' readOnly: true stat_changes: type: array items: type: object required: - - change - - stat + - change + - stat properties: change: type: integer format: int32 examples: - - 2 + - 2 stat: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - attack + - attack url: type: string format: uri examples: - - https://pokeapi.co/api/v2/stat/1/ + - https://pokeapi.co/api/v2/stat/1/ readOnly: true super_contest_effect: - $ref: "#/components/schemas/SuperContestEffectSummary" + $ref: '#/components/schemas/SuperContestEffectSummary' target: - $ref: "#/components/schemas/MoveTargetSummary" + $ref: '#/components/schemas/MoveTargetSummary' type: - $ref: "#/components/schemas/TypeSummary" + $ref: '#/components/schemas/TypeSummary' machines: type: array items: type: object required: - - machine - - version_group + - machine + - version_group properties: machine: type: object required: - - url + - url properties: url: type: string format: uri examples: - - https://pokeapi.co/api/v2/machine/1/ + - https://pokeapi.co/api/v2/machine/1/ version_group: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - sword-shield + - sword-shield url: type: string format: uri examples: - - https://pokeapi.co/api/v2/version-group/1/ + - https://pokeapi.co/api/v2/version-group/1/ readOnly: true flavor_text_entries: type: array items: - $ref: "#/components/schemas/MoveFlavorText" + $ref: '#/components/schemas/MoveFlavorText' readOnly: true learned_by_pokemon: type: array items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - clefairy + - clefairy url: type: string format: uri examples: - - https://pokeapi.co/api/v2/pokemon/35/ - readOnly: true - required: - - contest_combos - - contest_effect - - contest_type - - damage_class - - effect_chance - - effect_changes - - effect_entries - - flavor_text_entries - - generation - - id - - learned_by_pokemon - - machines - - meta - - name - - names - - past_values - - stat_changes - - super_contest_effect - - target - - type + - https://pokeapi.co/api/v2/pokemon/35/ + readOnly: true + required: + - contest_combos + - contest_effect + - contest_type + - damage_class + - effect_chance + - effect_changes + - effect_entries + - flavor_text_entries + - generation + - id + - learned_by_pokemon + - machines + - meta + - name + - names + - past_values + - stat_changes + - super_contest_effect + - target + - type MoveFlavorText: type: object properties: flavor_text: type: string language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' version_group: - $ref: "#/components/schemas/VersionGroupSummary" + $ref: '#/components/schemas/VersionGroupSummary' required: - - flavor_text - - language - - version_group + - flavor_text + - language + - version_group MoveLearnMethodDescription: type: object properties: @@ -5811,9 +5811,9 @@ components: type: string maxLength: 1000 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language + - language MoveLearnMethodDetail: type: object properties: @@ -5826,37 +5826,37 @@ components: names: type: array items: - $ref: "#/components/schemas/MoveLearnMethodName" + $ref: '#/components/schemas/MoveLearnMethodName' readOnly: true descriptions: type: array items: - $ref: "#/components/schemas/MoveLearnMethodDescription" + $ref: '#/components/schemas/MoveLearnMethodDescription' readOnly: true version_groups: type: array items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - red-blue + - red-blue url: type: string format: uri examples: - - https://pokeapi.co/api/v2/version-group/1/ + - https://pokeapi.co/api/v2/version-group/1/ readOnly: true required: - - descriptions - - id - - name - - names - - version_groups + - descriptions + - id + - name + - names + - version_groups MoveLearnMethodName: type: object properties: @@ -5864,10 +5864,10 @@ components: type: string maxLength: 200 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - name + - language + - name MoveLearnMethodSummary: type: object properties: @@ -5879,58 +5879,58 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url MoveMeta: type: object properties: ailment: - $ref: "#/components/schemas/MoveMetaAilmentSummary" + $ref: '#/components/schemas/MoveMetaAilmentSummary' category: - $ref: "#/components/schemas/MoveMetaCategorySummary" + $ref: '#/components/schemas/MoveMetaCategorySummary' min_hits: type: - - integer - - "null" + - integer + - 'null' max_hits: type: - - integer - - "null" + - integer + - 'null' min_turns: type: - - integer - - "null" + - integer + - 'null' max_turns: type: - - integer - - "null" + - integer + - 'null' drain: type: - - integer - - "null" + - integer + - 'null' healing: type: - - integer - - "null" + - integer + - 'null' crit_rate: type: - - integer - - "null" + - integer + - 'null' ailment_chance: type: - - integer - - "null" + - integer + - 'null' flinch_chance: type: - - integer - - "null" + - integer + - 'null' stat_chance: type: - - integer - - "null" + - integer + - 'null' required: - - ailment - - category + - ailment + - category MoveMetaAilmentDetail: type: object properties: @@ -5945,29 +5945,29 @@ components: items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - thunder-punch + - thunder-punch url: type: string format: uri examples: - - https://pokeapi.co/api/v2/move/9/ + - https://pokeapi.co/api/v2/move/9/ readOnly: true names: type: array items: - $ref: "#/components/schemas/MoveMetaAilmentName" + $ref: '#/components/schemas/MoveMetaAilmentName' readOnly: true required: - - id - - moves - - name - - names + - id + - moves + - name + - names MoveMetaAilmentName: type: object properties: @@ -5975,10 +5975,10 @@ components: type: string maxLength: 200 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - name + - language + - name MoveMetaAilmentSummary: type: object properties: @@ -5990,8 +5990,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url MoveMetaCategoryDescription: type: object properties: @@ -5999,9 +5999,9 @@ components: type: string maxLength: 1000 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language + - language MoveMetaCategoryDetail: type: object properties: @@ -6014,31 +6014,31 @@ components: descriptions: type: array items: - $ref: "#/components/schemas/MoveMetaCategoryDescription" + $ref: '#/components/schemas/MoveMetaCategoryDescription' readOnly: true moves: type: array items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - sing + - sing url: type: string format: uri examples: - - https://pokeapi.co/api/v2/move/47/ + - https://pokeapi.co/api/v2/move/47/ readOnly: true required: - - descriptions - - id - - moves - - name + - descriptions + - id + - moves + - name MoveMetaCategorySummary: type: object properties: @@ -6050,8 +6050,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url MoveName: type: object properties: @@ -6059,10 +6059,10 @@ components: type: string maxLength: 200 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - name + - language + - name MoveSummary: type: object properties: @@ -6074,8 +6074,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url MoveTargetDescription: type: object properties: @@ -6083,9 +6083,9 @@ components: type: string maxLength: 1000 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language + - language MoveTargetDetail: type: object properties: @@ -6098,24 +6098,24 @@ components: descriptions: type: array items: - $ref: "#/components/schemas/MoveTargetDescription" + $ref: '#/components/schemas/MoveTargetDescription' readOnly: true moves: type: array items: - $ref: "#/components/schemas/MoveSummary" + $ref: '#/components/schemas/MoveSummary' readOnly: true names: type: array items: - $ref: "#/components/schemas/MoveTargetName" + $ref: '#/components/schemas/MoveTargetName' readOnly: true required: - - descriptions - - id - - moves - - name - - names + - descriptions + - id + - moves + - name + - names MoveTargetName: type: object properties: @@ -6123,10 +6123,10 @@ components: type: string maxLength: 200 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - name + - language + - name MoveTargetSummary: type: object properties: @@ -6138,8 +6138,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url NatureBattleStylePreference: type: object properties: @@ -6148,11 +6148,11 @@ components: high_hp_preference: type: integer move_battle_style: - $ref: "#/components/schemas/MoveBattleStyleSummary" + $ref: '#/components/schemas/MoveBattleStyleSummary' required: - - high_hp_preference - - low_hp_preference - - move_battle_style + - high_hp_preference + - low_hp_preference + - move_battle_style NatureDetail: type: object properties: @@ -6163,68 +6163,68 @@ components: type: string maxLength: 200 decreased_stat: - $ref: "#/components/schemas/StatSummary" + $ref: '#/components/schemas/StatSummary' increased_stat: - $ref: "#/components/schemas/StatSummary" + $ref: '#/components/schemas/StatSummary' likes_flavor: - $ref: "#/components/schemas/BerryFlavorSummary" + $ref: '#/components/schemas/BerryFlavorSummary' hates_flavor: - $ref: "#/components/schemas/BerryFlavorSummary" + $ref: '#/components/schemas/BerryFlavorSummary' berries: type: array items: - $ref: "#/components/schemas/BerrySummary" + $ref: '#/components/schemas/BerrySummary' readOnly: true pokeathlon_stat_changes: type: array items: type: object required: - - max_change - - pokeathlon_stat + - max_change + - pokeathlon_stat properties: max_change: type: integer format: int32 examples: - - 1 + - 1 pokeathlon_stat: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - power + - power url: type: string format: uri examples: - - https://pokeapi.co/api/v2/pokeathlon-stat/2/ + - https://pokeapi.co/api/v2/pokeathlon-stat/2/ readOnly: true move_battle_style_preferences: type: array items: - $ref: "#/components/schemas/NatureBattleStylePreference" + $ref: '#/components/schemas/NatureBattleStylePreference' readOnly: true names: type: array items: - $ref: "#/components/schemas/NatureName" + $ref: '#/components/schemas/NatureName' readOnly: true required: - - berries - - decreased_stat - - hates_flavor - - id - - increased_stat - - likes_flavor - - move_battle_style_preferences - - name - - names - - pokeathlon_stat_changes + - berries + - decreased_stat + - hates_flavor + - id + - increased_stat + - likes_flavor + - move_battle_style_preferences + - name + - names + - pokeathlon_stat_changes NatureName: type: object properties: @@ -6232,10 +6232,10 @@ components: type: string maxLength: 200 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - name + - language + - name NatureSummary: type: object properties: @@ -6247,8 +6247,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url PaginatedAbilitySummaryList: type: object properties: @@ -6268,7 +6268,7 @@ components: results: type: array items: - $ref: "#/components/schemas/AbilitySummary" + $ref: '#/components/schemas/AbilitySummary' PaginatedBerryFirmnessSummaryList: type: object properties: @@ -6288,7 +6288,7 @@ components: results: type: array items: - $ref: "#/components/schemas/BerryFirmnessSummary" + $ref: '#/components/schemas/BerryFirmnessSummary' PaginatedBerryFlavorSummaryList: type: object properties: @@ -6308,7 +6308,7 @@ components: results: type: array items: - $ref: "#/components/schemas/BerryFlavorSummary" + $ref: '#/components/schemas/BerryFlavorSummary' PaginatedBerrySummaryList: type: object properties: @@ -6328,7 +6328,7 @@ components: results: type: array items: - $ref: "#/components/schemas/BerrySummary" + $ref: '#/components/schemas/BerrySummary' PaginatedCharacteristicSummaryList: type: object properties: @@ -6348,7 +6348,7 @@ components: results: type: array items: - $ref: "#/components/schemas/CharacteristicSummary" + $ref: '#/components/schemas/CharacteristicSummary' PaginatedContestEffectSummaryList: type: object properties: @@ -6368,7 +6368,7 @@ components: results: type: array items: - $ref: "#/components/schemas/ContestEffectSummary" + $ref: '#/components/schemas/ContestEffectSummary' PaginatedContestTypeSummaryList: type: object properties: @@ -6388,7 +6388,7 @@ components: results: type: array items: - $ref: "#/components/schemas/ContestTypeSummary" + $ref: '#/components/schemas/ContestTypeSummary' PaginatedEggGroupSummaryList: type: object properties: @@ -6408,7 +6408,7 @@ components: results: type: array items: - $ref: "#/components/schemas/EggGroupSummary" + $ref: '#/components/schemas/EggGroupSummary' PaginatedEncounterConditionSummaryList: type: object properties: @@ -6428,7 +6428,7 @@ components: results: type: array items: - $ref: "#/components/schemas/EncounterConditionSummary" + $ref: '#/components/schemas/EncounterConditionSummary' PaginatedEncounterConditionValueSummaryList: type: object properties: @@ -6448,7 +6448,7 @@ components: results: type: array items: - $ref: "#/components/schemas/EncounterConditionValueSummary" + $ref: '#/components/schemas/EncounterConditionValueSummary' PaginatedEncounterMethodSummaryList: type: object properties: @@ -6468,7 +6468,7 @@ components: results: type: array items: - $ref: "#/components/schemas/EncounterMethodSummary" + $ref: '#/components/schemas/EncounterMethodSummary' PaginatedEvolutionChainSummaryList: type: object properties: @@ -6488,7 +6488,7 @@ components: results: type: array items: - $ref: "#/components/schemas/EvolutionChainSummary" + $ref: '#/components/schemas/EvolutionChainSummary' PaginatedEvolutionTriggerSummaryList: type: object properties: @@ -6508,7 +6508,7 @@ components: results: type: array items: - $ref: "#/components/schemas/EvolutionTriggerSummary" + $ref: '#/components/schemas/EvolutionTriggerSummary' PaginatedGenderSummaryList: type: object properties: @@ -6528,7 +6528,7 @@ components: results: type: array items: - $ref: "#/components/schemas/GenderSummary" + $ref: '#/components/schemas/GenderSummary' PaginatedGenerationSummaryList: type: object properties: @@ -6548,7 +6548,7 @@ components: results: type: array items: - $ref: "#/components/schemas/GenerationSummary" + $ref: '#/components/schemas/GenerationSummary' PaginatedGrowthRateSummaryList: type: object properties: @@ -6568,7 +6568,7 @@ components: results: type: array items: - $ref: "#/components/schemas/GrowthRateSummary" + $ref: '#/components/schemas/GrowthRateSummary' PaginatedItemAttributeSummaryList: type: object properties: @@ -6588,7 +6588,7 @@ components: results: type: array items: - $ref: "#/components/schemas/ItemAttributeSummary" + $ref: '#/components/schemas/ItemAttributeSummary' PaginatedItemCategorySummaryList: type: object properties: @@ -6608,7 +6608,7 @@ components: results: type: array items: - $ref: "#/components/schemas/ItemCategorySummary" + $ref: '#/components/schemas/ItemCategorySummary' PaginatedItemFlingEffectSummaryList: type: object properties: @@ -6628,7 +6628,7 @@ components: results: type: array items: - $ref: "#/components/schemas/ItemFlingEffectSummary" + $ref: '#/components/schemas/ItemFlingEffectSummary' PaginatedItemPocketSummaryList: type: object properties: @@ -6648,7 +6648,7 @@ components: results: type: array items: - $ref: "#/components/schemas/ItemPocketSummary" + $ref: '#/components/schemas/ItemPocketSummary' PaginatedItemSummaryList: type: object properties: @@ -6668,7 +6668,7 @@ components: results: type: array items: - $ref: "#/components/schemas/ItemSummary" + $ref: '#/components/schemas/ItemSummary' PaginatedLanguageSummaryList: type: object properties: @@ -6688,7 +6688,7 @@ components: results: type: array items: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' PaginatedLocationAreaSummaryList: type: object properties: @@ -6708,7 +6708,7 @@ components: results: type: array items: - $ref: "#/components/schemas/LocationAreaSummary" + $ref: '#/components/schemas/LocationAreaSummary' PaginatedLocationSummaryList: type: object properties: @@ -6728,7 +6728,7 @@ components: results: type: array items: - $ref: "#/components/schemas/LocationSummary" + $ref: '#/components/schemas/LocationSummary' PaginatedMachineSummaryList: type: object properties: @@ -6748,7 +6748,7 @@ components: results: type: array items: - $ref: "#/components/schemas/MachineSummary" + $ref: '#/components/schemas/MachineSummary' PaginatedMoveBattleStyleSummaryList: type: object properties: @@ -6768,7 +6768,7 @@ components: results: type: array items: - $ref: "#/components/schemas/MoveBattleStyleSummary" + $ref: '#/components/schemas/MoveBattleStyleSummary' PaginatedMoveDamageClassSummaryList: type: object properties: @@ -6788,7 +6788,7 @@ components: results: type: array items: - $ref: "#/components/schemas/MoveDamageClassSummary" + $ref: '#/components/schemas/MoveDamageClassSummary' PaginatedMoveLearnMethodSummaryList: type: object properties: @@ -6808,7 +6808,7 @@ components: results: type: array items: - $ref: "#/components/schemas/MoveLearnMethodSummary" + $ref: '#/components/schemas/MoveLearnMethodSummary' PaginatedMoveMetaAilmentSummaryList: type: object properties: @@ -6828,7 +6828,7 @@ components: results: type: array items: - $ref: "#/components/schemas/MoveMetaAilmentSummary" + $ref: '#/components/schemas/MoveMetaAilmentSummary' PaginatedMoveMetaCategorySummaryList: type: object properties: @@ -6848,7 +6848,7 @@ components: results: type: array items: - $ref: "#/components/schemas/MoveMetaCategorySummary" + $ref: '#/components/schemas/MoveMetaCategorySummary' PaginatedMoveSummaryList: type: object properties: @@ -6868,7 +6868,7 @@ components: results: type: array items: - $ref: "#/components/schemas/MoveSummary" + $ref: '#/components/schemas/MoveSummary' PaginatedMoveTargetSummaryList: type: object properties: @@ -6888,7 +6888,7 @@ components: results: type: array items: - $ref: "#/components/schemas/MoveTargetSummary" + $ref: '#/components/schemas/MoveTargetSummary' PaginatedNatureSummaryList: type: object properties: @@ -6908,7 +6908,7 @@ components: results: type: array items: - $ref: "#/components/schemas/NatureSummary" + $ref: '#/components/schemas/NatureSummary' PaginatedPalParkAreaSummaryList: type: object properties: @@ -6928,7 +6928,7 @@ components: results: type: array items: - $ref: "#/components/schemas/PalParkAreaSummary" + $ref: '#/components/schemas/PalParkAreaSummary' PaginatedPokeathlonStatSummaryList: type: object properties: @@ -6948,7 +6948,7 @@ components: results: type: array items: - $ref: "#/components/schemas/PokeathlonStatSummary" + $ref: '#/components/schemas/PokeathlonStatSummary' PaginatedPokedexSummaryList: type: object properties: @@ -6968,7 +6968,7 @@ components: results: type: array items: - $ref: "#/components/schemas/PokedexSummary" + $ref: '#/components/schemas/PokedexSummary' PaginatedPokemonColorSummaryList: type: object properties: @@ -6988,7 +6988,7 @@ components: results: type: array items: - $ref: "#/components/schemas/PokemonColorSummary" + $ref: '#/components/schemas/PokemonColorSummary' PaginatedPokemonFormSummaryList: type: object properties: @@ -7008,7 +7008,7 @@ components: results: type: array items: - $ref: "#/components/schemas/PokemonFormSummary" + $ref: '#/components/schemas/PokemonFormSummary' PaginatedPokemonHabitatSummaryList: type: object properties: @@ -7028,7 +7028,7 @@ components: results: type: array items: - $ref: "#/components/schemas/PokemonHabitatSummary" + $ref: '#/components/schemas/PokemonHabitatSummary' PaginatedPokemonShapeSummaryList: type: object properties: @@ -7048,7 +7048,7 @@ components: results: type: array items: - $ref: "#/components/schemas/PokemonShapeSummary" + $ref: '#/components/schemas/PokemonShapeSummary' PaginatedPokemonSpeciesSummaryList: type: object properties: @@ -7068,7 +7068,7 @@ components: results: type: array items: - $ref: "#/components/schemas/PokemonSpeciesSummary" + $ref: '#/components/schemas/PokemonSpeciesSummary' PaginatedPokemonSummaryList: type: object properties: @@ -7088,7 +7088,7 @@ components: results: type: array items: - $ref: "#/components/schemas/PokemonSummary" + $ref: '#/components/schemas/PokemonSummary' PaginatedRegionSummaryList: type: object properties: @@ -7108,7 +7108,7 @@ components: results: type: array items: - $ref: "#/components/schemas/RegionSummary" + $ref: '#/components/schemas/RegionSummary' PaginatedStatSummaryList: type: object properties: @@ -7128,7 +7128,7 @@ components: results: type: array items: - $ref: "#/components/schemas/StatSummary" + $ref: '#/components/schemas/StatSummary' PaginatedSuperContestEffectSummaryList: type: object properties: @@ -7148,7 +7148,7 @@ components: results: type: array items: - $ref: "#/components/schemas/SuperContestEffectSummary" + $ref: '#/components/schemas/SuperContestEffectSummary' PaginatedTypeSummaryList: type: object properties: @@ -7168,7 +7168,7 @@ components: results: type: array items: - $ref: "#/components/schemas/TypeSummary" + $ref: '#/components/schemas/TypeSummary' PaginatedVersionGroupSummaryList: type: object properties: @@ -7188,7 +7188,7 @@ components: results: type: array items: - $ref: "#/components/schemas/VersionGroupSummary" + $ref: '#/components/schemas/VersionGroupSummary' PaginatedVersionSummaryList: type: object properties: @@ -7208,7 +7208,7 @@ components: results: type: array items: - $ref: "#/components/schemas/VersionSummary" + $ref: '#/components/schemas/VersionSummary' PalParkAreaDetail: type: object properties: @@ -7221,48 +7221,48 @@ components: names: type: array items: - $ref: "#/components/schemas/PalParkAreaName" + $ref: '#/components/schemas/PalParkAreaName' readOnly: true pokemon_encounters: type: array items: type: object required: - - base_score - - pokemon-species - - rate + - base_score + - pokemon-species + - rate properties: base_score: type: integer format: int32 examples: - - 50 + - 50 pokemon-species: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - bulbasaur + - bulbasaur url: type: string format: uri examples: - - https://pokeapi.co/api/v2/pokemon-species/1/ + - https://pokeapi.co/api/v2/pokemon-species/1/ rate: type: integer format: int32 examples: - - 30 + - 30 readOnly: true required: - - id - - name - - names - - pokemon_encounters + - id + - name + - names + - pokemon_encounters PalParkAreaName: type: object properties: @@ -7270,10 +7270,10 @@ components: type: string maxLength: 200 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - name + - language + - name PalParkAreaSummary: type: object properties: @@ -7285,8 +7285,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url PokeathlonStatDetail: type: object properties: @@ -7299,78 +7299,78 @@ components: affecting_natures: type: object required: - - decrease - - increase + - decrease + - increase properties: decrease: type: array items: type: object required: - - max_change - - nature + - max_change + - nature properties: max_change: type: integer format: int32 maximum: -1 examples: - - -1 + - -1 nature: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - hardy + - hardy url: type: string format: uri examples: - - https://pokeapi.co/api/v2/nature/1/ + - https://pokeapi.co/api/v2/nature/1/ increase: type: array items: type: object required: - - max_change - - nature + - max_change + - nature properties: max_change: type: integer format: int32 minimum: 1 examples: - - 2 + - 2 nature: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - hardy + - hardy url: type: string format: uri examples: - - https://pokeapi.co/api/v2/nature/1/ + - https://pokeapi.co/api/v2/nature/1/ readOnly: true names: type: array items: - $ref: "#/components/schemas/PokeathlonStatName" + $ref: '#/components/schemas/PokeathlonStatName' readOnly: true required: - - affecting_natures - - id - - name - - names + - affecting_natures + - id + - name + - names PokeathlonStatName: type: object properties: @@ -7378,10 +7378,10 @@ components: type: string maxLength: 200 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - name + - language + - name PokeathlonStatSummary: type: object properties: @@ -7393,8 +7393,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url PokedexDescription: type: object properties: @@ -7402,9 +7402,9 @@ components: type: string maxLength: 1000 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language + - language PokedexDetail: type: object properties: @@ -7419,70 +7419,70 @@ components: descriptions: type: array items: - $ref: "#/components/schemas/PokedexDescription" + $ref: '#/components/schemas/PokedexDescription' readOnly: true names: type: array items: - $ref: "#/components/schemas/PokedexName" + $ref: '#/components/schemas/PokedexName' readOnly: true pokemon_entries: type: array items: type: object required: - - entry_number - - pokemon_species + - entry_number + - pokemon_species properties: entry_number: type: integer format: int32 examples: - - 1 + - 1 pokemon_species: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - bulbasaur + - bulbasaur url: type: string format: uri examples: - - https://pokeapi.co/api/v2/pokemon-species/1/ + - https://pokeapi.co/api/v2/pokemon-species/1/ readOnly: true region: - $ref: "#/components/schemas/RegionSummary" + $ref: '#/components/schemas/RegionSummary' version_groups: type: array items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - the-teal-mask + - the-teal-mask url: type: string format: uri examples: - - https://pokeapi.co/api/v2/version-group/26/ + - https://pokeapi.co/api/v2/version-group/26/ readOnly: true required: - - descriptions - - id - - name - - names - - pokemon_entries - - region - - version_groups + - descriptions + - id + - name + - names + - pokemon_entries + - region + - version_groups PokedexName: type: object properties: @@ -7490,10 +7490,10 @@ components: type: string maxLength: 200 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - name + - language + - name PokedexSummary: type: object properties: @@ -7505,8 +7505,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url PokemonColorDetail: type: object properties: @@ -7519,18 +7519,18 @@ components: names: type: array items: - $ref: "#/components/schemas/PokemonColorName" + $ref: '#/components/schemas/PokemonColorName' readOnly: true pokemon_species: type: array items: - $ref: "#/components/schemas/PokemonSpeciesSummary" + $ref: '#/components/schemas/PokemonSpeciesSummary' readOnly: true required: - - id - - name - - names - - pokemon_species + - id + - name + - names + - pokemon_species PokemonColorName: type: object properties: @@ -7538,10 +7538,10 @@ components: type: string maxLength: 200 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - name + - language + - name PokemonColorSummary: type: object properties: @@ -7553,8 +7553,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url PokemonDetail: type: object properties: @@ -7566,244 +7566,246 @@ components: maxLength: 200 base_experience: type: - - integer - - "null" + - integer + - 'null' height: type: - - integer - - "null" + - integer + - 'null' is_default: type: boolean order: type: - - integer - - "null" + - integer + - 'null' weight: type: - - integer - - "null" + - integer + - 'null' abilities: type: array items: type: object required: - - ability - - is_hidden - - slot + - ability + - is_hidden + - slot properties: ability: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - sand-veil + - sand-veil url: type: string format: uri examples: - - https://pokeapi.co/api/v2/ability/8/ + - https://pokeapi.co/api/v2/ability/8/ is_hidden: type: boolean slot: type: integer format: int32 examples: - - 1 + - 1 readOnly: true past_abilities: type: array items: type: object required: - - abilities - - generation + - abilities + - generation properties: abilities: type: array items: type: object required: - - ability - - is_hidden - - slot + - ability + - is_hidden + - slot properties: ability: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - levitate + - levitate url: type: string format: uri examples: - - https://pokeapi.co/api/v2/ability/26/ + - https://pokeapi.co/api/v2/ability/26/ is_hidden: type: boolean slot: type: integer format: int32 examples: - - 1 + - 1 generation: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - generation-vi + - generation-vi url: type: string format: uri examples: - - https://pokeapi.co/api/v2/generation/6/ + - https://pokeapi.co/api/v2/generation/6/ readOnly: true forms: type: array items: - $ref: "#/components/schemas/PokemonFormSummary" + $ref: '#/components/schemas/PokemonFormSummary' readOnly: true game_indices: type: array items: - $ref: "#/components/schemas/PokemonGameIndex" + $ref: '#/components/schemas/PokemonGameIndex' readOnly: true held_items: - type: object - required: + type: array + items: + type: object + required: - item - version_details - properties: - item: - type: object - required: + properties: + item: + type: object + required: - name - url - properties: - name: - type: string - examples: + properties: + name: + type: string + examples: - soft-sand - url: - type: string - format: uri - examples: + url: + type: string + format: uri + examples: - https://pokeapi.co/api/v2/item/214/ - version_details: - type: array - items: - type: object - required: + version_details: + type: array + items: + type: object + required: - rarity - version - properties: - rarity: - type: integer - format: int32 - examples: + properties: + rarity: + type: integer + format: int32 + examples: - 5 - version: - type: object - required: + version: + type: object + required: - name - url - properties: - name: - type: string - examples: + properties: + name: + type: string + examples: - diamond - url: - type: string - format: uri - examples: + url: + type: string + format: uri + examples: - https://pokeapi.co/api/v2/version/12/ readOnly: true location_area_encounters: type: string examples: - - https://pokeapi.co/api/v2/pokemon/1/encounters + - https://pokeapi.co/api/v2/pokemon/1/encounters readOnly: true moves: type: array items: type: object required: - - move - - version_group_details + - move + - version_group_details properties: move: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - scratch + - scratch url: type: string format: uri examples: - - https://pokeapi.co/api/v2/move/10/ + - https://pokeapi.co/api/v2/move/10/ version_group_details: type: array items: type: object required: - - level_learned_at - - move_learn_method - - version_group + - level_learned_at + - move_learn_method + - version_group properties: level_learned_at: type: integer format: int32 examples: - - 1 + - 1 move_learn_method: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - level-up + - level-up url: type: string format: uri examples: - - https://pokeapi.co/api/v2/move-learn-method/1/ + - https://pokeapi.co/api/v2/move-learn-method/1/ version_group: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - red-blue + - red-blue url: type: string format: uri examples: - - https://pokeapi.co/api/v2/version-group/1/ + - https://pokeapi.co/api/v2/version-group/1/ readOnly: true species: - $ref: "#/components/schemas/PokemonSpeciesSummary" + $ref: '#/components/schemas/PokemonSpeciesSummary' sprites: type: object properties: @@ -7816,146 +7818,146 @@ components: format: uri nullable: true examples: - - https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/back/shiny/1.png + - https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/back/shiny/1.png examples: - - back_default: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/back/1.png - back_female: null - back_shiny: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/back/shiny/1.png - back_shiny_female: null - front_default: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/1.png - front_female: null - front_shiny: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/shiny/1.png - front_shiny_female: null + - back_default: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/back/1.png + back_female: null + back_shiny: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/back/shiny/1.png + back_shiny_female: null + front_default: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/1.png + front_female: null + front_shiny: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/shiny/1.png + front_shiny_female: null readOnly: true cries: type: object required: - - latest - - legacy + - latest + - legacy properties: latest: type: string format: uri examples: - - https://raw.githubusercontent.com/PokeAPI/cries/main/cries/pokemon/latest/50.ogg + - https://raw.githubusercontent.com/PokeAPI/cries/main/cries/pokemon/latest/50.ogg legacy: type: string format: uri examples: - - https://raw.githubusercontent.com/PokeAPI/cries/main/cries/pokemon/legacy/50.ogg + - https://raw.githubusercontent.com/PokeAPI/cries/main/cries/pokemon/legacy/50.ogg readOnly: true stats: type: array items: - $ref: "#/components/schemas/PokemonStat" + $ref: '#/components/schemas/PokemonStat' readOnly: true types: type: array items: type: object required: - - slot - - type + - slot + - type properties: slot: type: integer format: int32 examples: - - 1 + - 1 type: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - ghost + - ghost url: type: string format: uri examples: - - https://pokeapi.co/api/v2/type/8/ + - https://pokeapi.co/api/v2/type/8/ readOnly: true past_types: type: array items: type: object required: - - generation - - types + - generation + - types properties: generation: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - generation-v + - generation-v url: type: string format: uri examples: - - https://pokeapi.co/api/v2/generation/5/ + - https://pokeapi.co/api/v2/generation/5/ types: type: array items: type: object required: - - slot - - type + - slot + - type properties: slot: type: integer format: int32 examples: - - 1 + - 1 type: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - normal + - normal url: type: string format: uri examples: - - https://pokeapi.co/api/v2/type/1/ - readOnly: true - required: - - abilities - - cries - - forms - - game_indices - - held_items - - id - - location_area_encounters - - moves - - name - - past_abilities - - past_types - - species - - sprites - - stats - - types + - https://pokeapi.co/api/v2/type/1/ + readOnly: true + required: + - abilities + - cries + - forms + - game_indices + - held_items + - id + - location_area_encounters + - moves + - name + - past_abilities + - past_types + - species + - sprites + - stats + - types PokemonDexEntry: type: object properties: entry_number: type: integer pokedex: - $ref: "#/components/schemas/PokedexSummary" + $ref: '#/components/schemas/PokedexSummary' required: - - entry_number - - pokedex + - entry_number + - pokedex PokemonFormDetail: type: object properties: @@ -7967,12 +7969,12 @@ components: maxLength: 200 order: type: - - integer - - "null" + - integer + - 'null' form_order: type: - - integer - - "null" + - integer + - 'null' is_default: type: boolean is_battle_only: @@ -7983,7 +7985,7 @@ components: type: string maxLength: 30 pokemon: - $ref: "#/components/schemas/PokemonSummary" + $ref: '#/components/schemas/PokemonSummary' sprites: type: object properties: @@ -7991,120 +7993,120 @@ components: type: string format: uri examples: - - https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/back/412.png + - https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/back/412.png additionalProperties: type: string format: uri nullable: true examples: - - https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/back/shiny/412.png + - https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/back/shiny/412.png examples: - - back_default: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/back/412.png - back_female: null - back_shiny: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/back/shiny/412.png - back_shiny_female: null - front_default: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/412.png - front_female: null - front_shiny: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/shiny/412.png - front_shiny_female: null + - back_default: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/back/412.png + back_female: null + back_shiny: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/back/shiny/412.png + back_shiny_female: null + front_default: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/412.png + front_female: null + front_shiny: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/shiny/412.png + front_shiny_female: null readOnly: true version_group: - $ref: "#/components/schemas/VersionGroupSummary" + $ref: '#/components/schemas/VersionGroupSummary' form_names: type: array items: type: object required: - - language - - name + - language + - name properties: language: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - en + - en url: type: string format: uri examples: - - https://pokeapi.co/api/v2/language/9/ + - https://pokeapi.co/api/v2/language/9/ name: type: string examples: - - Plant Cloak + - Plant Cloak readOnly: true names: type: array items: type: object required: - - language - - name + - language + - name properties: language: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - en + - en url: type: string format: uri examples: - - https://pokeapi.co/api/v2/language/9/ + - https://pokeapi.co/api/v2/language/9/ name: type: string examples: - - Plant Cloak + - Plant Cloak readOnly: true types: type: array items: type: object required: - - slot - - type + - slot + - type properties: slot: type: integer format: int32 examples: - - 1 + - 1 type: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - bug + - bug url: type: string format: uri examples: - - https://pokeapi.co/api/v2/type/7/ - readOnly: true - required: - - form_name - - form_names - - id - - name - - names - - pokemon - - sprites - - types - - version_group + - https://pokeapi.co/api/v2/type/7/ + readOnly: true + required: + - form_name + - form_names + - id + - name + - names + - pokemon + - sprites + - types + - version_group PokemonFormSummary: type: object properties: @@ -8116,18 +8118,18 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url PokemonGameIndex: type: object properties: game_index: type: integer version: - $ref: "#/components/schemas/VersionSummary" + $ref: '#/components/schemas/VersionSummary' required: - - game_index - - version + - game_index + - version PokemonHabitatDetail: type: object properties: @@ -8140,18 +8142,18 @@ components: names: type: array items: - $ref: "#/components/schemas/PokemonHabitatName" + $ref: '#/components/schemas/PokemonHabitatName' readOnly: true pokemon_species: type: array items: - $ref: "#/components/schemas/PokemonSpeciesSummary" + $ref: '#/components/schemas/PokemonSpeciesSummary' readOnly: true required: - - id - - name - - names - - pokemon_species + - id + - name + - names + - pokemon_species PokemonHabitatName: type: object properties: @@ -8159,10 +8161,10 @@ components: type: string maxLength: 200 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - name + - language + - name PokemonHabitatSummary: type: object properties: @@ -8174,8 +8176,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url PokemonShapeDetail: type: object properties: @@ -8190,58 +8192,58 @@ components: items: type: object required: - - awesome_name - - language + - awesome_name + - language properties: awesome_name: type: string examples: - - Pomaceous + - Pomaceous language: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - en + - en url: type: string format: uri examples: - - https://pokeapi.co/api/v2/language/9/ + - https://pokeapi.co/api/v2/language/9/ readOnly: true names: type: array items: type: object required: - - url - - name + - url + - name properties: url: type: string format: uri examples: - - https://pokeapi.co/api/v2/language/9/ + - https://pokeapi.co/api/v2/language/9/ name: type: string examples: - - Ball + - Ball readOnly: true pokemon_species: type: array items: - $ref: "#/components/schemas/PokemonSpeciesSummary" + $ref: '#/components/schemas/PokemonSpeciesSummary' readOnly: true required: - - awesome_names - - id - - name - - names - - pokemon_species + - awesome_names + - id + - name + - names + - pokemon_species PokemonShapeSummary: type: object properties: @@ -8253,8 +8255,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url PokemonSpeciesDescription: type: object properties: @@ -8262,9 +8264,9 @@ components: type: string maxLength: 1000 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language + - language PokemonSpeciesDetail: type: object properties: @@ -8276,20 +8278,20 @@ components: maxLength: 200 order: type: - - integer - - "null" + - integer + - 'null' gender_rate: type: - - integer - - "null" + - integer + - 'null' capture_rate: type: - - integer - - "null" + - integer + - 'null' base_happiness: type: - - integer - - "null" + - integer + - 'null' is_baby: type: boolean is_legendary: @@ -8298,207 +8300,207 @@ components: type: boolean hatch_counter: type: - - integer - - "null" + - integer + - 'null' has_gender_differences: type: boolean forms_switchable: type: boolean growth_rate: - $ref: "#/components/schemas/GrowthRateSummary" + $ref: '#/components/schemas/GrowthRateSummary' pokedex_numbers: type: array items: - $ref: "#/components/schemas/PokemonDexEntry" + $ref: '#/components/schemas/PokemonDexEntry' readOnly: true egg_groups: type: array items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - monster + - monster url: type: string format: uri examples: - - https://pokeapi.co/api/v2/egg-group/1/ + - https://pokeapi.co/api/v2/egg-group/1/ readOnly: true color: - $ref: "#/components/schemas/PokemonColorSummary" + $ref: '#/components/schemas/PokemonColorSummary' shape: - $ref: "#/components/schemas/PokemonShapeSummary" + $ref: '#/components/schemas/PokemonShapeSummary' evolves_from_species: - $ref: "#/components/schemas/PokemonSpeciesSummary" + $ref: '#/components/schemas/PokemonSpeciesSummary' evolution_chain: - $ref: "#/components/schemas/EvolutionChainSummary" + $ref: '#/components/schemas/EvolutionChainSummary' habitat: - $ref: "#/components/schemas/PokemonHabitatSummary" + $ref: '#/components/schemas/PokemonHabitatSummary' generation: - $ref: "#/components/schemas/GenerationSummary" + $ref: '#/components/schemas/GenerationSummary' names: type: array items: type: object required: - - language - - name + - language + - name properties: language: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - en + - en url: type: string format: uri examples: - - https://pokeapi.co/api/v2/language/9/ + - https://pokeapi.co/api/v2/language/9/ name: type: string examples: - - bulbasaur + - bulbasaur readOnly: true pal_park_encounters: type: array items: type: object required: - - area - - base_score - - rate + - area + - base_score + - rate properties: area: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - field + - field url: type: string format: uri examples: - - https://pokeapi.co/api/v2/pal-park-area/2/ + - https://pokeapi.co/api/v2/pal-park-area/2/ base_score: type: integer format: int32 examples: - - 50 + - 50 rate: type: integer format: int32 examples: - - 30 + - 30 readOnly: true form_descriptions: type: array items: - $ref: "#/components/schemas/PokemonSpeciesDescription" + $ref: '#/components/schemas/PokemonSpeciesDescription' readOnly: true flavor_text_entries: type: array items: - $ref: "#/components/schemas/PokemonSpeciesFlavorText" + $ref: '#/components/schemas/PokemonSpeciesFlavorText' readOnly: true genera: type: array items: type: object required: - - genus - - language + - genus + - language properties: genus: type: string examples: - - Seed Pokémon + - Seed Pokémon language: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - en + - en url: type: string format: uri examples: - - https://pokeapi.co/api/v2/language/9/ + - https://pokeapi.co/api/v2/language/9/ readOnly: true varieties: type: array items: type: object required: - - is_default - - pokemon + - is_default + - pokemon properties: is_default: type: boolean pokemon: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - bulbasaur + - bulbasaur url: type: string format: uri examples: - - https://pokeapi.co/api/v2/pokemon/1/ - readOnly: true - required: - - color - - egg_groups - - evolution_chain - - evolves_from_species - - flavor_text_entries - - form_descriptions - - genera - - generation - - growth_rate - - habitat - - id - - name - - names - - pal_park_encounters - - pokedex_numbers - - shape - - varieties + - https://pokeapi.co/api/v2/pokemon/1/ + readOnly: true + required: + - color + - egg_groups + - evolution_chain + - evolves_from_species + - flavor_text_entries + - form_descriptions + - genera + - generation + - growth_rate + - habitat + - id + - name + - names + - pal_park_encounters + - pokedex_numbers + - shape + - varieties PokemonSpeciesFlavorText: type: object properties: flavor_text: type: string language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' version: - $ref: "#/components/schemas/VersionSummary" + $ref: '#/components/schemas/VersionSummary' required: - - flavor_text - - language - - version + - flavor_text + - language + - version PokemonSpeciesSummary: type: object properties: @@ -8510,8 +8512,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url PokemonStat: type: object properties: @@ -8520,11 +8522,11 @@ components: effort: type: integer stat: - $ref: "#/components/schemas/StatSummary" + $ref: '#/components/schemas/StatSummary' required: - - base_stat - - effort - - stat + - base_stat + - effort + - stat PokemonSummary: type: object properties: @@ -8536,8 +8538,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url RegionDetail: type: object properties: @@ -8550,48 +8552,48 @@ components: locations: type: array items: - $ref: "#/components/schemas/LocationSummary" + $ref: '#/components/schemas/LocationSummary' readOnly: true main_generation: allOf: - - $ref: "#/components/schemas/GenerationSummary" + - $ref: '#/components/schemas/GenerationSummary' readOnly: true names: type: array items: - $ref: "#/components/schemas/RegionName" + $ref: '#/components/schemas/RegionName' readOnly: true pokedexes: type: array items: - $ref: "#/components/schemas/PokedexSummary" + $ref: '#/components/schemas/PokedexSummary' readOnly: true version_groups: type: array items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - red-blue + - red-blue url: type: string format: uri examples: - - https://pokeapi.co/api/v2/version-group/1/ + - https://pokeapi.co/api/v2/version-group/1/ readOnly: true required: - - id - - locations - - main_generation - - name - - names - - pokedexes - - version_groups + - id + - locations + - main_generation + - name + - names + - pokedexes + - version_groups RegionName: type: object properties: @@ -8599,10 +8601,10 @@ components: type: string maxLength: 200 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - name + - language + - name RegionSummary: type: object properties: @@ -8614,8 +8616,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url StatDetail: type: object properties: @@ -8632,128 +8634,128 @@ components: affecting_moves: type: object required: - - decrease - - increase + - decrease + - increase properties: increase: type: array items: type: object required: - - change - - move + - change + - move properties: change: type: integer format: int32 examples: - - -1 + - -1 move: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - swords-dance + - swords-dance url: type: string format: uri examples: - - https://pokeapi.co/api/v2/move/14/ + - https://pokeapi.co/api/v2/move/14/ decrease: type: array items: type: object required: - - change - - move + - change + - move properties: change: type: integer format: int32 examples: - - 5 + - 5 move: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - growl + - growl url: type: string format: uri examples: - - https://pokeapi.co/api/v2/move/45/ + - https://pokeapi.co/api/v2/move/45/ readOnly: true affecting_natures: type: object required: - - increase - - decrease + - increase + - decrease properties: increase: type: array items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - lonely + - lonely url: type: string format: uri examples: - - https://pokeapi.co/api/v2/nature/6/ + - https://pokeapi.co/api/v2/nature/6/ decrease: type: array items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - bold + - bold url: type: string format: uri examples: - - https://pokeapi.co/api/v2/nature/2/ + - https://pokeapi.co/api/v2/nature/2/ readOnly: true characteristics: type: array items: - $ref: "#/components/schemas/CharacteristicSummary" + $ref: '#/components/schemas/CharacteristicSummary' readOnly: true move_damage_class: - $ref: "#/components/schemas/MoveDamageClassSummary" + $ref: '#/components/schemas/MoveDamageClassSummary' names: type: array items: - $ref: "#/components/schemas/StatName" + $ref: '#/components/schemas/StatName' readOnly: true required: - - affecting_moves - - affecting_natures - - characteristics - - game_index - - id - - move_damage_class - - name - - names + - affecting_moves + - affecting_natures + - characteristics + - game_index + - id + - move_damage_class + - name + - names StatName: type: object properties: @@ -8761,10 +8763,10 @@ components: type: string maxLength: 200 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - name + - language + - name StatSummary: type: object properties: @@ -8776,8 +8778,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url SuperContestEffectDetail: type: object properties: @@ -8789,18 +8791,18 @@ components: flavor_text_entries: type: array items: - $ref: "#/components/schemas/SuperContestEffectFlavorText" + $ref: '#/components/schemas/SuperContestEffectFlavorText' readOnly: true moves: type: array items: - $ref: "#/components/schemas/MoveSummary" + $ref: '#/components/schemas/MoveSummary' readOnly: true required: - - appeal - - flavor_text_entries - - id - - moves + - appeal + - flavor_text_entries + - id + - moves SuperContestEffectFlavorText: type: object properties: @@ -8808,10 +8810,10 @@ components: type: string maxLength: 500 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - flavor_text - - language + - flavor_text + - language SuperContestEffectSummary: type: object properties: @@ -8820,7 +8822,7 @@ components: format: uri readOnly: true required: - - url + - url TypeDetail: type: object description: Serializer for the Type resource @@ -8834,300 +8836,300 @@ components: damage_relations: type: object required: - - no_damage_to - - half_damage_to - - double_damage_to - - no_damage_from - - half_damage_from - - double_damage_from + - no_damage_to + - half_damage_to + - double_damage_to + - no_damage_from + - half_damage_from + - double_damage_from properties: no_damage_to: type: array items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - flying + - flying url: type: string format: uri examples: - - https://pokeapi.co/api/v2/type/3/ + - https://pokeapi.co/api/v2/type/3/ half_damage_to: type: array items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - bug + - bug url: type: string format: uri examples: - - https://pokeapi.co/api/v2/type/7/ + - https://pokeapi.co/api/v2/type/7/ double_damage_to: type: array items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - poison + - poison url: type: string format: uri examples: - - https://pokeapi.co/api/v2/type/4/ + - https://pokeapi.co/api/v2/type/4/ no_damage_from: type: array items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - electric + - electric url: type: string format: uri examples: - - https://pokeapi.co/api/v2/type/13/ + - https://pokeapi.co/api/v2/type/13/ half_damage_from: type: array items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - poison + - poison url: type: string format: uri examples: - - https://pokeapi.co/api/v2/type/4/ + - https://pokeapi.co/api/v2/type/4/ double_damage_from: type: array items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - water + - water url: type: string format: uri examples: - - https://pokeapi.co/api/v2/type/11/ + - https://pokeapi.co/api/v2/type/11/ readOnly: true past_damage_relations: type: array items: type: object required: - - generation - - damage_relations + - generation + - damage_relations properties: generation: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - generation-v + - generation-v url: type: string format: uri examples: - - https://pokeapi.co/api/v2/generation/5/ + - https://pokeapi.co/api/v2/generation/5/ damage_relations: type: object required: - - no_damage_to - - half_damage_to - - double_damage_to - - no_damage_from - - half_damage_from - - double_damage_from + - no_damage_to + - half_damage_to + - double_damage_to + - no_damage_from + - half_damage_from + - double_damage_from properties: no_damage_to: type: array items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - flying + - flying url: type: string format: uri examples: - - https://pokeapi.co/api/v2/type/3/ + - https://pokeapi.co/api/v2/type/3/ half_damage_to: type: array items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - bug + - bug url: type: string format: uri examples: - - https://pokeapi.co/api/v2/type/7/ + - https://pokeapi.co/api/v2/type/7/ double_damage_to: type: array items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - poison + - poison url: type: string format: uri examples: - - https://pokeapi.co/api/v2/type/4/ + - https://pokeapi.co/api/v2/type/4/ no_damage_from: type: array items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - electric + - electric url: type: string format: uri examples: - - https://pokeapi.co/api/v2/type/13/ + - https://pokeapi.co/api/v2/type/13/ half_damage_from: type: array items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - poison + - poison url: type: string format: uri examples: - - https://pokeapi.co/api/v2/type/4/ + - https://pokeapi.co/api/v2/type/4/ double_damage_from: type: array items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - water + - water url: type: string format: uri examples: - - https://pokeapi.co/api/v2/type/11/ + - https://pokeapi.co/api/v2/type/11/ readOnly: true game_indices: type: array items: - $ref: "#/components/schemas/TypeGameIndex" + $ref: '#/components/schemas/TypeGameIndex' readOnly: true generation: - $ref: "#/components/schemas/GenerationSummary" + $ref: '#/components/schemas/GenerationSummary' move_damage_class: - $ref: "#/components/schemas/MoveDamageClassSummary" + $ref: '#/components/schemas/MoveDamageClassSummary' names: type: array items: - $ref: "#/components/schemas/AbilityName" + $ref: '#/components/schemas/AbilityName' readOnly: true pokemon: type: array items: type: object required: - - potency - - flavor + - potency + - flavor properties: slot: type: integer examples: - - 1 + - 1 pokemon: type: object require: - - name - - url + - name + - url properties: name: type: string description: The name of the pokemon examples: - - sandshrew + - sandshrew url: type: string format: uri description: The URL to get more information about the pokemon examples: - - https://pokeapi.co/api/v2/pokemon/27/ + - https://pokeapi.co/api/v2/pokemon/27/ readOnly: true moves: type: array items: - $ref: "#/components/schemas/MoveSummary" + $ref: '#/components/schemas/MoveSummary' readOnly: true sprites: type: object @@ -9140,50 +9142,50 @@ components: type: string format: uri examples: - - https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/types/generation-iii/colosseum/1.png + - https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/types/generation-iii/colosseum/1.png examples: - - colosseum: - name_icon: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/types/generation-iii/colosseum/1.png + - colosseum: + name_icon: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/types/generation-iii/colosseum/1.png examples: - - generation-ix: - scarlet-violet: - name_icon: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/types/generation-ix/scarlet-violet/1.png + - generation-ix: + scarlet-violet: + name_icon: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/types/generation-ix/scarlet-violet/1.png examples: - - sprites: - generation-iii: - colosseum: - name_icon: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/types/generation-iii/colosseum/1.png - emerald: - name_icon: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/types/generation-iii/emerald/1.png - firered-leafgreen: - name_icon: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/types/generation-iii/firered-leafgreen/1.png - ruby-saphire: - name_icon: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/types/generation-iii/ruby-saphire/1.png - xd: - name_icon: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/types/generation-iii/xd/1.png - readOnly: true - required: - - damage_relations - - game_indices - - generation - - id - - move_damage_class - - moves - - name - - names - - past_damage_relations - - pokemon - - sprites + - sprites: + generation-iii: + colosseum: + name_icon: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/types/generation-iii/colosseum/1.png + emerald: + name_icon: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/types/generation-iii/emerald/1.png + firered-leafgreen: + name_icon: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/types/generation-iii/firered-leafgreen/1.png + ruby-saphire: + name_icon: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/types/generation-iii/ruby-saphire/1.png + xd: + name_icon: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/types/generation-iii/xd/1.png + readOnly: true + required: + - damage_relations + - game_indices + - generation + - id + - move_damage_class + - moves + - name + - names + - past_damage_relations + - pokemon + - sprites TypeGameIndex: type: object properties: game_index: type: integer generation: - $ref: "#/components/schemas/GenerationSummary" + $ref: '#/components/schemas/GenerationSummary' required: - - game_index - - generation + - game_index + - generation TypeSummary: type: object properties: @@ -9195,8 +9197,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url VersionDetail: type: object description: |- @@ -9213,15 +9215,15 @@ components: names: type: array items: - $ref: "#/components/schemas/VersionName" + $ref: '#/components/schemas/VersionName' readOnly: true version_group: - $ref: "#/components/schemas/VersionGroupSummary" + $ref: '#/components/schemas/VersionGroupSummary' required: - - id - - name - - names - - version_group + - id + - name + - names + - version_group VersionGroupDetail: type: object properties: @@ -9233,77 +9235,77 @@ components: maxLength: 200 order: type: - - integer - - "null" + - integer + - 'null' generation: - $ref: "#/components/schemas/GenerationSummary" + $ref: '#/components/schemas/GenerationSummary' move_learn_methods: type: array items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - level-up + - level-up url: type: string format: uri examples: - - https://pokeapi.co/api/v2/move-learn-method/1/ + - https://pokeapi.co/api/v2/move-learn-method/1/ readOnly: true pokedexes: type: array items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - kanto + - kanto url: type: string format: uri examples: - - https://pokeapi.co/api/v2/pokedex/2/ + - https://pokeapi.co/api/v2/pokedex/2/ readOnly: true regions: type: array items: type: object required: - - name - - url + - name + - url properties: name: type: string examples: - - kanto + - kanto url: type: string format: uri examples: - - https://pokeapi.co/api/v2/region/1/ + - https://pokeapi.co/api/v2/region/1/ readOnly: true versions: type: array items: - $ref: "#/components/schemas/VersionSummary" + $ref: '#/components/schemas/VersionSummary' readOnly: true required: - - generation - - id - - move_learn_methods - - name - - pokedexes - - regions - - versions + - generation + - id + - move_learn_methods + - name + - pokedexes + - regions + - versions VersionGroupSummary: type: object properties: @@ -9315,8 +9317,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url VersionName: type: object properties: @@ -9324,10 +9326,10 @@ components: type: string maxLength: 200 language: - $ref: "#/components/schemas/LanguageSummary" + $ref: '#/components/schemas/LanguageSummary' required: - - language - - name + - language + - name VersionSummary: type: object properties: @@ -9339,8 +9341,8 @@ components: format: uri readOnly: true required: - - name - - url + - name + - url securitySchemes: basicAuth: type: http @@ -9350,70 +9352,70 @@ components: in: cookie name: sessionid servers: - - url: https://pokeapi.co +- url: https://pokeapi.co tags: - - name: pokemon - description: Pokémon are the creatures that inhabit the world of the Pokémon games. - They can be caught using Pokéballs and trained by battling with other Pokémon. - Each Pokémon belongs to a specific species but may take on a variant which makes - it differ from other Pokémon of the same species, such as base stats, available - abilities and typings. See [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Pok%C3%A9mon_(species)) - for greater detail. - externalDocs: - description: Find more info here - url: https://bulbapedia.bulbagarden.net/wiki/Pok%C3%A9mon - - name: evolution - description: Evolution is a process in which a Pokémon changes into a different - species of Pokémon. - externalDocs: - description: Find more info here - url: https://bulbapedia.bulbagarden.net/wiki/Evolution - - name: berries - description: Berries can be soft or hard. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Category:Berries_by_firmness) - for greater detail. - externalDocs: - description: Find more info here - url: https://bulbapedia.bulbagarden.net/wiki/Berry - - name: items - description: 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. - externalDocs: - description: Find more info here - url: https://bulbapedia.bulbagarden.net/wiki/Item - - name: machines - description: Machines are the representation of items that teach moves to Pokémon. - They vary from version to version, so it is not certain that one specific TM or - HM corresponds to a single Machine. - externalDocs: - description: Find more info here - url: https://bulbapedia.bulbagarden.net/wiki/TM - - name: location - description: Locations that can be visited within the games. Locations make up sizable - portions of regions, like cities or routes. - externalDocs: - description: Find more info here - url: https://bulbapedia.bulbagarden.net/wiki/List_of_locations_by_index_number - - name: contest - description: Pokémon Contests are a type of competition often contrasted with Pokémon - battles and held in Contest Halls - externalDocs: - description: Find more info here - url: https://bulbapedia.bulbagarden.net/wiki/Pok%C3%A9mon_Contest - - name: moves - description: Moves are the skills of Pokémon in battle. In battle, a Pokémon uses - one move each turn. Some moves (including those learned by Hidden Machine) can - be used outside of battle as well, usually for the purpose of removing obstacles - or exploring new areas. - externalDocs: - description: Find more info here - url: https://bulbapedia.bulbagarden.net/wiki/List_of_locations_by_name - - name: encounters - - name: games - description: The Pokémon games are all video games in the Pokémon franchise. - externalDocs: - description: Find more info here - url: https://bulbapedia.bulbagarden.net/wiki/Pok%C3%A9mon_games - - name: utility +- name: pokemon + description: Pokémon are the creatures that inhabit the world of the Pokémon games. + They can be caught using Pokéballs and trained by battling with other Pokémon. + Each Pokémon belongs to a specific species but may take on a variant which makes + it differ from other Pokémon of the same species, such as base stats, available + abilities and typings. See [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Pok%C3%A9mon_(species)) + for greater detail. + externalDocs: + description: Find more info here + url: https://bulbapedia.bulbagarden.net/wiki/Pok%C3%A9mon +- name: evolution + description: Evolution is a process in which a Pokémon changes into a different + species of Pokémon. + externalDocs: + description: Find more info here + url: https://bulbapedia.bulbagarden.net/wiki/Evolution +- name: berries + description: Berries can be soft or hard. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Category:Berries_by_firmness) + for greater detail. + externalDocs: + description: Find more info here + url: https://bulbapedia.bulbagarden.net/wiki/Berry +- name: items + description: 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. + externalDocs: + description: Find more info here + url: https://bulbapedia.bulbagarden.net/wiki/Item +- name: machines + description: Machines are the representation of items that teach moves to Pokémon. + They vary from version to version, so it is not certain that one specific TM or + HM corresponds to a single Machine. + externalDocs: + description: Find more info here + url: https://bulbapedia.bulbagarden.net/wiki/TM +- name: location + description: Locations that can be visited within the games. Locations make up sizable + portions of regions, like cities or routes. + externalDocs: + description: Find more info here + url: https://bulbapedia.bulbagarden.net/wiki/List_of_locations_by_index_number +- name: contest + description: Pokémon Contests are a type of competition often contrasted with Pokémon + battles and held in Contest Halls + externalDocs: + description: Find more info here + url: https://bulbapedia.bulbagarden.net/wiki/Pok%C3%A9mon_Contest +- name: moves + description: Moves are the skills of Pokémon in battle. In battle, a Pokémon uses + one move each turn. Some moves (including those learned by Hidden Machine) can + be used outside of battle as well, usually for the purpose of removing obstacles + or exploring new areas. + externalDocs: + description: Find more info here + url: https://bulbapedia.bulbagarden.net/wiki/List_of_locations_by_name +- name: encounters +- name: games + description: The Pokémon games are all video games in the Pokémon franchise. + externalDocs: + description: Find more info here + url: https://bulbapedia.bulbagarden.net/wiki/Pok%C3%A9mon_games +- name: utility externalDocs: url: https://pokeapi.co/docs/v2