forked from loafle/openapi-generator-original
fixed httpUserAgent not populating value issue
This commit is contained in:
parent
1f085ccd52
commit
b02a88f0eb
@ -29,7 +29,7 @@ func NewConfiguration() *Configuration {
|
|||||||
DefaultHeader: make(map[string]string),
|
DefaultHeader: make(map[string]string),
|
||||||
ApiKey: make(map[string]string),
|
ApiKey: make(map[string]string),
|
||||||
ApiKeyPrefix: make(map[string]string),
|
ApiKeyPrefix: make(map[string]string),
|
||||||
UserAgent: "Swagger-Codegen/{{version}}/go",
|
UserAgent: "{{#httpUserAgent}}{{{.}}}{{/httpUserAgent}}{{^httpUserAgent}}Swagger-Codegen/{{{version}}}/go{{/httpUserAgent}}",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user