mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-05 02:16:12 +00:00
changed code to use packageVersion instead of version
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: "{{#httpUserAgent}}{{{.}}}{{/httpUserAgent}}{{^httpUserAgent}}Swagger-Codegen/{{{version}}}/go{{/httpUserAgent}}",
|
||||
UserAgent: "{{#httpUserAgent}}{{{.}}}{{/httpUserAgent}}{{^httpUserAgent}}Swagger-Codegen/{{{packageVersion}}}/go{{/httpUserAgent}}",
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user