Give QueryAPI GraphQL descriptors (#2)
Give QueryAPI GraphQL descriptors Reviewed-on: https://git.etztech.xyz/Minecraft/ServerAPI/pulls/2query
parent
30f329a32d
commit
d9490198b1
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue