Commit Graph

3361 Commits

Author SHA1 Message Date
wing328
69ec14d628 fix csharp constructor for model with read-only 1st property 2016-05-21 22:42:37 +08:00
wing328
46fe27a6f6 Merge pull request #2929 from catinred2/basicAuth
show security defs
2016-05-21 18:26:54 +08:00
wing328
e1367ee743 Merge pull request #2917 from Vrolijkx/feature/typescript_angular2_should_generate_correct_output
Feature/typescript angular2 should generate correct output
2016-05-21 17:42:00 +08: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
Newell Zhu
a7ca3870df remove ruby model leading space 2016-05-21 17:18:53 +08:00
wing328
3ddff7da58 Merge pull request #2930 from wing328/fix_consumes_and_produces3
[Javascript][Clojure] Fix mediaType
2016-05-21 16:41:26 +08:00
xming
90cf56ab43 more comprehensible text 2016-05-21 16:37:00 +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
wing328
42b08946d4 fix mediaType in clojure client 2016-05-21 16:18:44 +08:00
wing328
a1563ee6c6 unescape mediaType in JS 2016-05-21 16:12:42 +08:00
xming
e884b2e700 add basePathWithoutHost 2016-05-21 14:51:44 +08:00
xming
e44e9fd43a show security defs 2016-05-21 11:51:37 +08:00
Kristof Vrolijkx
cebaa6443c Fix array problem 2016-05-20 20:30:32 +02:00
zhenjun115
9a7e269de1 remove trailing spaces in the mustache template; 2016-05-20 22:39:53 +08:00
zhenjun115
87b25080c3 remove duplicated gradle wrapper mustache files from android api client; 2016-05-20 22:01:55 +08:00
zhenjun115
359c4b0e53 gradle wrapper mustache for java api client; 2016-05-20 21:44:32 +08:00
zhenjun115
f2a2014ef4 add gradle wrapper mustache for android api client; 2016-05-20 20:24:22 +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
Kristof Vrolijkx
d84c1cdfd7 Fix any problem
+ added integration test
2016-05-19 22:25:56 +02:00
Kristof Vrolijkx
d5626d02da fix indentation 2016-05-19 20:22:53 +02:00
Kristof Vrolijkx
a776b37cb1 fix indentation 2016-05-19 20:21:24 +02:00
Kristof Vrolijkx
244794b6a2 fix integration tests 2016-05-19 20:14:27 +02:00
Kristof Vrolijkx
d583e179ba Merge branch 'master' of https://github.com/swagger-api/swagger-codegen into feature/node-promise-cleanup 2016-05-19 20:08:34 +02:00
Kristof Vrolijkx
9070f1a0af Merge branches 'feature/integration-test' and 'master' of https://github.com/Vrolijkx/swagger-codegen
# Conflicts:
#	modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/AbstractTypeScriptClientCodegen.java
2016-05-19 20:05:55 +02:00
Kristof Vrolijkx
7e3faed37b small code cleanump 2016-05-19 20:03:39 +02:00
wing328
1e80455d82 add swagger codege ignore to ts node npm 2016-05-20 00:34:31 +08:00
wing328
71176a84ba skip integration test 2016-05-20 00:08:40 +08:00
wing328
624e8ae41f Merge pull request #2899 from jimschubert/feature/codegen-ignore
Feature/codegen ignore
2016-05-19 18:02:23 +08:00
Igor Markov
c245f2199f [Objc] fixed code generation for collection parameter 2016-05-19 11:50:57 +03: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
wing328
2dda6a6e9a Merge pull request #2640 from fabdslv/issue-2531
[Swift] Enum parameters are now handled
2016-05-19 15:46:25 +08:00
wing328
2ea40ada8b Merge pull request #2882 from Vrolijkx/feature/integration-test
Adding correct code generation for additional properties in typescript angular2.
2016-05-19 14:37:30 +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
Jim Schubert
21e2b7bb2a [feature] Support for .swagger-codegen-ignore
Adds a .swagger-codegen-ignore file with instructions and examples.
The .swagger-codegen-ignore file is treated as a supporting file.

Every project will generate a .swagger-codegen-ignore file containing
instructions and examples.

This also adds support for 'common' files (defaults like
.swagger-codegen-ignore). In the case of the ignore file, a generator
may include a compiled template ignore file which outputs to the
outputDir folder as .swagger-codegen-ignore and the default file
generation will honor the already generated file.

The rules for .swagger-codegen-ignore are a simple subset of what you'd
find in .gitignore or .dockerignore. It supports recursive matching
(**), simple matching (*), matching files in the project root
(/filename), matching against directories (dir/), negation rules
(!previously/excluded/**/file).
2016-05-18 08:34:52 -04:00
Kristof Vrolijkx
816ba6fb39 Code review remarks 2016-05-18 08:42:37 +02: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
c649e63e74 Merge pull request #2808 from mikolajprzybysz/broken-repo-path
[PHP] Fixing bug with composer project path in generated sdk
2016-05-17 23:30:02 +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
6c626ccc7a remove tailing spaces 2016-05-17 19:53:36 +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
cbornet
69d956f16b don't retry if the access token doesn't change
See #1541
2016-05-17 09:45:42 +02:00
Aditya Kajla
5633fdfb3d Java: Add basic junit test templates for api clients 2016-05-16 17:55:29 -07:00
Scott Williams
ad6b347170 Add requirments.txt and tox.ini 2016-05-16 22:16:56 +01:00
Kristof Vrolijkx
66a49e7b11 always use es6 Promise syntax 2016-05-16 21:08:03 +02:00
Kristof Vrolijkx
b61abf79c6 Merge branches 'feature/integration-test' and 'master' of https://github.com/Vrolijkx/swagger-codegen 2016-05-16 20:57:40 +02:00
Kristof Vrolijkx
ca2174f079 small code movement 2016-05-16 20:42:42 +02:00
Kristof Vrolijkx
5b1c779e57 fix unit test 2016-05-16 20:33:49 +02:00
Kristof Vrolijkx
b36290f88a adding node-es5-spec (still failing) 2016-05-16 20:12:44 +02:00
Kristof Vrolijkx
ec65eb5975 some small optimizations 2016-05-16 17:58:06 +02:00
Kristof Vrolijkx
68d47be9fd remove not needed peer dependencies and add any type too additional properties if also other properties defined. 2016-05-16 17:51:00 +02:00
wing328
5af4156c02 Merge pull request #2866 from jimschubert/cs/ignore_model_tests_option
[generator] Individual options to exclude tests and docs for apis and models
2016-05-16 23:10:41 +08:00
wing328
44d64a8793 Merge pull request #2796 from guohuang/multi
Updat api_client.go to use the new SetMultiValueQueryParams method
2016-05-16 21:48:01 +08:00
Kristof Vrolijkx
aa8b253e38 Merge branch 'master' of https://github.com/swagger-api/swagger-codegen into feature/integration-test 2016-05-16 13:47:22 +02:00
Kristof Vrolijkx
c018936c15 add support for additional properties in codegen 2016-05-16 13:47:09 +02:00
Kristof Vrolijkx
37ae53c2cc add support for additional properties in codegen 2016-05-16 13:45:12 +02:00
wing328
373e5fbde2 fix indention in tostring and constructor, add existing test cases to
auto-generated test files
2016-05-16 16:35:25 +08:00
Mateusz Mackowiak
36135134cb [Objc] - Fixed undeclared selector 2016-05-16 09:19:36 +02:00
Mateusz Mackowiak
7e1b080e24 [Objc] - Default headers in shared configuration 2016-05-16 08:55:08 +02:00
wing328
3e17869804 Merge pull request #2857 from jimschubert/cs/client_api_base
[csharp] Add common IApiAccessor interface
2016-05-16 14:29:26 +08:00
Mateusz Mackowiak
db27498961 [Objc] Remove try catch form documentation. 2016-05-16 07:48:22 +02:00
Mateusz Mackowiak
5c8516ce24 [Objc] - Common protocol for Api and added NSParameterAssert if missing required param + calling completion block with error rather than throwing an exception 2016-05-16 07:30:25 +02:00
wing328
acfa393b6b Merge pull request #2871 from zlx/feature/rails5
Feature/rails5
2016-05-16 11:54:38 +08:00
wing328
f60bffe484 Merge pull request #2771 from taxpon/issue-2770
Update typescript-angular2 client to adapt to rc (#2770)
2016-05-16 11:37:56 +08:00
wing328
8103ef3f2c Merge pull request #2877 from cbornet/lib_versions
[JAVA]Update versions in java libraries descriptions
2016-05-15 22:38:55 +08:00
wing328
de1949c644 Merge branch 'php-generated-codestyle' of https://github.com/arnested/swagger-codegen into arnested-php-generated-codestyle 2016-05-15 22:11:19 +08:00
cbornet
b1572af65d update versions in java libraries descriptions 2016-05-15 16:08:43 +02:00
wing328
cda6bc380e update android volley dependencies, add source and target in pom.xml 2016-05-15 17:06:46 +08:00
wing328
d01305671f minor fix to android after switching default lib 2016-05-15 14:40:20 +08:00
zhenjun115
c5136e4dda change volley to the default http library for android (existing errors); 2016-05-15 13:43:08 +08:00
Newell Zhu
33a1d24e1e change better method call 2016-05-15 11:53:54 +08:00
wing328
a466844063 Merge branch 'patch-2' of https://github.com/JMDHo/swagger-codegen into JMDHo-patch-2 2016-05-15 01:21:47 +08:00
Newell Zhu
d0dcec85cc build route.mustache 2016-05-15 00:20:38 +08:00
Newell Zhu
da50a6e1f0 Complete controller mustache 2016-05-15 00:20:38 +08:00
Newell Zhu
8847462198 setup rails 5 basic structure 2016-05-15 00:20:38 +08:00
wing328
1520b90b0d Merge pull request #2812 from achew22/undefined_ts
Update TypeScript to do a better check for empty on basePath.
2016-05-14 22:22:26 +08:00
wing328
7253375b13 Merge pull request #2811 from achew22/injection_ts
Update the injector static variable to contain all injected values.
2016-05-14 22:17:20 +08:00
Arne Jørgensen
cc395fdf63 [PHP] Improve generated codestyle 2016-05-14 13:45:41 +02:00
wing328
b3a335f97b Merge pull request #2863 from cbornet/fix_feign_oauth
[Feign]Fix issue with expired token refreshing
2016-05-14 18:04:12 +08:00
wing328
31848a1920 Merge pull request #2867 from wing328/php_debug_message
[PHP] add debug switch to print out downloaded file info
2016-05-14 17:56:28 +08:00
wing328
2a11720b1d Merge pull request #2862 from mateuszmackowiak/master
[Objc] Moved the generated files to Api, Core and Model folders
2016-05-14 17:48:22 +08:00
wing328
0b7d0c34af add debug switch to print out downloaded file info 2016-05-14 17:11:48 +08:00
Jim Schubert
f6b42b1a4f [python] Excluded tests shouldn't write test init 2016-05-13 22:27:46 -04:00
Jim Schubert
96b98d22c5 [generator] Exclude api/model tests & docs via options
Adds support for system properties apiTests, modelTests, modelTests, modelDocs.
All accepting a boolean value to explicitly define whether or not these
should be generated.

These properties aren't considered "features", so specifying
-DmodelTests=false for example won't cause api or supportFiles to be ignored.

Includes additionalProperty excludeTests for when apiTests and modelTests are
both set to false.

Also includes update to csharp client generator to prevent generation of
the Test project or inclusion of the Test project when both api and
model tests are excluded.

see #2506
2016-05-13 22:04:45 -04:00
Leon Yu
885d3543df functional programming api for typescript-fetch 2016-05-13 17:59:01 -04:00
Guo Huang
492dbcb572 added travis yml to code gen 2016-05-13 13:29:51 -07:00
cbornet
f87d718836 fix issue with expired token refreshing 2016-05-13 16:23:51 +00:00
Mateusz Mackowiak
70cbe1042c [Objc] Moved the generated files to Api, Core and Model folders
- Added known response codes in comment
2016-05-13 17:46:49 +02:00
wing328
303aec7647 Merge branch 'cs/req_properties_2584' of https://github.com/jimschubert/swagger-codegen into jimschubert-cs/req_properties_2584
Conflicts:
	samples/client/petstore/csharp/SwaggerClient/IO.Swagger.sln
	samples/client/petstore/csharp/SwaggerClient/README.md
	samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger.Test/IO.Swagger.Test.csproj
	samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/IO.Swagger.csproj
2016-05-13 21:49:16 +08:00