Refine documentSource locations

Closes gh-338
This commit is contained in:
rstoyanchev
2022-04-01 21:39:21 +01:00
parent 9289f0a1b5
commit 696f2cd02f
11 changed files with 68 additions and 18 deletions

View File

@@ -281,8 +281,10 @@ project release versions from the response:
The JsonPath is relative to the "data" section of the response.
You can also create document files with extensions `.graphql` or `.gql` under
`"graphql/"` on the classpath and refer to them by file name. For example, given a file
called `projectReleases.graphql` in `src/main/resources/graphql`, with content:
`"graphql-test/"` on the classpath and refer to them by file name.
For example, given a file called `projectReleases.graphql` in
`src/main/resources/graphql-test`, with content:
[source,graphql,indent=0,subs="verbatim,quotes"]
----