package Ġorg . open ap it ools . api Ċ Ċ import Ġorg . open ap it ools . model . Computer Set Ċ import Ġorg . springframework . http . HttpStatus Ċ import Ġorg . springframework . http . MediaType Ċ import Ġorg . springframework . http . Response Entity Ċ Ċ import Ġorg . springframework . web . bind . annotation .* Ċ import Ġorg . springframework . validation . annotation . Validated Ċ import Ġorg . springframework . web . context . request . Native WebRequest Ċ import Ġorg . springframework . beans . factory . annotation . Autowired Ċ Ċ import Ġjavax . validation . Valid Ċ import Ġjavax . validation . constraints . Decimal Max Ċ import Ġjavax . validation . constraints . Decimal Min Ċ import Ġjavax . validation . constraints . Max Ċ import Ġjavax . validation . constraints . Min Ċ import Ġjavax . validation . constraints . NotNull Ċ import Ġjavax . validation . constraints . Pattern Ċ import Ġjavax . validation . constraints . Size Ċ Ċ import Ġkotlin . collections . List Ċ import Ġkotlin . collections . Map Ċ Ċ @ RestController Ċ @ Validated Ċ @ RequestMapping ("\ ${ api . base - path : }") Ċ class ĠComputer Api Controller () Ġ{ ĊĊĊĠĠĠ Ġ@ RequestMapping ( ĊĠĠĠĠĠĠĠ Ġmethod Ġ= Ġ[ Request Method . GET ], ĊĠĠĠĠĠĠĠ Ġvalue Ġ= Ġ["/ computer / api / json "], ĊĠĠĠĠĠĠĠ Ġproduces Ġ= Ġ[" application / json "] ĊĠĠĠ Ġ) ĊĠĠĠ Ġfun Ġget Computer (@ NotNull Ġ Ġ@ RequestParam ( value Ġ= Ġ" depth ", Ġrequired Ġ= Ġtrue ) Ġdepth : Ġkotlin . Int Ċ ): ĠResponseEntity < Computer Set > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠResponseEntity ( HttpStatus . NOT _ IMPLEMENTED ) ĊĠĠĠ Ġ} Ċ } Ċ