Skip to content

Title: is_default Field Incorrect for Pokémon Form 10441 #1178

Open
@Ferlow

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

  1. Fetch the Pokémon data from /api/v2/pokemon/10272/:
    {
      "forms": [
        {
          "name": "ursaluna-bloodmoon",
          "url": "https://pokeapi.co/api/v2/pokemon-form/10441/"
        }
      ]
    }
  2. Fetch the form data from /api/v2/pokemon-form/10441/:
    {
      "id": 10441,
      "is_battle_only": false,
      "is_default": false
    }
  3. Observe that the is_default field is set to false.

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions