Commit Graph

6300 Commits

Author SHA1 Message Date
ant3
9a9d5ebd9f Allow generation of Jersey2 clients with JSR310 classes
If the -DdateLibrary=java8 option is set on the command line then
jersey2 client code will be generated using JSR310 classes rather than
Joda time.  Because JSR310 requires java8 the java target version is
also changed in the build files.
2016-06-05 23:11:29 +01:00
wing328
34fed26e79 add epaul to the core team 2016-06-04 00:02:30 +08: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
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
Mikołaj Przybysz
794e7e4a22 Merge pull request #3 from swagger-api/master
Update
2016-05-30 17:32:21 +02:00
wing328
4f9b43b555 Merge pull request #2988 from wing328/objc_core_data_cherrypick2
[Objc] Basic Core data support [Optional]
2016-05-30 23:28:22 +08:00
wing328
14aefe786e Merge pull request #3000 from zlx/rails-5-license
Add LICENSE into rails5
2016-05-30 22:07:10 +08:00
wing328
7719cafb94 fix CI issue 2016-05-30 22:02:17 +08:00
Mateusz Mackowiak
a8daf94831 Remove nullability warnings 2016-05-30 22:02:17 +08:00
Mateusz Mackowiak
8aa777405a [Objc] CoreData pod spec add resources only if useCoreData is on 2016-05-30 22:02:17 +08:00
Mateusz Mackowiak
bfd71c1e29 [Objc] CoreData added test 2016-05-30 22:02:17 +08:00
Mateusz Mackowiak
5145beea05 [Objc] coraData cli option changed from y/n to true false 2016-05-30 22:02:17 +08:00
Mateusz Mackowiak
ceda86b9c3 [Objc] Basic Core data support 2016-05-30 22:02:16 +08:00
wing328
81b6ccfe1c Merge pull request #2999 from wing328/update_license
Add appendix to Apache license
2016-05-30 21:59:43 +08:00
Newell Zhu
e7baa17ba0 Add LICENSE into rails5 2016-05-30 21:38:59 +08:00
wing328
867a4f80ee Merge pull request #2996 from wing328/package_json_license
Update nodejs/ts package.json use Apache-2.0 license
2016-05-30 21:34:24 +08:00
wing328
fb68f61a03 Merge pull request #2992 from jimschubert/swagger_codegen_ignore_docs
[codegen ignore] Add tests and docs, fix two minor issues
2016-05-30 21:34:12 +08:00
wing328
b6595f7a1c add appendix to license 2016-05-30 21:23:12 +08:00
Mikolaj Przybysz
8369bae08a Improved formatting 2016-05-30 15:01:53 +02:00
wing328
9d581a791d Merge pull request #2968 from zhenjun115/java_api_client
add markdown docs for java api client using retrofit2;
2016-05-30 11:15:32 +08:00
wing328
535a782239 add [Kabuku](http://www.kabuku.co.jp/en) 2016-05-30 11:01:32 +08:00