Missing OpenAPI nullable annotation for `Location.region`
Open
Beginner friendly
Nobody has claimed this yet.
bug
- Dominant language
- Python
- Stars
- 5.4k
- Forks
- 1.2k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 21
Description
Steps to Reproduce:
- See OpenAPI definition to ensure that
Location.regionis not marked as nullable. - Access https://pokeapi.co/api/v2/location/kanto
regionis null.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in openapi.yml at the Location.region definition around lines 5257-5258, then compare it with the response from /api/v2/location/kanto. Mark the field as nullable so the OpenAPI definition matches the observed null response.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi
- Domain
- api
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 88/100