I wrote a service action look like
@DomainService(
nature = NatureOfService.VIEW_REST_ONLY,
objectType = "rest.oneService"
)
onepackage.OneService{
@Action(semantics = SemanticsOf.SAFE)
public List<Data> findDataByPerson(Person person, LocalDate start, LocalDate end){
...
}
}
In SwaggerUI is exposed as
get /services/rest.oneService/actions/findDataByPerson/invoke
I cannot find how to send domain objects as parameters to rest api;
How can I do that?
Thanks.