title: How to reduce boilerplate for Akka HTTP Rest API in front of a database?
body: <p>Assuming you have two entities in your domain, accounts and owners. If you implement a API correctly, you typically have these apis:</p>
  
  <ol>
  <li>POST account</li>
  <li>GET account/{id}</li>
  <li>PATCH account/{id}</li>
  <li>GET accounts?$filter='city eq New York'&amp;$limit=10&amp;offset=3</li>
  </ol>
  
  <p>The same would be applicable for owners. In the end, you will have to manually write a lot of duplicated code to extract parameters from rest API and a lot of code to turn those parameters into appropriate queries for your underlying data storage. </p>
  
  <p>Is there any framework or approach which allows to reduce the boilerplate, a functional-like version of Apache Olingo?</p>