com.devonfw.cobigen.openapiplugin.model.HeaderDef Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapiplugin-model Show documentation
Show all versions of openapiplugin-model Show documentation
A Code-based incremental Generator
package com.devonfw.cobigen.openapiplugin.model;
import java.util.LinkedList;
import java.util.List;
/**
* Definition that stores data about the overall application
*/
@SuppressWarnings("javadoc")
public class HeaderDef {
List servers;
InfoDef info;
public List getServers() {
return servers;
}
public void setServers(List servers) {
this.servers = servers;
}
public InfoDef getInfo() {
return info;
}
public void setInfo(InfoDef info) {
this.info = info;
}
public HeaderDef() {
servers = new LinkedList<>();
}
@Override
public String toString() {
return info.getTitle() + " " + info.getDescription();
}
}