package Ġbr . u fr n . im d . ob a . controller Ċ Ċ import Ġbr . u fr n . im d . ob a . extension . to Skill Response Ċ import Ġbr . u fr n . im d . ob a . response . Descriptor Response Ċ import Ġbr . u fr n . im d . ob a . response . Skill Response Ċ import Ġbr . u fr n . im d . ob a . service . Descriptor Service Ċ import Ġbr . u fr n . im d . ob a . service . Skill Service Ċ import Ġorg . springframework . data . domain . Page Ċ import Ġorg . springframework . data . domain . Page able Ċ import Ġorg . springframework . data . web . Page able Default Ċ import Ġorg . springframework . http . MediaType Ċ import Ġorg . springframework . validation . annotation . Validated Ċ import Ġorg . springframework . web . bind . annotation . GetMapping Ċ import Ġorg . springframework . web . bind . annotation . RequestMapping Ċ import Ġorg . springframework . web . bind . annotation . RestController Ċ Ċ @ RestController Ċ @ RequestMapping ( ĊĠĠĠ Ġ"/ v 1 / skill ", ĊĠĠĠ Ġproduces Ġ= Ġ[ MediaType . APPLICATION _ JSON _ VALUE ] Ċ ) Ċ @ Validated Ċ class ĠSkill Controller ( ĊĠĠĠ Ġprivate Ġval Ġskill Service : ĠSkill Service Ċ ) Ġ{ ĊĊĠĠĠ Ġ@ GetMapping ĊĠĠĠ Ġfun ĠfindAll ( ĊĠĠĠĠĠĠĠ Ġ@ Page able Default ( page Ġ= Ġ 0 , Ġsize Ġ= Ġ 1 0 , Ġsort Ġ= Ġ[" code "]) Ġpage able : ĠPage able , ĊĠĠĠ Ġ): ĠPage < Skill Response > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġskill Service . findAll ( page able ). map Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġit . to Skill Response () ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ