package Ġbr . com . pix . ch ave Ċ Ċ import Ġbr . com . pix . ch ave . create . Create Pix Key Request Ċ import Ġbr . com . pix . ch ave . create . Create Pix Key Response Ċ import Ġbr . com . pix . ch ave . remove . Delete Pix Key Request Ċ import Ġbr . com . pix . ch ave . remove . Delete Pix Key Response Ċ import Ġbr . com . pix . ch ave . search . Pix Key Details Response Ċ import Ġio . mic ronaut . http . MediaType Ċ import Ġio . mic ronaut . http . annotation .* Ċ import Ġio . mic ronaut . http . client . annotation . Client Ċ import Ġjavax . validation . Valid Ċ Ċ @ Client (" http :// localhost : 8 0 8 2 / api / v 1 / pix / keys ") Ċ interface ĠExternal Pix Api Ġ{ ĊĠĠĠ Ġ@ Post ĊĠĠĠ Ġ@ Produces ( MediaType . APPLICATION _ XML ) ĊĠĠĠ Ġ@ Cons umes ( MediaType . APPLICATION _ XML ) ĊĠĠĠ Ġfun Ġcriar Ch ave Pix (@ Body Ġ@ Valid Ġcreate Pix Key Request : ĠCreate Pix Key Request ) Ġ: ĠCreate Pix Key Response ĊĊ Ċ // ĠĠĠ Ġ@ Post Ċ // ĠĠĠ Ġ@ Cons umes ( MediaType . APPLICATION _ XML ) Ċ // ĠĠĠ Ġfun Ġlist ar Ch aves Pix () Ġ: ĠP ix Keys ListResponse Ċ // ĊĊĠĠĠ Ġ@ Get ("{ key }") ĊĠĠĠ Ġ@ Produces ( MediaType . APPLICATION _ XML ) ĊĠĠĠ Ġ@ Cons umes ( MediaType . APPLICATION _ XML ) ĊĠĠĠ Ġfun Ġbus car Ch ave Pix (@ PathVariable (" key ") Ġch ave Ġ: ĠString ) Ġ: ĠP ix Key Details Response ĊĊĊĠĠĠ Ġ@ Delete ("{ key }") ĊĠĠĠ Ġ@ Produces ( MediaType . APPLICATION _ XML ) ĊĠĠĠ Ġ@ Cons umes ( MediaType . APPLICATION _ XML ) ĊĠĠĠ Ġfun Ġde let ar Ch ave Pix (@ PathVariable (" key ") Ġid Ġ: ĠString ,@ Body Ġ@ Valid Ġdelete Pix Key Request : ĠDelete Pix Key Request ) Ġ: ĠDelete Pix Key Response Ċ }