package Ġbe . fk un nen . the sw is ssystem Ċ Ċ import Ġorg . springframework . beans . factory . annotation . Autowired Ċ import Ġorg . springframework . context . annotation . Bean Ċ import Ġorg . springframework . context . annotation . Configuration Ċ import Ġorg . springframework . http . MediaType Ċ import Ġorg . springframework . web . reactive . function . server . router Ċ Ċ @ Configuration Ċ class ĠRoutes Ġ@ Autowired Ġconstructor ( var Ġtournament Service : ĠTo urnament Service ) Ġ{ ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġrouting Function () Ġ= Ġrouter Ġ{ ĊĠĠĠĠĠĠĠ Ġ( accept ( MediaType . APPLICATION _ JSON )). nest Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠPOST ("/ tournament ", Ġtournament Service :: create Dummy Tournament ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ