asyncscala.client.mustache Maven / Gradle / Ivy
package {{package}}
{{#imports}}import {{import}}
{{/imports}}
import com.wordnik.swagger.client._
import apis._
import java.io.Closeable
class {{clientName}}(config: SwaggerConfig) extends Closeable {
val locator = config.locator
val name = config.name
private[this] val client = transportClient
protected def transportClient = new RestClient(config)
{{#apis}}
val {{name}} = new {{className}}(client, config)
{{/apis}}
def close() {
client.close()
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy