fixed httpUserAgent not populating value issue

This commit is contained in:
Guo Huang 2016-04-13 16:26:10 -07:00
parent 1f085ccd52
commit b02a88f0eb

View File

@ -29,7 +29,7 @@ func NewConfiguration() *Configuration {
DefaultHeader: make(map[string]string),
ApiKey: make(map[string]string),
ApiKeyPrefix: make(map[string]string),
UserAgent: "Swagger-Codegen/{{version}}/go",
UserAgent: "{{#httpUserAgent}}{{{.}}}{{/httpUserAgent}}{{^httpUserAgent}}Swagger-Codegen/{{{version}}}/go{{/httpUserAgent}}",
}
}