Generate GraphQL schema from Ballerina GraphQL API

Generate GraphQL schema from Ballerina GraphQL API


0

Currently, I am trying out Ballerina support for GraphQL.

Is it possible for me to get the generated GraphQL schema using Ballerina?

1 Answer
1


0

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.



Leave a Reply

Your email address will not be published. Required fields are marked *