use of com.reprezen.kaizen.oasparser.model3.Info in project cobigen by devonfw.
the class OpenAPIInputReader method extractInfo.
/**
* @param openApi document root
* @return an object of {@link InfoDef}
*/
private InfoDef extractInfo(OpenApi3 openApi) {
InfoDef info = new InfoDef();
Info inf = openApi.getInfo();
info.setDescription(inf.getDescription());
info.setTitle(inf.getTitle());
return info;
}