io.mosip.pms.config.OpenApiProperties Maven / Gradle / Ivy
The newest version!
package io.mosip.pms.config;
import java.util.List;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import lombok.Data;
/**
* @author Nagarjuna Kuchi
*
*/
@Configuration
@ConfigurationProperties(prefix = "openapi")
@Data
public class OpenApiProperties {
private InfoProperty info;
private PartnerManagementService partnerManagementService;
}
/**
* @author Nagarjuna Kuchi
*
*/
@Data
class InfoProperty {
private String title;
private String description;
private String version;
private LicenseProperty license;
}
/**
* @author Nagarjuna Kuchi
*
*/
@Data
class LicenseProperty {
private String name;
private String url;
}
/**
* @author Nagarjuna Kuchi
*
*/
@Data
class PartnerManagementService {
private List servers;
}
/**
* @author Nagarjuna Kuchi
*
*/
@Data
class Server {
private String description;
private String url;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy