package Ġml . and rey . u aa . adapter . rest Ċ Ċ import Ġml . and rey . u aa . adapter . rest . UserController . Companion . RESOURCE _ PATH Ċ import Ġml . and rey . u aa . core . port . Users Ċ import Ġorg . springframework . web . bind . annotation . PostMapping Ċ import Ġorg . springframework . web . bind . annotation . RequestBody Ċ import Ġorg . springframework . web . bind . annotation . RequestMapping Ċ import Ġorg . springframework . web . bind . annotation . RestController Ċ Ċ @ RestController Ċ @ RequestMapping ( RESOURCE _ PATH ) Ċ class ĠUser Controller ( private Ġval Ġusers : ĠUsers ) Ġ{ ĊĊĠĠĠ Ġ@ PostMapping ĊĠĠĠ Ġfun Ġcreate (@ RequestBody Ġrest User : ĠRest User ) Ġ{ ĊĠĠĠĠĠĠĠ Ġusers . create ( rest User ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġconst Ġval ĠRESOURCE _ PATH Ġ= Ġ" users " ĊĠĠĠ Ġ} Ċ Ċ }