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

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

There is a newer version: 7.7.0
Show newest version
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}}
  }
{{^-last}}

{{/-last}}
{{/operation}}
}
{{/operations}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy