Given an API explorer (e.g., Google APIs Explorer), how can one autogenerate SDL (Schema Definition Language) schema for all of the queries?
More specifically, I'm interested in doing it in a golang using gqlgen.
Some context: I'm interested in using GraphQL and would like to find out whether it's possible to generate SDL schema automatically (right now, I convert it manually which doesn't look right).