package Ġde . fel ix ros ke . examples . mock mvc starter Ċ Ċ import Ġorg . springframework . boot . autoconfigure . SpringBoot Application Ċ import Ġorg . springframework . boot . run Application Ċ import Ġorg . springframework . web . bind . annotation . GetMapping Ċ import Ġorg . springframework . web . bind . annotation . PathVariable Ċ import Ġorg . springframework . web . bind . annotation . RestController Ċ Ċ @ SpringBoot Application Ċ class ĠMock mvc Starter Application Ċ Ċ fun Ġmain ( args : ĠArray < String >) Ġ{ ĊĠĠĠ Ġrun Application < Mock mvc Starter Application >(* args ) Ċ } Ċ Ċ @ RestController Ċ class ĠStock Controller Ġ{ ĊĊĠĠĠ Ġ@ GetMapping ("/ api / stock /{ ticker }") ĊĠĠĠ Ġfun Ġget Stock (@ PathVariable (" ticker ") Ġticker : ĠString ): ĠString Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġ" Wire card ĠSE " ĊĠĠĠ Ġ} Ċ }