This repo is to demonstrate how to implement hexagonal architecture in Scala.
Pagination API schema looks like this:
{
"_links": {
"self": "https://xxx/",
"next": "https://xxxx/",
"prev": "https://xx"
},
"events": [
{"id":1}
{"id":2}
{"id":3}
]
}