Files
cloud-cap-samples/bookshop/srv/user-service.cds
2023-06-13 17:00:32 +02:00

16 lines
272 B
Plaintext

/**
* Exposes user information
*/
service UserService @(path: '/user') {
/**
* The current user
*/
@odata.singleton entity me @cds.persistence.skip {
id : String; // user id
locale : String;
tenant : String;
}
action login() returns me;
}