I have been using apollo-tooling with apollo cli to generate my typescript typings from graphql schema fetched from API url.
I followed this tutorial: TypeScript GraphQL Code Generator – Generate GraphQL Types with Apollo Codegen Tutorial - Apollo GraphQL Blog
And used: npx apollo service:download --endpoint=$(grep REACT_APP_GRAPHQL_URL .env | cut -d ‘=’ -f2) graphql-schema.json
However, Apollo cli is deprecated and getting removed in the next major release in favour of using Rover.
I have not found a similar command to generate typings from schema using Rover cli. Is that possible?