package Ġcom . ku z ni ar ski . controller Ċ Ċ import Ġcom . ku z ni ar ski . converter . convertTo Word Ċ import Ġorg . springframework . http . HttpStatus Ċ import Ġorg . springframework . http . Response Entity Ċ import Ġorg . springframework . web . bind . annotation . GetMapping Ċ import Ġorg . springframework . web . bind . annotation . PathVariable Ċ import Ġorg . springframework . web . bind . annotation . RequestMapping Ċ import Ġorg . springframework . web . bind . annotation . RestController Ċ Ċ @ RestController Ċ @ RequestMapping ("/ number ") Ċ class ĠBasic Controller Ġ{ ĊĊĠĠĠ Ġ@ GetMapping ("/ { number }") ĊĠĠĠ Ġfun Ġhello (@ PathVariable Ġnumber : Long ) Ġ: Response Entity < String > Ġ= ĠResponseEntity ( convertTo Word ( number ), ĠHttpStatus . OK ) Ċ }