Give QueryAPI GraphQL descriptors (#2)

Give QueryAPI GraphQL descriptors

Reviewed-on: https://git.etztech.xyz/Minecraft/ServerAPI/pulls/2
query
Etzelia 2020-08-10 17:09:05 +02:00
parent 30f329a32d
commit d9490198b1
1 changed files with 3 additions and 0 deletions

View File

@ -1,9 +1,12 @@
package xyz.etztech.serverapi.web.api; package xyz.etztech.serverapi.web.api;
import com.expediagroup.graphql.annotations.GraphQLDescription;
import com.expediagroup.graphql.annotations.GraphQLName; import com.expediagroup.graphql.annotations.GraphQLName;
import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty;
import org.bukkit.Server; import org.bukkit.Server;
@GraphQLName("Query")
@GraphQLDescription("Query GraphQL")
public class QueryAPI { public class QueryAPI {
private final String type; private final String type;
private final String version; private final String version;