wrapped in apiInfo

This commit is contained in:
Tony Tam 2014-06-10 20:37:08 -07:00
parent d3339cb087
commit c4913fe583

View File

@ -14,9 +14,11 @@ class {{clientName}}(config: SwaggerConfig) extends Closeable {
protected def transportClient = new RestClient(config)
{{#apiInfo}}
{{#apis}}
val {{name}} = new {{className}}(client, config)
{{/apis}}
{{/apiInfo}}
def close() {
client.close()