forked from loafle/openapi-generator-original
fixed httpUserAgent not populating value issue
This commit is contained in:
@@ -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}}",
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user