title: Endpoint builder Swift
body: <p>I would like to create a way to construct endpoint this way:</p>
  
  <pre><code>let endpoint: String = APIRequest.Playlist.getById(idValue).param1(param1value).param2(param2value)
  </code></pre>
  
  <p>I have a class APIRequest with baseUrl and I was trying to use enums.
  The params are url encoded.</p>
  
  <p>How can I reach my goal ? </p>