jtownson / swakka

A Scala library for creating Swagger definitions in a type-safe fashion wth Akka-Http

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enable the generation of other, non-akka-http artefacts from the OpenApi definition.

jtownson opened this issue · comments

Some users have made requests to generate other things from the OpenApi definition such as property tests and http4s endpoints.

To handle this it would be a good idea to

  • remove the places where swakka explicitly depends on akka http. (The tricky bit will be the removal of Route)
  • some moving and renaming to create an akka-http module so that it is possible to create akka-http Routes still. This might be enabled via a specific import or a specific sbt dependency.
  • some docs on how to create a custom generation module.