Skip to content

Commit

Permalink
Add Javadoc comments for getIntrospectionQuery method
Browse files Browse the repository at this point in the history
  • Loading branch information
nisan-abeywickrama committed Jan 28, 2025
1 parent 8d38284 commit 6f524e3
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1405,6 +1405,11 @@ public static String getOpenAPIDefinitionFilePath(String apiName, String apiVers
apiName + RegistryConstants.PATH_SEPARATOR + apiVersion + RegistryConstants.PATH_SEPARATOR;
}

/**
* Utility method to get the introspection query for GraphQL
* @return introspection query
* @throws APIManagementException
*/
public static String getIntrospectionQuery() throws APIManagementException {
String introspectionQueryFilePath = "graphql/introspection_query.graphql";
try (InputStream fileStream = APIUtil.class.getClassLoader().getResourceAsStream(introspectionQueryFilePath)) {
Expand Down

0 comments on commit 6f524e3

Please sign in to comment.