Update: Upgraded to Java 11 and Graph QL to 5+ version dependency
/rest/books
is the REST resource which can fetch Books informationhttp://localhost:8091/rest/books
allBooks
{
allBooks {
isn
title
authors
publisher
}
}
book
{
book(id: "123") {
title
authors
publisher
}
allBooks
and book
{
allBooks {
title
authors
}
book(id: "124") {
title
authors
publisher
}
}