Adding swagger annotations to beans
4.x.x
Madhawa 9 years ago
commit b6e7827920

@ -18,13 +18,23 @@
package org.wso2.carbon.device.mgt.common.configuration.mgt;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
* Represents an individual configuration entry.
*/
@ApiModel(value = "ConfigurationEntry", description = "This class carries all information related to Tenant Configuration" +
"Settings")
public class ConfigurationEntry {
@ApiModelProperty(name = "name", value = "Name of the configuration", required = true)
private String name;
@ApiModelProperty(name = "contentType", value = "Type of the configuration", required = true)
private String contentType;
@ApiModelProperty(name = "value", value = "Value of the configuration", required = true)
private Object value;
public String getName() {

Loading…
Cancel
Save