58 Commits

Author SHA1 Message Date
wing328
dce532e8c7 fix trailing comma in go api client 2016-09-24 00:57:01 +08:00
wing328
110c22ea98 Merge branch 'issue-3690-additional-fields' of https://github.com/neilotoole/swagger-codegen into neilotoole-issue-3690-additional-fields 2016-09-24 00:17:18 +08:00
Neil O'Toole
f751e50e2e Issue #3687 silence resty logging [Go] (#3705)
* disabling resty logger

* #3687 updating go-petstore
2016-09-05 17:11:34 +08:00
Neil O'Toole
8183d96088 #3690 adding RequestURL, Method, Operation and Payload fields to APIResponse 2016-09-02 06:49:39 -06:00
wing328
8523c57f8c remove unnecessary change in JS closure codegen 2016-08-31 17:13:35 +08:00
Ville Skyttä
b4c139f19b Spelling fixes 2016-08-27 02:34:33 +03:00
wing328
535de68701 update go petstore sample 2016-08-17 23:05:03 +08:00
wing328
752ba61e67 [Go] Add more test cases and fix numeric form/header parameters (#3574)
* add more tests for go, fix numeric form/header parameters

* update go sample
2016-08-11 14:28:31 +08:00
wing328
d2d5553a45 [Go] prefix go local var with localVar (#3570)
* prefix go local var with localVar

* remove pom from go, minor fix to headerParams
2016-08-10 16:14:33 +08:00
Guo Huang
bef5c74da7 removed unneeded "errors" import 2016-08-05 21:34:04 -07:00
Guo Huang
ab96b318e2 [GO] Fixing compilation issue when pathParams is not presented 2016-08-05 14:53:05 -07:00
wing328
46a222088e update go petstore sample 2016-07-28 00:24:36 +08:00
wing328
c23b473636 [Go] update travis config to run Go Petstore tests (#3465)
* update pom to include go ci

* fix pom

* add gopath

* update GOPATH

* reorder pom client, server test sequence

* remove debug echo in travis
2016-07-27 16:19:23 +08:00
wing328
743219aa08 fix apikey issue with go client 2016-07-26 23:05:08 +08:00
Guo Huang
e39aa3ed3c fix merge conflict 2016-06-12 14:15:55 -07:00
Guo Huang
db9684ff19 issue#2970, [Go] add go server codeine template 2016-05-26 22:34:18 -07:00
Guo Huang
7b57a26a97 added apache LICENSE 2016-05-25 10:11:52 -07:00
wing328
a96d38e223 Merge branch 'travis' of https://github.com/guohuang/swagger-codegen into guohuang-travis 2016-05-20 18:31:55 +08:00
Guo Huang
b519015f61 fixed travis build error 2016-05-17 13:53:12 -07:00
Guo Huang
164c728088 Merge branch 'travis' of https://github.com/guohuang/swagger-codegen into travis
# Conflicts:
#	samples/client/petstore/go/go-petstore/.travis.yml
2016-05-13 13:31:53 -07:00
Guo Huang
492dbcb572 added travis yml to code gen 2016-05-13 13:29:51 -07:00
Guo Huang
0facbd708a added travis yml to code gen 2016-05-13 13:20:31 -07:00
Guo Huang
e7f68287c1 updated function to support multiple collection formats 2016-05-09 22:01:32 -07:00
Guo Huang
0bc34dcae8 updated api_client.go to use the new SetMultiValueQueryParams method 2016-05-06 23:48:46 -07:00
Guo Huang
5bb1853018 added support for multi 2016-05-06 11:48:20 -07:00
Guo Huang
ebdf12bcd4 fixed code gen using {{#isListContainer}}*{{/isListContainer}} field 2016-05-05 11:41:58 -07:00
Guo Huang
41b7649e62 fixed array return type return as pointer issue 2016-05-04 10:39:30 -07:00
Guo Huang
a5b08a8ce7 fixed merge conflict 2016-05-03 10:16:47 -07:00
Neil O'Toole
803c62e0dc fixed new line issue 2016-05-02 15:53:19 +01:00
Neil O'Toole
5fdf615de7 Issue #2478 - generated code now conforms more closely to conventions 2016-05-01 14:41:40 +01:00
wing328
cd377ba69c Merge pull request #2732 from guohuang/package-name2
added packageName in the codegen option
2016-04-29 22:33:50 +08:00
Guo Huang
8caa8abfc1 added packageName in the codegen option 2016-04-27 22:47:57 -07:00
Guo Huang
2f8a8c05e0 Issue #2725: added condition to import json based on return type 2016-04-27 14:29:05 -07:00
Guo Huang
7599dcb112 changed Api to API based on golang's convention 2016-04-24 21:10:32 -07:00
Guo Huang
9f0ac5df82 added missing model api response md 2016-04-24 15:52:26 -07:00
Guo Huang
ea445c1e28 added missing file 2016-04-24 15:44:52 -07:00
Guo Huang
1de18eb074 added implementation of the new ApiResponse struct 2016-04-23 17:50:17 -07:00
Guo Huang
7df5c8ffbf added model ApiResponse, moved ApiResponse parameter 2016-04-23 16:41:14 -07:00
Guo Huang
e7df5f9551 fixed multiple import mapping issue 2016-04-23 09:52:17 -07:00
Guo Huang
e555b3ad34 added debug setter and getter in Go configuration 2016-04-20 22:36:32 -07:00
Guo Huang
a2002d9148 added fileName parameter for upload method 2016-04-20 21:30:05 -07:00
Guo Huang
7636a772c6 fixed file upload issue 2016-04-20 13:49:02 -07:00
Guo Huang
10c7c41e82 added config to allow client to see debug log 2016-04-20 12:54:05 -07:00
Guo Huang
287f3ff20b fixed io/ioutil import issue, fixed param casing issue 2016-04-20 12:27:22 -07:00
Guo Huang
edfc4f88e1 formatted api_client code, grouped public function 2016-04-19 21:02:22 -07:00
Guo Huang
0e3bb2c23e added more tests functions, clean up generated code 2016-04-19 15:48:34 -07:00
Guo Huang
9cf6eb4d8b added ApiResponse to all api calls 2016-04-19 15:18:13 -07:00
Guo Huang
611b711a7e clean up generated code, added delete pet test 2016-04-19 12:52:51 -07:00
Guo Huang
fe1afc35e6 Removed fileParams as the file content will be posted via postBody, fixed file upload issue 2016-04-19 11:46:57 -07:00
Guo Huang
d0123f40b7 fixed go reflection type checking issue 2016-04-18 23:30:30 -07:00