diff --git a/api/v1/cmb_cpn.proto b/api/v1/cmb_cpn.proto index a3cd78e..ae03540 100644 --- a/api/v1/cmb_cpn.proto +++ b/api/v1/cmb_cpn.proto @@ -62,12 +62,6 @@ service Cmb { }; } - rpc Test (Empty) returns (Empty) { - option (google.api.http) = { - post: "/voucher/cmb/v1/test", - body: "*" - }; - } } message OrderRetryRequest { diff --git a/internal/service/mock.go b/internal/service/mock.go index 549e4e0..4b71eaa 100644 --- a/internal/service/mock.go +++ b/internal/service/mock.go @@ -62,12 +62,3 @@ func (s *CmbService) DecryptBody(ctx context.Context, request *v1.EncryptBodyReq DecryptBody: decryptBody, }, nil } - -func (s *CmbService) Test(ctx context.Context, request *v1.Empty) (*v1.Empty, error) { - - if err := s.VoucherBiz.ExecuteNotice(ctx); err != nil { - return nil, err - } - - return nil, nil -} diff --git a/third_party/swagger_ui/openapi.yaml b/third_party/swagger_ui/openapi.yaml index 26d9946..368aa0c 100644 --- a/third_party/swagger_ui/openapi.yaml +++ b/third_party/swagger_ui/openapi.yaml @@ -150,24 +150,6 @@ paths: application/json: schema: $ref: '#/components/schemas/api.v1.CmbRequest' - /voucher/cmb/v1/test: - post: - tags: - - Cmb - operationId: Cmb_Test - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/api.v1.Empty' - required: true - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/api.v1.Empty' components: schemas: api.v1.CmbOrderRequest: