Generate Pydantic schema from JSON objects
curl https://pokeapi.co/api/v2/pokemon/charizard | python main.py > pokemon.py
Will generate the pokemon.py file with all of the relevant types from the pokeapi.
Generate Pydantic schema from JSON objects
Generate Pydantic schema from JSON objects
curl https://pokeapi.co/api/v2/pokemon/charizard | python main.py > pokemon.py
Will generate the pokemon.py file with all of the relevant types from the pokeapi.
Generate Pydantic schema from JSON objects
MIT License