-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
@BeanParam
is used to group parameters into a java bean. For more information refer to this document. Here is an example:
// ...
@ApiOperation("Search users")
@GET
@Path("/")
Results<User> list(@BeanParam UserListOptions listOptions);
}
public class UserListOptions extends PagingGetOptions {
@QueryParam("username")
private String username;
@QueryParam("properties")
private String properties;
// ...
// getter/setters
}
I made a simple fix but it's based on my own modifications. You can refer to the commit here.
shuz@5213b4f
Metadata
Metadata
Assignees
Labels
No labels