![JAR search and dependency download from the Maven repository](/logo.png)
com.github.kongchen.swagger.docgen.remote.model.JApiInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swagger-maven-plugin Show documentation
Show all versions of swagger-maven-plugin Show documentation
A maven build plugin which helps you generate API document during build phase
package com.github.kongchen.swagger.docgen.remote.model;
import com.wordnik.swagger.model.ApiInfo;
/**
* Created by chekong on 10/11/14.
*/
public class JApiInfo implements CanBeSwaggerModel {
private String title;
private String description;
private String termsOfServiceUrl;
private String contact;
private String license;
private String licenseUrl;
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getTermsOfServiceUrl() {
return termsOfServiceUrl;
}
public void setTermsOfServiceUrl(String termsOfServiceUrl) {
this.termsOfServiceUrl = termsOfServiceUrl;
}
public String getContact() {
return contact;
}
public void setContact(String contact) {
this.contact = contact;
}
public String getLicense() {
return license;
}
public void setLicense(String license) {
this.license = license;
}
public String getLicenseUrl() {
return licenseUrl;
}
public void setLicenseUrl(String licenseUrl) {
this.licenseUrl = licenseUrl;
}
public ApiInfo toSwaggerModel() {
return new ApiInfo(title, description, termsOfServiceUrl, contact, license, licenseUrl);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy