我有以下类型的界面。有没有办法从其他类中获取 @Path("/bucket-definitions") 值 "/bucket-definitions" ?
@Path("/bucket-definitions")
@Api(
value = "Bucket definition",
authorizations = {@Authorization("token")}
)
public interface BucketDefinitionResource {
@GET
@Path("/{operator-id}")
@Produces({"application/json"})
@ApiOperation(
value = "Get all bucket definitions.",
notes = "Returns all bucket definitions.",
response = BucketDefinitionList.class
)
BucketDefinitionList get(@ApiParam(value = "Bucket definitions of the operator to be fetched.",required = true) @PathParam("operator-id") String var1, @ApiParam(value = "Page number",required = false) @DefaultValue("1") @QueryParam("page") Integer var2, @ApiParam("Items per page") @DefaultValue("20") @QueryParam("per_page") Integer var3);
}
LEATH
相关分类