27 Commits

Author SHA1 Message Date
Guo Huang
11f90de808 issue#2543: added api_client to set content-type and accept for http request 2016-04-14 16:11:14 -07:00
wing328
cf4e01e4dd Merge pull request #2591 from neilotoole/issue-2564-export-params-vendor
Issue #2564 : Query structs now export their fields
2016-04-14 14:15:08 +08:00
Guo Huang
a11a4541db changed code to use packageVersion instead of version 2016-04-13 21:12:02 -07:00
Guo Huang
b02a88f0eb fixed httpUserAgent not populating value issue 2016-04-13 16:26:10 -07:00
Guo Huang
1f085ccd52 isssue#2579: added "UserAgen" in configuration 2016-04-13 16:08:14 -07:00
Neil O'Toole
2f3897f6d5 Issue #2564 : Query structs now export their fields 2016-04-13 16:05:03 -06:00
Guo Huang
2a2f8b1338 removed local variable declaration in Go 2016-04-12 20:50:58 -07:00
Guo Huang
6b92362735 remove unneeded function line 2016-04-12 20:20:32 -07:00
Guo Huang
930756a76a added missing ")" for api key 2016-04-12 09:21:08 -07:00
Guo Huang
6154619924 updated code to use query struct 2016-04-11 23:28:06 -07:00
Guo Huang
4e6ff1a567 added api prefix for authentication 2016-04-11 22:25:02 -07:00
Guo Huang
7fda8699b1 Merge branch 'master' of https://github.com/swagger-api/swagger-codegen into issue2535
# Conflicts:
#	modules/swagger-codegen/src/main/resources/go/configuration.mustache
#	samples/client/petstore/go/swagger/Configuration.go
2016-04-11 20:17:57 -07:00
wing328
fb8c001075 Merge pull request #2562 from guohuang/issue2548
issue #2548, added docstring to Go model and its properties
2016-04-12 10:49:19 +08:00
Guo Huang
fc80bce82f issue #2535, added authentication header for GO 2016-04-11 15:49:13 -07:00
Guo Huang
9c455880b2 issue #2548, added docstring to Go model and its properties 2016-04-11 11:14:33 -07:00
Guo Huang
ae3c628875 issue#2534, added _sling.Set in the go api 2016-04-11 10:37:50 -07:00
Guo Huang
963df24eee Merge branch 'master' of https://github.com/swagger-api/swagger-codegen into issue1946 2016-04-11 10:19:49 -07:00
wing328
d8963d0a85 udpate type mapping for go, fix indention in go model 2016-04-11 23:44:06 +08:00
Guo Huang
00fcf9946a issue #1946, added AddDefaultHeader method for GO 2016-04-10 20:50:53 -07:00
Guo Huang
316c2cb136 added Configuration struct for GO 2016-04-07 22:16:31 -07:00
wing328
637bdd2f50 add git_push and gitignore to most client generators 2016-03-12 17:35:25 +08:00
Neil O'Toole
a108c6311a Re #2292 : The generated API should now return an err for non-2xx status codes, though the functionality to return an error object per the swagger is not yet implemented. 2016-03-02 01:49:59 -07:00
wing328
6b2f15b2cf add packageName support to golang 2015-12-22 00:12:18 +08:00
wing328
0d377507b4 fix post model and update test 2015-12-21 22:34:56 +08:00
wing328
4062deed92 remove logger, fix deserialization of json response 2015-12-21 22:34:56 +08:00
wing328
3ebefba678 better return for golang method 2015-12-21 22:34:56 +08:00
wing328
a05076ed09 first commit of golang generator before fixing return 2015-12-21 22:34:56 +08:00