get-graphql-schema
fetch and print the GraphQL schema from a GraphQL HTTP endpoint by introspectioin query.
go install github.com/gqlgo/get-graphql-schema@latest
$ get-graphql-schema -h "HEADER_KEY1=HEADER_VALUE1,HEADER_KEY2=HEADER_VALUE2" ENDPONT > schema.graphql