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;
import com.expediagroup.graphql.annotations.GraphQLDescription;
import com.expediagroup.graphql.annotations.GraphQLName;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.bukkit.Server;
@GraphQLName("Query")
@GraphQLDescription("Query GraphQL")
public class QueryAPI {
private final String type;
private final String version;