com.github.hy2cone.retrofit.spring.boot.autoconfigure.RetrofitProperties Maven / Gradle / Ivy
package com.github.hy2cone.retrofit.spring.boot.autoconfigure;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.validation.annotation.Validated;
import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import java.util.List;
@Validated
@ConfigurationProperties("retrofit")
public class RetrofitProperties {
@Valid
@NotEmpty
private List services;
public List getServices() {
return services;
}
public void setServices(List services) {
this.services = services;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy