com.wordnik.swagger.models.properties.FileProperty Maven / Gradle / Ivy
The newest version!
package com.wordnik.swagger.models.properties;
import com.wordnik.swagger.models.Xml;
public class FileProperty extends AbstractProperty implements Property {
public FileProperty() {
super.type = "file";
}
public FileProperty xml(Xml xml) {
this.setXml(xml);
return this;
}
public static boolean isType(String type, String format) {
if(type != null && "file".equals(type.toLowerCase()))
return true;
else return false;
}
} © 2015 - 2025 Weber Informatics LLC | Privacy Policy