scala-play-server.app.apiTrait.scala.mustache Maven / Gradle / Ivy
package {{package}}
import play.api.libs.json._
{{#supportAsync}}
import scala.concurrent.Future
{{/supportAsync}}
{{#imports}}
import {{import}}
{{/imports}}
{{#operations}}
{{>generatedAnnotation}}
trait {{classname}} {
{{#operation}}
/**
{{#summary}}
* {{summary}}
{{/summary}}
{{#notes}}
* {{notes}}
{{/notes}}
{{#allParams}}
{{#description}}
* @param {{paramName}} {{description}}
{{/description}}
{{/allParams}}
*/
{{>app/defOperationSignature}}
{{^-last}}
{{/-last}}
{{/operation}}
}
{{/operations}}