@Retention(value=RUNTIME) @Target(value=TYPE) @Documented public @interface InputFieldsOrder
@InputType(name = "StarshipInput", description = "Input type for a starship")
@InputFieldsOrder({"name", "id", "length"})
public class Starship {
private String id;
private String name;
private float length;
// getters/setters...
}
Schema generation of this would result in a stanza such as:
# Input type for a starship
input Starship {
id: String
name: String
length: Float
}
public abstract String[] value
Copyright © 2019 Eclipse Foundation. All rights reserved.