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)
|
protected def transportClient = new RestClient(config)
|
||||||
|
|
||||||
|
{{#apiInfo}}
|
||||||
{{#apis}}
|
{{#apis}}
|
||||||
val {{name}} = new {{className}}(client, config)
|
val {{name}} = new {{className}}(client, config)
|
||||||
{{/apis}}
|
{{/apis}}
|
||||||
|
{{/apiInfo}}
|
||||||
|
|
||||||
def close() {
|
def close() {
|
||||||
client.close()
|
client.close()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user