public class SuccessResponse { @Parameter @ConfigOverride private Integer timeToPeel; public Integer getTimeToPeel() { return timeToPeel; } public void setTimeToPeel(Integer timeToPeel) { this.timeToPeel = timeToPeel; } }
@ExclusiveOptionals public static class ExclusionWithoutOneOptionalParameters { @Parameter private String requiredParameter; @Parameter @Optional private Integer lonelyOptional; }
public static class RepeatedEncoding { @Parameter @Optional public String someParameter; @DefaultEncoding private String encoding1; @DefaultEncoding private String encoding2; }
@ExclusiveOptionals public static class ExclusionWithNestedCollection { @Parameter private String validType; @Parameter private List<String> complexTypes; }
@MediaType(TEXT_PLAIN) public class SourceWithRequiredParameterWithAlias extends AbstractSource { @ParameterGroup(name = "someGroup") WithRequiredParameterWithAliasGroup group; }
public class NullSafeParameterGroupShowInDsl { @Parameter @Optional @NullSafe private NullSafePojo nullSafePojoShowInDsl; public NullSafePojo getNullSafePojoShowInDsl() { return nullSafePojoShowInDsl; } public void setNullSafePojoShowInDsl(NullSafePojo nullSafePojoShowInDsl) { this.nullSafePojoShowInDsl = nullSafePojoShowInDsl; } }
@ExclusiveOptionals public static class ExclusivePojo { @Parameter private Integer number; }
public class HarvestInputGroup { @Parameter @ConfigOverride private HealthyFood sample; public HealthyFood getSample() { return sample; } public void setSample(HealthyFood sample) { this.sample = sample; } }