com.github.kongchen.swagger.docgen.remote.model.JApiKey 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.ApiKey;
/**
* Created by kongchen on 14/10/12.
*/
public class JApiKey implements CanBeSwaggerModel{
private String passAs;
private String keyname;
public String getPassAs() {
return passAs;
}
public void setPassAs(String passAs) {
this.passAs = passAs;
}
public String getKeyname() {
return keyname;
}
public void setKeyname(String keyname) {
this.keyname = keyname;
}
@Override
public ApiKey toSwaggerModel() {
return new ApiKey(keyname, passAs);
}
}