GraphQL schema can be generated using bal graphql
command. Here we have to specify the GraphQL configuration file path or ballerina GraphQL service file path as input(-i) and the location to generate the schema as output(-o).
Please run the command bal graphql
for more details.