Package webapi

Interface ProcutEndPointSpec

  • All Known Implementing Classes:
    ProductResource

    @Path("/products")
    public interface ProcutEndPointSpec
    公開APIのRESTインタフェース。 MicroProfileのOpenAPIのアノテーションを使ってAPIの詳細情報を付加している。
    全体に関するAPI情報はApplicationConfigに定義している。
    • Method Detail

      • calculatePrice

        @GET
        @Path("/pricecalc")
        @Produces("application/json")
        List<Integer> calculatePrice​(@QueryParam("memberNo")
                                     String memberNo,
                                     @QueryParam("price")
                                     int price)