Commit Graph

2247 Commits

Author SHA1 Message Date
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
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
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
85550285a1 Merge pull request #3017 from mateuszmackowiak/objc/user_agent
[Objc] Add customizable user-agent #2715
2016-06-02 14:11:15 +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
Mateusz Mackowiak
2ead00c96d [Objc] Add customizable user-agent #2715 2016-06-01 15:51:52 +02: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
73ab94dfbf fix sbt build for okhttp-gson 2016-05-31 22:22:54 +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
bfd71c1e29 [Objc] CoreData added test 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
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
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
Darrell King
8a403a06e3 2983: Java Feign client generator: HTTP header name should be named Accept not Accepts 2016-05-29 21:14:59 +01:00
wing328
a566b086cf add new files for JS client 2016-05-29 20:54:43 +08:00
wing328
a27cda68ce update nodejs/ts package license to use Apache-2.0 2016-05-29 18:08:32 +08:00
wing328
6d1fd2c78d fix spec for map and array 2016-05-29 17:28:33 +08:00
wing328
e6825eaff4 Merge pull request #2989 from wing328/ts_querystring_cherrypick2
[Typescript-Node] Add Support for useQuerystring Request Option #2905
2016-05-29 12:01:56 +08:00
Malcolm Barclay
5777d21579 Merge remote-tracking branch 'upstream/master'
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2016-05-28 18:47:41 +01:00
Alexander Fisher
449e74b873 Move changes to samples to source code. Build, run, test. 2016-05-29 01:30:37 +08:00
Alexander Fisher
abf28797a4 Add node and corejs to ambient typings since they represent native types. Update client to not use finally since this doesn't exist on a node js Promise. 2016-05-29 01:30:30 +08:00
Alexander Fisher
b3d5271582 Honor gitignore in npm folder. 2016-05-29 01:30:18 +08:00
Alexander Fisher
23c9a17b6b Update typings to not use globals/ambients. Update tsconfig to use exclude rather than files. Add gitignore for output files. 2016-05-29 01:30:06 +08:00
Alexander Fisher
8094425473 Run bash to generate new client. 2016-05-29 01:29:20 +08:00
Malcolm Barclay
f2bd3d981e Updated petstore swift swagger client.
Enabled execute (755) permissions on swift-petstore.sh Ran integration test (passed).
2016-05-28 15:11:25 +01:00
Malcolm Barclay
955d837609 Updated petstore swift-promisekit swagger client.
Ran integration tests (passed)
2016-05-28 12:51:02 +01:00
wing328
063f83f18b Merge branch 'objc/License' of https://github.com/mateuszmackowiak/swagger-codegen into mateuszmackowiak-objc/License 2016-05-28 10:16:57 +08:00
Mateusz Mackowiak
ef66f9622c Moved GlobalSupportingFile to separate file 2016-05-27 16:04:20 +02:00
Mateusz Mackowiak
d82c77da34 - [Objc] Fix test after removing license property
- Moved adding License file to DefaultGenerator
2016-05-27 12:46:09 +02:00
Guo Huang
db9684ff19 issue#2970, [Go] add go server codeine template 2016-05-26 22:34:18 -07:00
wing328
f5ff62e685 Merge pull request #2972 from scottrw93/license
[Python] Include license in generated client
2016-05-27 11:54:47 +08:00
Scott Williams
c18241cffc Update license header 2016-05-26 21:44:40 +01:00
Scott Williams
23271d74ea Update license header 2016-05-26 21:42:37 +01:00
wing328
648ef35309 Merge branch 'master' of https://github.com/swagger-api/swagger-codegen 2016-05-26 17:21:25 +08:00
wing328
aeaf60713f Merge branch 'feature/ruby_enum_support2' of https://github.com/zlx/swagger-codegen into zlx-feature/ruby_enum_support2
Conflicts:
	samples/client/petstore/ruby/README.md
	samples/client/petstore/ruby/lib/petstore/models/additional_properties_class.rb
	samples/client/petstore/ruby/lib/petstore/models/mixed_properties_and_additional_properties_class.rb
	samples/client/petstore/ruby/lib/petstore/models/read_only_first.rb
2016-05-26 17:20:49 +08:00
wing328
d8dec247f2 Merge pull request #2973 from leonyu/update_tsify
update package.json and fix webpack.html
2016-05-26 16:54:33 +08:00
wing328
95ba8ac99b Merge pull request #2952 from jaz-ah/swift/dirs
[Swift] change swift directory structure
2016-05-26 16:53:57 +08:00
wing328
f448ec3728 Merge pull request #2969 from guohuang/license
[Go] add apache v2 LICENSE
2016-05-26 15:05:42 +08:00
Leon Yu
a589a6b91c update package.json and fix webpack.html 2016-05-25 22:51:10 -04:00
Arne Jørgensen
e41019fb2b [PHP] Regenerate petstore sample 2016-05-26 00:13:45 +02:00
Scott Williams
e0dbb44b37 Put license header in shared file 2016-05-25 22:35:38 +01:00
Scott Williams
349b727b2c Include license in genrated client 2016-05-25 22:20:08 +01:00
Guo Huang
7b57a26a97 added apache LICENSE 2016-05-25 10:11:52 -07:00
Mateusz Mackowiak
c68168fa27 - Remove optional license property
- License in all header files
2016-05-25 18:13:27 +02:00
zhenjun115
09a29063be add markdown docs for java api client using retrofit2; 2016-05-25 23:44:44 +08:00
Mateusz Mackowiak
537ee960b6 [Objc] Add Apache v2 license to auto-generated files #2963 2016-05-25 15:09:05 +02:00
wing328
38a422212d Merge pull request #2948 from mikolajprzybysz/use-php-eol
[PHP] Replaced \n with PHP_EOL
2016-05-25 16:49:37 +08:00
wing328
8096308657 add apache v2 license to csharp api client 2016-05-25 14:41:17 +08:00
wing328
105b4b9199 new test case to cover model with array properties 2016-05-25 01:18:50 +08:00
wing328
568fa4f514 add apache license to remaining ruby files (test, spec, etc) 2016-05-24 23:20:23 +08:00
Mikolaj Przybysz
6aa821d76d Rebuild php petstore sample client 2016-05-24 15:03:25 +02:00
wing328
d05d552b74 Merge pull request #2946 from wing328/ruby_license
[Ruby] update Ruby API client to use apache v2 license
2016-05-24 18:11:28 +08:00
wing328
c7110debee update ruby api client to use apache v2 license 2016-05-24 17:50:28 +08:00
wing328
d82bbfdaf4 Merge branch 'java_api_client' of https://github.com/zhenjun115/swagger-codegen into zhenjun115-java_api_client 2016-05-24 16:36:33 +08:00
Joseph Zuromski
673784491e couple new files 2016-05-23 20:09:06 -07:00
Joseph Zuromski
00c4877baf move swift samples into swift/default and swift/promisekit directories 2016-05-23 20:08:00 -07:00
Newell Zhu
24a0ced972 regenerate ruby spec file 2016-05-23 21:30:40 +08:00
Newell Zhu
a9b8150442 regenerate ruby client sample 2016-05-23 20:54:45 +08:00
wing328
7b1cfde891 add enum test in php api client 2016-05-23 15:38:20 +08:00
wing328
52a928bb2e Merge pull request #2931 from Edubits/swift-sample-without-promisekit
[Swift] Add sample/tests for Swift client without PromiseKit
2016-05-21 23:21:00 +08:00
wing328
69ec14d628 fix csharp constructor for model with read-only 1st property 2016-05-21 22:42:37 +08:00
Robin Eggenkamp
1a1bf74d01 [Swift] Add sample/tests for Swift client without PromiseKit 2016-05-21 15:57:52 +02:00
wing328
bc44f74786 Merge pull request #2912 from zlx/feature/ruby_enum_support
Add Ruby enum support
2016-05-21 17:39:56 +08:00
wing328
aaca9a4b6f Merge pull request #2922 from zhenjun115/android_api_client
add gradle wrapper mustache for android api client;
2016-05-21 17:34:29 +08:00
wing328
e903628993 Merge branch 'swift/podupdate' of https://github.com/jaz-ah/swagger-codegen into jaz-ah-swift/podupdate
Conflicts:
	samples/client/petstore/swift/SwaggerClientTests/Pods/Pods.xcodeproj/project.pbxproj
2016-05-21 16:24:20 +08:00
zhenjun115
f2a2014ef4 add gradle wrapper mustache for android api client; 2016-05-20 20:24:22 +08:00
wing328
0134723afa add back pom.xml for go petstore 2016-05-20 18:36:36 +08:00
wing328
a96d38e223 Merge branch 'travis' of https://github.com/guohuang/swagger-codegen into guohuang-travis 2016-05-20 18:31:55 +08:00
wing328
c6f03806df Replaced {{mediaType}} with {{{mediaType}} to keep the original media 2016-05-20 17:48:47 +08:00
Newell Zhu
f45d6a4d60 Generate ruby enum 2016-05-20 08:44:53 +08:00
Joseph Zuromski
4e0e91e58b move up to ios 9.3 2016-05-19 12:35:17 -07:00
wing328
69de0ecb9b update wording for ts test cases 2016-05-20 00:56:26 +08:00
wing328
fe3d89f628 add CI for typescript fetch 2016-05-20 00:34:32 +08:00
wing328
f7ed6f040d add ci test for typescript angular 2016-05-20 00:34:31 +08:00
wing328
1e80455d82 add swagger codege ignore to ts node npm 2016-05-20 00:34:31 +08:00
wing328
3b4331a7ee add ci to ts node npm 2016-05-20 00:34:31 +08:00
wing328
a31f78b454 Merge branch 'swift/enums' of https://github.com/jaz-ah/swagger-codegen into jaz-ah-swift/enums
Conflicts:
	modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/SwiftCodegen.java
2016-05-19 16:10:47 +08:00
Joseph Zuromski
9bdf7c4bbb move back to alamofire 3.1.5 because alamofire 3.2.x and up cause issues speaking to the petstore service - has to do w/ Accept/content type changes 2016-05-18 09:48:12 -07:00
wing328
22413855cd remove try-catch block from objc sample code 2016-05-18 23:51:52 +08:00
Joseph Zuromski
98385aa746 checkpoint updating pod dependencies/moving to cocoapods1.0 2016-05-18 08:51:29 -07:00
wing328
d299f18f16 Merge pull request #2883 from scottrw93/requirements
Add requirments.txt and tox.ini
2016-05-18 09:54:40 +08:00
Guo Huang
b519015f61 fixed travis build error 2016-05-17 13:53:12 -07:00
Scott Williams
af64746870 Fix tox for 2.7 tests 2016-05-17 19:50:03 +01:00
wing328
1b4a3e72dd Merge pull request #2878 from mateuszmackowiak/objc/common_api_protocol
[Objc] - Common protocol for Api
2016-05-17 23:45:53 +08:00
zhenjun115
a093e7b74d gradle wrapper for java api client; 2016-05-17 23:40:57 +08:00
wing328
89614af25d Merge pull request #2890 from cbornet/retrofit2_oauth_loop
[Retrofit2] Don't retry if the access token doesn't change
2016-05-17 22:31:30 +08:00
wing328
a6068a585f Merge branch 'feature/patch-2' of https://github.com/zlx/swagger-codegen into zlx-feature/patch-2
Conflicts:
	samples/client/petstore/ruby/README.md
2016-05-17 21:05:37 +08:00
Newell Zhu
a62fa1c80c replace old syntax for rspec 2016-05-17 20:25:27 +08:00
Newell Zhu
1c3f1b4bf8 regenerate ruby sample after remove tailing 2016-05-17 20:13:38 +08:00
wing328
d161389599 Merge pull request #2879 from wing328/csharp_move_test_cases
[C#] move existing test cases to auto-generated test files
2016-05-17 19:30:42 +08:00
cbornet
596a076077 fix wrong method call 2016-05-17 10:35:37 +02:00
cbornet
fc1d06d810 update retrofit2 samples 2016-05-17 10:25:52 +02:00