package Ġtech . gen itor . agent . api . facts Ċ Ċ import Ġorg . springframework . web . bind . annotation . GetMapping Ċ import Ġorg . springframework . web . bind . annotation . RequestMapping Ċ import Ġorg . springframework . web . bind . annotation . RestController Ċ import Ġtech . gen itor . agent . facts . to Dto Ċ import Ġtech . gen itor . core . Fact s Collector Ċ Ċ /** Ċ Ġ* ĠF acts ĠAPI . Ċ Ġ* Ċ Ġ* Ġ@ param Ġfacts Collector ĠF acts Ġcollector . Ċ Ġ*/ Ċ @ RestController Ċ @ RequestMapping ("/ facts ") Ċ class ĠF acts Controller ( ĊĠĠĠ Ġprivate Ġval Ġfacts Collector : ĠF acts Collector Ċ ) Ġ{ ĊĠĠĠ Ġ@ GetMapping ĊĠĠĠ Ġfun Ġcollect Fact s () Ġ= Ġfacts Collector . collect (). to Dto () Ċ } Ċ