Title: is_default Field Incorrect for Pokémon Form 10441 #1178
Open
Description
is_default
Field Incorrect for Pokémon Form 10441
Description
The is_default
field in the /api/v2/pokemon-form/10441/
endpoint is incorrectly set to false
, despite being the only form associated with Pokémon 10272
(ursaluna-bloodmoon
).
According to the documentation for Pokémon forms, the is_default
field should be true
for exactly one form per Pokémon. Since this Pokémon has only one form, it should logically be marked as the default form.
Steps to Reproduce
- Fetch the Pokémon data from
/api/v2/pokemon/10272/
:{ "forms": [ { "name": "ursaluna-bloodmoon", "url": "https://pokeapi.co/api/v2/pokemon-form/10441/" } ] }
- Fetch the form data from
/api/v2/pokemon-form/10441/
:{ "id": 10441, "is_battle_only": false, "is_default": false }
- Observe that the
is_default
field is set tofalse
.
Expected Behavior
Since form 10441
is the only form for Pokémon 10272
, the is_default
field should be true
to align with the documentation.
Observed Behavior
The is_default
field is incorrectly set to false
.
Suggestion
Update the is_default
field for /api/v2/pokemon-form/10441/
to true
to reflect the correct behavior for the only form of this Pokémon.
Metadata
Assignees
Labels
No labels