Creating a GraphQL Descriptor
Use the
Service Development perspective in
Designer to create a
GraphQL descriptor. In case you want to refresh the
GraphQL descriptor after creating it, you can do so. For more details, see
Refreshing a GraphQL Descriptor.
To create a GraphQL descriptor
1. In the Service Development perspective, select File > New > GraphQL Descriptor.
2. In the New GraphQL Descriptor dialog box, select the folder in which you want to create the GraphQL descriptor.
3. In the Element name field, type a name for the GraphQL descriptor using any combination of letters, numbers, and/or the underscore character. For information about restricted characters, see Working with Elements. 4. Click Next.
5. In the Select the GraphQL Schema Location wizard, browse and select the schema file.
Note: Ensure that the format of schema file is .txt, .json, .graphql, or .graphqls.
6. Click Finish.
Designer creates the GraphQL descriptor and displays the details in the GraphQL descriptor editor.