package Ġde . th om cz . swagger generator Ċ Ċ import Ġorg . springframework . http . MediaType Ċ import Ġorg . springframework . web . bind . annotation . GetMapping Ċ import Ġorg . springframework . web . bind . annotation . RequestParam Ċ import Ġorg . springframework . web . bind . annotation . RestController Ċ Ċ @ RestController Ċ class ĠHello World RestController () Ġ{ ĊĊĠĠĠ Ġ@ GetMapping ("/ api / hello ", Ġproduces Ġ= Ġ[ MediaType . APPLICATION _ JSON _ VALUE ]) ĊĠĠĠ Ġfun Ġhello (@ RequestParam Ġname : ĠString ): ĠG reeting Ġ= ĠG reeting (" Hello Ġ$ name !") Ċ Ċ }