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