I would like to build a script that generates an example query with all fields from a GraphQL endpoint.
I found some mechanisms to get the schema as a JSON structure and to adapt the schema files to a query. but nothing takes an endpoint and provides a suitable query for that endpoint.
Does someone have any experience in that?