Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Commit 8acb1a6

Browse files
committed
chore: correct javadoc
1 parent a340f8f commit 8acb1a6

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

graphql-spring-boot-test/src/main/java/com/graphql/spring/boot/test/GraphQLTestTemplate.java

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,17 @@ public GraphQLResponse perform(
246246
return post(payload);
247247
}
248248

249-
/** Generate GraphQL payload, which consist of 3 elements: query, operationName and variables */
249+
/**
250+
* Generate GraphQL payload, which consist of 3 elements: query, operationName and variables
251+
*
252+
* @param graphqlResource path to the classpath resource containing the GraphQL query
253+
* @param operationName the name of the GraphQL operation to be executed
254+
* @param variables the input variables for the GraphQL query
255+
* @param fragmentResources an ordered list of classpath resources containing GraphQL fragment
256+
* definitions.
257+
* @return the payload
258+
* @throws IOException if the resource cannot be loaded from the classpath
259+
*/
250260
private String getPayload(
251261
String graphqlResource,
252262
String operationName,

0 commit comments

Comments
 (0)