forked from loafle/openapi-generator-original
wrapped in apiInfo
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user