An open API service indexing awesome lists of open source software.

https://github.com/hrkings/pokeapi-schema-typescript


https://github.com/hrkings/pokeapi-schema-typescript

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# PokeAPI TypeScript from JSON Schemas

This repository contains a basic generator that converts the JSON schemas found in https://github.com/PokeAPI/api-data/tree/master/data/schema/v2 to TypeScript interfaces. While more updated than the generator made from the docs (see [here](https://github.com/mudkipme/pokeapi-v2-typescript)), it does not provide descriptions to the fields in the interfaces.

# TODO

- [x] Include the `pokedex-promise-v2` methods in the `types/index.d.ts`
- [ ] Make the generator pick the schemas from the repository