scala-play-server.app.module.scala.mustache Maven / Gradle / Ivy
package {{basePackage}}
import {{apiPackage}}._
import play.api.inject.{Binding, Module => PlayModule}
import play.api.{Configuration, Environment}
{{>generatedAnnotation}}
class Module extends PlayModule {
override def bindings(environment: Environment, configuration: Configuration): Seq[Binding[_]] = Seq(
{{#apiInfo}}
{{#apis}}
bind[{{classname}}].to[{{classname}}Impl]{{#hasMore}},{{/hasMore}}
{{/apis}}
{{/apiInfo}}
)
}