@@ -46,7 +46,7 @@ var (
|
||||
},
|
||||
{
|
||||
Name: "PkgdashService.PackagesModules",
|
||||
Path: "/v1/packages/{id}/modules",
|
||||
Path: "/v1/packages/{package}/modules",
|
||||
Method: "GET",
|
||||
Body: "",
|
||||
Stream: false,
|
||||
@@ -60,7 +60,7 @@ var (
|
||||
},
|
||||
{
|
||||
Name: "PkgdashService.CommentsCreate",
|
||||
Path: "/v1/packages/{package_id}/comments",
|
||||
Path: "/v1/packages/{package}/comments",
|
||||
Method: "POST",
|
||||
Body: "*",
|
||||
Stream: false,
|
||||
@@ -74,14 +74,14 @@ var (
|
||||
},
|
||||
{
|
||||
Name: "PkgdashService.CommentsLookup",
|
||||
Path: "/v1/comments/{package_id}/comments/{id}",
|
||||
Path: "/v1/comments/{package}/comments/{id}",
|
||||
Method: "GET",
|
||||
Body: "",
|
||||
Stream: false,
|
||||
},
|
||||
{
|
||||
Name: "PkgdashService.CommentsList",
|
||||
Path: "/v1/packages/{package_id}/comments",
|
||||
Path: "/v1/packages/{package}/comments",
|
||||
Method: "GET",
|
||||
Body: "",
|
||||
Stream: false,
|
||||
@@ -200,7 +200,7 @@ func (c *pkgdashServiceClient) PackagesModules(ctx context.Context, req *Package
|
||||
)
|
||||
opts = append(opts,
|
||||
v41.Method(http.MethodGet),
|
||||
v41.Path("/v1/packages/{id}/modules"),
|
||||
v41.Path("/v1/packages/{package}/modules"),
|
||||
)
|
||||
rsp := &PackagesModulesRsp{}
|
||||
err := c.c.Call(ctx, c.c.NewRequest(c.name, "PkgdashService.PackagesModules", req), rsp, opts...)
|
||||
@@ -237,7 +237,7 @@ func (c *pkgdashServiceClient) CommentsCreate(ctx context.Context, req *Comments
|
||||
)
|
||||
opts = append(opts,
|
||||
v41.Method(http.MethodPost),
|
||||
v41.Path("/v1/packages/{package_id}/comments"),
|
||||
v41.Path("/v1/packages/{package}/comments"),
|
||||
v41.Body("*"),
|
||||
)
|
||||
rsp := &CommentsCreateRsp{}
|
||||
@@ -274,7 +274,7 @@ func (c *pkgdashServiceClient) CommentsList(ctx context.Context, req *CommentsLi
|
||||
)
|
||||
opts = append(opts,
|
||||
v41.Method(http.MethodGet),
|
||||
v41.Path("/v1/packages/{package_id}/comments"),
|
||||
v41.Path("/v1/packages/{package}/comments"),
|
||||
)
|
||||
rsp := &CommentsListRsp{}
|
||||
err := c.c.Call(ctx, c.c.NewRequest(c.name, "PkgdashService.CommentsList", req), rsp, opts...)
|
||||
|
Reference in New Issue
Block a user