PokeAPI/api-data

Incorrect key `main_generation` should be `main_region`

beastmatser opened this issue · 1 comments

When looking at the schema for region, you will find that one of the keys listed is main_generation. When retrieving data from this endpoint, you will recieve a main_region datafield, the docs align with this data. I think this is just a simple mistake, which can just be fixed by replacing it with the correct terms. The mistake occurs at line 13 and 60.

Hi, every region is linked to a generation. That's why we have that property.

https://pokeapi.co/api/v2/region/1