All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala-play-server.app.apiImplStubs.scala.mustache Maven / Gradle / Ivy

package {{package}}

{{#supportAsync}}
import scala.concurrent.Future
{{/supportAsync}}
{{#imports}}
import {{import}}
{{/imports}}
{{#operations}}

/**
  * Provides a default implementation for [[{{classname}}]].
  */
{{>generatedAnnotation}}
class {{classname}}Impl extends {{classname}} {
{{#operation}}
  /**
    * @inheritdoc
    */
  override {{>app/defOperationSignature}} = {
    // TODO: Implement better logic

    {{#supportAsync}}Future.successful({{/supportAsync}}{{^returnType}}{{#supportAsync}}(): Unit{{/supportAsync}}{{/returnType}}{{#returnType}}{{&defaultResponse}}{{/returnType}}{{#supportAsync}}){{/supportAsync}}
  }
{{#hasMore}}

{{/hasMore}}
{{/operation}}
}
{{/operations}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy