Akka HTTP routes via configuration file like it's done in Play

What I am looking for is to have an easy way to define HTTP routes like it is done Play. The problem with Akka HTTP DSL (not only my opinion) that it’s too verbose and not very readable.

Why not to have a functionality to get the routes created from a config file?

The suggestion is to use Play is okay but it pulls other dependencies that I don’t need and makes the footprint bigger.

Thanks

You can drive route generation from swagger documents which are nice to edit and you get documentation of the endpoints at the same time by using https://github.com/twilio/guardrail for example

1 Like