title: How to generate graphql query from endpoint
body: <p>I would like to build a script that generates an example query with all fields from a GraphQL endpoint.</p>
  
  <p>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.</p>
  
  <p>Does someone have any experience in that?</p>