Commit Graph

6529 Commits

Author SHA1 Message Date
wing328
eeb14ae936 Merge pull request #3018 from mateuszmackowiak/objc/binary_data
[Objc] Proper binary data handle
2016-06-05 22:28:56 +08:00
Takuro Wada
955d39f709 [Python] Follow PEP8 rules ( Issue #3041 ) 2016-06-05 23:15:36 +09:00
wing328
286eae9577 Merge pull request #3049 from clasnake/gitignore
Add build folder under java sample clients into gitignore in sample.
2016-06-05 22:02:39 +08:00
wing328
2e60847f7f Merge pull request #3045 from clasnake/3006/sbt_for_java_scala
Add sbt support for feign, retrofit, retrofit2 and retrofit2rx.
2016-06-05 22:01:17 +08:00
wing328
f2f6940006 Merge pull request #2987 from mbarclay/master
Added date format string #2935
2016-06-05 21:42:56 +08:00
clasnake
992a22f409 Add build folder under java sample clients into gitignore in sample. 2016-06-05 09:22:13 +08:00
zhenjun115
67c3f98d96 enable python api client to return just data without http header info when need; 2016-06-04 23:30:10 +08:00
clasnake
f3cff97acc Regenerate the sample client for feign. 2016-06-04 22:21:27 +08:00
clasnake
a84ed9cb57 Fix build.sbt.mustache for feign. 2016-06-04 22:18:23 +08:00
clasnake
4da829315f Add sbt support for feign. 2016-06-04 21:51:49 +08:00
clasnake
503fb138f5 Add sbt support for retrofit2 and retrofit2rx. 2016-06-04 21:13:10 +08:00
clasnake
9ed290efea Add sbt support for retrofit. 2016-06-04 20:53:21 +08:00
tao
83e8a2e90c stop reading custom template file from subdirectories 2016-06-03 16:08:07 -07:00
Landschaft
17a639be75 [Swift] #3036 Make APIHelper.convertBoolToString return nil for nil input. This will prevent the creation of an empty body for GET requests. 2016-06-03 21:14:45 +02:00
wing328
34fed26e79 add epaul to the core team 2016-06-04 00:02:30 +08:00
cbornet
a452bbf039 add interfaceOnly option test 2016-06-03 16:25:02 +02:00
cbornet
3b37584c1f update README 2016-06-03 16:21:37 +02:00
cbornet
fe8b0cf07b add option to only generate stubs of the API and no server files
Fix #3025
2016-06-03 16:21:37 +02:00
wing328
ee5d2e99b1 Merge pull request #3035 from leonyu/typescript-fetch-update-typings-to-v1
Typescript fetch: update typings to 1.0.4
2016-06-03 18:05:44 +08:00
wing328
ac4c460338 Merge pull request #3027 from pablograna/fix-eclipse-errors
Use UnsupportedOperationException.
2016-06-03 15:48:28 +08:00
wing328
75de07d439 Merge pull request #3030 from clasnake/3006/sbt_for_java_scala
3006/sbt for java scala
2016-06-03 14:51:56 +08:00
Griffin Schneider
689841ce8e [ObjC] Fix various bugs in generated code. (#3031)
* [ObjC] Fix bug where ApiClient.timeoutInterval didn't do anything.

* [ObjC] Fix bug where <AFNetworking.h> couldn't be found.

* [ObjC] Fix useages of 'SWG' instead of {{classPrefix}} in Sanitizer-body.mustache.
2016-06-03 14:47:59 +08:00
Leon Yu
a34373fe34 Update typings version
rebuild test target
2016-06-02 18:56:08 -04:00
clasnake
f4ba31964a Merge branch 'master' into 3006/sbt_for_java_scala
Conflicts:
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/ApiException.java
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/Configuration.java
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/Pair.java
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/StringUtil.java
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/auth/ApiKeyAuth.java
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/auth/OAuth.java
2016-06-03 00:43:43 +08:00
clasnake
f0d3bd8f21 Add sbt support for jersey2, fix dependency issue for okhttp-gson. 2016-06-03 00:37:53 +08:00
Pablo Gra\~na
328787186c Use UnsupportedOperationException.
Replaced NotImplementedException with UnsupportedOperationException. See
bug #3011.

Eclipse was throwing some errors related to differences in package names
vs file path. I renamed the packages io.swagger.codegen.Go to
io.swagger.codegen.go, io.swagger.codegen.slim to package
io.swagger.codegen.lumen and io.swagger.codegen.springBoot to
io.swagger.codegen.springboot in some test files.
2016-06-02 08:20:10 -03:00
wing328
a3610f1c12 [Java] fix warning in pom.xml (java okhttp-gson) (#3023)
* fix warning in pom.xml

* minor fix to pom (okhttp-gson)
2016-06-02 17:37:11 +08:00
Takuro Wada
91c35509b8 set 'None' to body for request if given body is 'None' ( issue #3020 ) (#3021) 2016-06-02 14:51:13 +08:00
wing328
23d2c56096 [JAX-RS] fix library setting "jersey2" (#3016)
* to fix #2981

* update sample, update ci to include jaxrs (jersey1, 2)

* avoid duplicated artifactId in pom (jaxrs jersey1)

* update jetty dependency for jersey1 jaxrs

* update bin to set proper artifact-id

* fix jersey1 jaxrs pom.xml

* fix dependency in jaxrs jersey2 pom

* downgrade jetty plugin to 9.3.0.v20150612

* update petstore sample for jaxrs jersey 1

* restore jetty to previous version. update test order

* downgrade jetty maven plugin version

* restore original version of jetty plugin
2016-06-02 14:33:08 +08:00
wing328
85550285a1 Merge pull request #3017 from mateuszmackowiak/objc/user_agent
[Objc] Add customizable user-agent #2715
2016-06-02 14:11:15 +08:00
wing328
36a8ed2c37 Merge pull request #3013 from DavidBiesack/preserve-schema-name
use {{name}} not {{classname}} in HTML section header/anchors
2016-06-02 11:49:30 +08:00
Mateusz Mackowiak
7a87746af1 [Objc] Proper binary data handle 2016-06-01 16:43:35 +02:00
wing328
43fe3fa6d0 Merge pull request #3003 from Cosium/feign-disable-fail_on_unknwon_properties
Feign: disable FAIL_ON_UNKNOWN_PROPERTIES by default
2016-06-01 22:33:36 +08:00
wing328
8f82034a4f Merge pull request #2947 from mikolajprzybysz/version-check-mustache
[PHP] Check skipping artifiactVersion in other mustache templates, since it is not required anymore
2016-06-01 22:12:13 +08:00
Mateusz Mackowiak
2ead00c96d [Objc] Add customizable user-agent #2715 2016-06-01 15:51:52 +02:00
Mikolaj Przybysz
47576471e2 Replaced double quotes with singles 2016-06-01 10:57:20 +02:00
Mikolaj Przybysz
9f94220010 Merge branch 'version-check-mustache' of github.com:mikolajprzybysz/swagger-codegen into version-check-mustache
Conflicts:
	modules/swagger-codegen/src/main/resources/php/configuration.mustache
2016-06-01 10:45:18 +02:00
Mikolaj Przybysz
4f54e5cdc7 Improved formatting 2016-06-01 10:43:22 +02:00
Mikolaj Przybysz
37264b0bcf Removed printing artifactVersion if it is not set from debug information 2016-06-01 10:35:52 +02:00
Mikolaj Przybysz
ce2e994306 Removed printing artifactVersion if it is not set 2016-06-01 10:30:55 +02:00
wing328
7b6747e6f3 Merge pull request #2872 from dmytrobr/feature/issue-2868
use Title attribute as model name
2016-06-01 10:55:54 +08:00
wing328
1029b1891d Merge pull request #3010 from mateuszmackowiak/objc/core_data_update_license
[Objc] core data objc update license
2016-06-01 10:09:48 +08:00
David Biesack
147497ae34 use {{name}} not {{classname}} in HTML seaction head/anchors 2016-05-31 15:57:40 -04:00
Réda Housni Alaoui
5740de9cc7 Feign: disable FAIL_ON_UNKNOWN_PROPERTIES by default 2016-05-31 18:51:11 +02:00
Mateusz Mackowiak
fbd8deef46 [Objc] core data objc update license 2016-05-31 18:27:34 +02:00
wing328
1d8ba34651 Merge pull request #3009 from wing328/fix_okhttp_sbt
[Java] fix build.sbt for Java API client (okhttp-gson)
2016-05-31 23:24:10 +08:00
wing328
73ab94dfbf fix sbt build for okhttp-gson 2016-05-31 22:22:54 +08:00
wing328
a223dcd7c5 add Avenida Compras S.A 2016-05-31 21:35:19 +08:00
wing328
af0c8b5ed0 Merge pull request #3005 from pablograna/remove-unnecessary-call-to-parser
Remove unnecessary 2nd call to SwaggerParser.
2016-05-31 14:10:20 +08:00
Pablo Gra\~na
50a346ca91 Remove unnecessary 2nd call to SwaggerParser.
Both CodeGenMojo and CodegenConfigurator where parsing the swagger input.
The result in CodeGenMojo was discarded. I simply removed the line in
CodeGenMojo.
2016-05-30 18:56:15 -03:00