Tony Tam
371a021ef5
Merge pull request #3549 from swagger-api/release-prepare
...
updated versions for release
2016-08-07 23:02:24 +02:00
Tony Tam
be3a49183e
Merge branch 'master' into release-prepare
2016-08-07 18:41:16 +02:00
Tony Tam
5f67ec021d
Merge pull request #3551 from wing328/java_fix_okhttp_model
...
[Java] Fix @JsonCreator annotation issue with Java API clients using gson
2016-08-07 18:40:29 +02:00
wing328
d8cdcbf042
fix jsoncreator annotation issue with java api clients using gson
2016-08-08 00:16:12 +08:00
Tony Tam
c147cfde1b
updated release versions
2016-08-07 11:49:01 +02:00
wing328
e8095c6a04
Merge pull request #3543 from guohuang/compile_issue2
...
[GO] Fixing compilation issue when pathParams is not presented
2016-08-06 14:07:00 +08:00
wing328
c220dbb2f5
Merge pull request #3541 from expectedbehavior/configuration-misspelling
...
Fix spelling in ruby ApiClient: Configuraiton -> Configuration
2016-08-06 13:10:46 +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
Joel Meador
950fb43fdf
fix spelling in ruby ApiClient: Configuraiton -> Configuration
2016-08-05 14:36:08 -04:00
Tony Tam
1f58526615
updated to release version of parser
2016-08-05 19:42:21 +02:00
wing328
148a842f3b
fix #2538 ( #3535 )
2016-08-05 18:09:00 +08:00
Tony Tam
b74c1b98a2
updated version
2016-08-05 10:32:06 +02:00
Tony Tam
e6f6e66167
Merge branch 'master' of github.com:swagger-api/swagger-codegen
2016-08-05 10:31:24 +02:00
wing328
47738f6cd6
[Sinatra][Nancyfx] fix enum in Sinatra and nancyfx ( #3532 )
...
* fix enum in sintra and nancyfx
* add isContainer check for sinatra allowable value
* fix EOL in nancyfx enum template
2016-08-05 16:30:59 +08:00
Tony Tam
f82d4fa033
updated version
2016-08-05 09:09:45 +02:00
Tony Tam
ce7a5682d5
version update
2016-08-05 08:54:36 +02:00
Tony Tam
125338a081
updated parser
2016-08-05 08:53:13 +02:00
wing328
41ffc70d93
Merge pull request #3531 from wing328/java_test_enum
...
[Java] add enum test cases for Jackson, Gson
2016-08-05 12:19:24 +08:00
wing328
d76c7cc5e8
add test cases for jersey1 enum
2016-08-05 11:49:34 +08:00
wing328
a2496df401
add test case for okthtp-gson enum
2016-08-05 11:45:51 +08:00
wing328
122af80881
better symbol mapping for enum name
2016-08-05 11:28:07 +08:00
wing328
89fe3403a7
add enum test case for jersey2
2016-08-05 01:57:34 +08:00
wing328
5b4eb96ba1
Merge pull request #3519 from wing328/enum_name_mapping
...
[Java] better enum naming for symbol
2016-08-04 17:06:46 +08:00
wing328
670f103859
better enum naming for symbol (java)
2016-08-04 16:37:48 +08:00
wing328
d5bf43b824
Merge pull request #3511 from wing328/bug/3355
...
[Java][Spring] fix models with enum properties
2016-08-03 19:02:18 +08:00
wing328
3238fd2853
ignore 2 test cases in spring cloud client
2016-08-03 18:43:43 +08:00
wing328
0547f0d6d8
fix spring enum model
2016-08-03 16:38:02 +08:00
wing328
3dc31ced8e
update https to http for Germin8
2016-08-03 16:37:17 +08:00
wing328
7d8c9dc40a
add Germin8
2016-08-03 16:36:08 +08:00
wing328
81f981c54d
Merge pull request #3506 from wing328/fix_array_enum
...
[JaxRS][PHP] Fix issue with enum
2016-08-03 14:50:05 +08:00
wing328
26c33d344d
Merge pull request #3507 from chrislewis/gen-readme-typo
...
s/It's/Its
2016-08-03 12:14:36 +08:00
wing328
5103045246
Merge pull request #3504 from himanshu-mishra/issue-3502
...
Using baseName in place of paramName in request header. Closes #3502
2016-08-03 10:50:57 +08:00
Chris Lewis
3bd01b988e
s/It's/Its
2016-08-02 15:50:25 -04:00
wing328
811b5940eb
update jaxrs with better test, fix enum issue, patch operation
2016-08-03 01:36:34 +08:00
wing328
1fde95f997
fix java okhttp (array of enum property)
2016-08-03 01:36:34 +08:00
wing328
25fa3e86f9
add enumName to store the enum prefix
2016-08-03 01:36:13 +08:00
wing328
0b8acb5b0c
set allowablevalues of inner enum's allowablevalues
2016-08-03 01:35:58 +08:00
Himanshu Mishra
24d8c621c2
Using baseName in place of paramName in request header. Closes #3502
2016-08-02 21:38:26 +05:30
wing328
bbe422947f
Merge pull request #3501 from wing328/revert_3391_2
...
Revert "Merge branch 'feature/objc-tasks' of https://github.com/wberger/swagger-codegen "
2016-08-02 18:28:15 +08:00
wing328
ed9dea6a89
Revert "Merge branch 'feature/objc-tasks' of https://github.com/wberger/swagger-codegen "
...
This reverts commit 7c1daab896 , reversing
changes made to aa58497247 .
2016-08-02 17:49:55 +08:00
wing328
7bd37468bc
Merge pull request #3496 from Kvezon/jersey2-byte-array-deserialize
...
Support byte[] downloading in Java jersey2 client
2016-08-02 16:24:40 +08:00
wing328
390ec38ec7
Merge pull request #3482 from cliffano/master
...
[Java] Add maven-javadoc-plugin in pom.xml of generated Java client.
2016-08-02 16:19:29 +08:00
wing328
1886abb9f9
Merge pull request #3487 from szantopeter/master
...
fixing bug of rendering an extra spaces into @FeignClient annotation
2016-08-01 23:12:39 +08:00
Kvezon
ef526422e9
Support byte[] downloading in Java jersey2 client
2016-08-01 16:33:58 +03:00
Peter Szanto
9cc4e1fee0
updated readme.md
2016-08-01 15:16:00 +02:00
Peter Szanto
abd5b3f4de
regenerated the spring-cloud sample
2016-08-01 14:50:09 +02:00
wing328
103cc7410b
Merge pull request #3494 from osher/patch-1
...
NodeJS generator - Harken to the the warnings ...
2016-08-01 20:43:18 +08:00
osher
30776d75a9
NodeJS generator - Harken to the the warnings ...
...
2 types of warnings are emitted in bulk whenever using the nodeJS generator.
I did some guesswork: since JS is a c-type language like C# and Java - I looked there for reference, and followed their example.
2016-08-01 13:40:29 +03:00
wing328
f5e20b4e88
Merge pull request #3493 from arnested/php/Client_properties_validation-3480
...
[PHP] Fix invalid PHP syntax
2016-08-01 18:06:56 +08:00
Arne Jørgensen
aacc235665
[PHP] Regenerate petstore samples
2016-08-01 11:48:52 +02:00
Arne Jørgensen
cfe8dfc112
[PHP] Fix invalid PHP syntax
...
Fixes 3480.
2016-08-01 11:46:57 +02:00
wing328
df05295f40
add confluence wiki
2016-08-01 17:35:05 +08:00
wing328
61b86c74fb
Merge branch 'jhitchcock-feature/confluencewikidocs'
2016-08-01 17:30:04 +08:00
wing328
c6e6a6560a
add shell script for cwiki
2016-08-01 17:29:27 +08:00
wing328
1bdd15c55c
Merge branch 'feature/confluencewikidocs' of https://github.com/jhitchcock/swagger-codegen into jhitchcock-feature/confluencewikidocs
2016-08-01 17:25:20 +08:00
wing328
85c8eb3d76
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-08-01 17:25:13 +08:00
wing328
4895a35200
Merge pull request #3492 from wing328/ruby_optional_validation
...
[Ruby] fix validation for optional parameters/properties for ruby
2016-08-01 17:12:39 +08:00
wing328
8c357dd1d6
fix validation for optional parameters/properties for ruby
2016-08-01 16:50:11 +08:00
wing328
fa7bd21420
add template owner for html doc 2
2016-08-01 16:17:24 +08:00
wing328
434b4fd359
Merge pull request #3447 from jhitchcock/feature/static-docs-2
...
[WIP] - Html Docs 2 - API and Client Library Documentation - Feedback / Assistance wanted
2016-08-01 16:13:16 +08:00
Arne Jørgensen
0f8e1f8105
[PHP] Client properties validation #3457 ( #3480 )
...
* [PHP] Avoid validation of unset, optional parameters
Fixes #3457 .
* [PHP] Regenerate petstore samples
2016-08-01 15:24:47 +08:00
abcsun
d7c959fe42
[PHP] add AbstractPhpCodegen to be as the base class of PHP-related generators ( #3310 )
...
* add abstractPhpCodegen
* This base class should provide common functions to PHP-related generators so that the same enhancements or bug fixes can be applied to all clients.
Most source be moved from the PhpClientCodegen.
* change Lumen codegen to use the AbstractPhpCodegen
* remove the composerVendorName/composerProjectName. modify the LumenServerOptionsTest for unit test
* add context path
* reserve the apiDocPath and modelDocPath
* add the templateDir for lumen
2016-08-01 15:23:35 +08:00
wing328
3d7ff26c67
[C#] Add C# Petstore test to AppVeyor ( #3489 )
...
* update appveyor.yml to test c# petstore client
* update csproj file
* add docker version test
* add docker version
* add docker
* add cpuid.ps1
* comment out cpuid
* use start process
* remove mvn test
* remove comments related to docker
* fix appveyor to run local petstore, shippable caching turned on
* add comments to ci config
* remove cpuid.ps1
* update C# petstore sample
2016-07-31 22:37:06 +08:00
wing328
2d491dce71
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-07-31 10:33:47 +08:00
Peter Szanto
c91b004b0b
fixing bug of rendering an extra spaces into @FeignClient annotation properties
2016-07-31 04:16:22 +02:00
wing328
75cd4bf437
add shippable badge, update travis badge
2016-07-31 10:07:04 +08:00
wing328
7c1daab896
Merge branch 'feature/objc-tasks' of https://github.com/wberger/swagger-codegen
2016-07-30 16:17:08 +08:00
jhitchcock
c377153336
Confluence Wiki Documentation
2016-07-29 12:09:03 +02:00
wing328
aa58497247
add decentfox
2016-07-29 10:38:51 +08:00
wing328
293096f565
Merge pull request #3476 from philicious/qt5-generator-fixes
...
Qt5: Added missing datatype handlers for QByteArray for swagger-type "byte"
2016-07-29 09:43:50 +08:00
wing328
4e17221494
Merge pull request #3471 from cbornet/fluent_containers
...
[JAVA] Add fluent methods to add items to list and put items to maps
2016-07-29 09:33:31 +08:00
wing328
33b33cb384
add Skurt to company list
2016-07-29 08:04:46 +08:00
philicious
a67f168fa6
Qt5: add handling for swagger type-format "byte" to Qt5 generator
2016-07-28 19:34:45 +02:00
philicious
b2cb215741
Qt5: added missing data type handler for QByteArray to SWGHelper
2016-07-28 19:29:33 +02:00
Cliffano Subagio
8d4cfcae78
Add maven-javadoc-plugin in pom.xml of generated Java client.
2016-07-28 23:06:57 +10:00
wing328
46a222088e
update go petstore sample
2016-07-28 00:24:36 +08:00
wing328
c8764fe0d0
Merge pull request #3470 from neilotoole/issue-3469-unused-errors-import
...
[Go] removed unused import
2016-07-28 00:20:24 +08:00
cbornet
3b4465d999
add fluent methods to add items to list and put items to maps
2016-07-27 18:18:48 +02:00
Neil O'Toole
75403f1900
removed unused import
2016-07-27 09:35:04 -06:00
wing328
34137c703b
Merge pull request #3467 from wing328/bug/fix_3396
...
[Haskell] fix casting issue with ModelImpl in Haskell generator
2016-07-27 18:40:49 +08:00
wing328
3cd37bf5e9
fix casting issue with ModelImpl in Haskell
2016-07-27 18:07:35 +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
748eaa849e
Merge pull request #3463 from neilotoole/issue-3462-caseified-query-param
...
Issue 3462 caseified query param
2016-07-27 16:18:58 +08:00
wing328
0675f1686e
Merge pull request #3460 from neilotoole/issue-3459_bad_required_checking
...
Issue #3459 removed check for required params
2016-07-27 16:18:49 +08:00
Neil O'Toole
154d0fc9de
#3462 using base name in request instead of caseified paramName
2016-07-26 18:11:36 -06:00
Neil O'Toole
39228c7c94
#3459 removed check for required params
2016-07-26 15:07:57 -06:00
wing328
0beb4aa303
Merge pull request #3458 from wing328/go_fix_apikey
...
[Go] fix API key issue with Go client
2016-07-27 01:17:03 +08:00
wing328
743219aa08
fix apikey issue with go client
2016-07-26 23:05:08 +08:00
wing328
81f5108bac
[Scala][Scalatra] Include scalatra pestore in the CI tests ( #3456 )
...
* add CI coverage for scalatra server
* move scalatra test to the end
2016-07-26 16:04:54 +08:00
wing328
2b66128954
Merge pull request #3454 from wing328/bug/fix_3223
...
Clear import mapping for gnereators that do not use it
2016-07-26 15:47:34 +08:00
Yi
b3403015fd
fix scalatra path with basepath ( #1425 ) ( #3448 )
2016-07-26 14:49:33 +08:00
wing328
9489f7d3eb
clear import mapping for gnereators that do not use it
2016-07-26 14:40:29 +08:00
wing328
30c2503f9f
[C#][NancyFX] Better "Add" for Dictionary and using {{packageName}} for NancyFX ( #3449 )
...
* use square bucket for C# dictionary
* use packageName for nancyfx generator, update info to debug for log
* use packageName for nancyfx generator, update info to debug for log
2016-07-26 14:10:48 +08:00
wing328
8184732da2
Merge pull request #3442 from jimschubert/csharp/3441
...
[C#] RootNamespace/AssemblyName use packageName
2016-07-25 21:50:04 +08:00
jhitchcock
aaba4b9e82
Html Docs 2 - API and Client Library Documentation
2016-07-25 15:36:05 +02:00
Jim Schubert
52cfd0f86f
[C#] RootNamespace/AssemblyName use packageName
...
Uses packageName instead of packageTitle for RootNamespace and
AssemblyName in the C# generate client project. packageTitle is intended
to add additional information to AssemblyInfo.cs, and changing
packageTitle to non-FQN text breaks adding new files to the project.
packageTitle, per CodegenConstants description:
"Specifies an AssemblyTitle for the .NET Framework global assembly
attributes stored in the AssemblyInfo file."
2016-07-24 11:21:06 -04:00
Christian Loitsch
bf17a91275
dart codegen improvements ( #3440 )
...
* fix: query params may be ints as well
don't assume query params are Strings or List<String>s
* fix dart: use correct type for QueryParams
type is Iterable, not List
only check params for != null if they haven't been checked already
add some casts to make strong mode happy
update petstore
* feat dart: enable strong mode
* feat dart: generate both browser and vm library
move petstore client into subdirectory and reference
generated libraries using path in pubspec.yaml
* feat dart: refactor petstore test.
The new layout resembles a real project.
petstore test is now strong mode compatible.
* feat: add DateTimerParser transformer
* feat: improved exception reporting
* feat[dart]: handle patch requests
* fix[dart]: typo
* fix dart: remove findPetsByTag test; enable strong-mode
find pets by tag call is deprecated and returns 500
generated library is now strong mode compatible
2016-07-23 23:45:22 +08:00
wing328
a1e7c517d3
add 2.30 and 2.2.1 milestones
2016-07-22 11:23:45 +08:00
Tao Qian
55bf8b1f96
Stop Shortening Underscore in Enum Value ( #3401 )
...
* stop shortening underscore
* use 4 space indentation
* remove fake class and use anonymous class instead
* rename
2016-07-21 21:37:54 +08:00
ozialien
d5528e5d2a
jmockit-surefire-fix ( #3429 )
2016-07-21 21:36:56 +08:00
wing328
13ec3dc6bb
[C#] fix remaining reference to NUnit 3.2.1 ( #3433 )
...
* fix remaining reference to 3.2.1 of nunit
* fix nunit runner path
2016-07-21 21:23:40 +08:00
wing328
f74bf84017
download C# nunit to 2.x ( #3432 )
2016-07-21 18:17:43 +08:00
wing328
a916696f28
fix #3427 using String() ( #3431 )
2016-07-21 17:44:10 +08:00
guohuang
f6c523bcd6
fixed all routing to v2 ( #3428 )
2016-07-21 11:44:43 +08:00
delenius
c888434580
Improve jsdoc for API return values ( #3327 )
...
* Add jsdoc for usePromises, add @link for callbacks
* Update petstore samples
* Improve jsdoc for void return type + usePromises
* Add back curly brackets correctly in model template
* Add link to Promise doc in jsdoc comment
* Fix jsdoc annotation for callApi method
The return type annotation was also broken here.
2016-07-20 20:14:51 +08:00
Tao Qian
8818cf9ff4
raise Exception instead of str ( #3322 )
2016-07-20 20:06:48 +08:00
abcsun
bee6803bcb
add context path ( #3425 )
2016-07-20 19:06:14 +08:00
Chris Jang
9c7710e695
Factory interface for typescript-fetch ( #3398 )
...
* Added Factory interface for typescript-fetch
* added tests
* Removed 'this.'
* Added Factory interface for typescript-fetch
* added tests
* Removed 'this.'
2016-07-20 18:00:52 +08:00
Andy
dfe4944552
Fix #3400 - incorrect MinLength and MaxLength on partial_model_generic.mustache template ( #3415 )
...
* fix maxLength and Regexp issue
* more fix
* revert some changes
2016-07-20 16:52:07 +08:00
wing328
97855baf83
Merge pull request #3423 from wing328/bug/fix-3418
...
[PHP][Silex] fix contextpath for index.php
2016-07-20 16:30:47 +08:00
wing328
889549a352
fix contextpath for php silex
2016-07-20 16:13:06 +08:00
wing328
269c657471
Merge pull request #3422 from wing328/bug/fix-3418
...
[PHP][Slim] Add missing context path
2016-07-20 16:05:25 +08:00
wing328
9fcb8a310d
fix #3418 - slim missing contextpath
2016-07-20 15:49:41 +08:00
wing328
d16b761aaf
Merge pull request #3407 from lunat/csharp_api_key_header_issue_3295
...
Csharp api key header issue 3295
2016-07-20 15:29:53 +08:00
wing328
7fbb499ad1
Merge pull request #3266 from ButterflyNetwork/swift-binary
...
[Swift] Handle binary data types
2016-07-19 23:19:01 +08:00
Jason Gavris
4f0b7dfaed
[Swift] Handle binary data types
2016-07-19 11:05:40 -04:00
wing328
ef857176a6
Merge pull request #3397 from ButterflyNetwork/swift-podspec
...
[Swift] Fix pod authors in podspec
2016-07-19 23:00:52 +08:00
Jason Gavris
9e6896c8f0
[Swift] Fix pod authors in podspec
2016-07-19 10:37:20 -04:00
wing328
72be69d2ed
Run petstore.swagger.io locally ( #3411 )
...
* update travis to run petstore server locally
* fix docker command
* update travis with addon
* add comment to travis.yml
2016-07-19 22:36:10 +08:00
wing328
5001b54eca
update maintainer for spring-related generator
2016-07-19 20:50:22 +08:00
lunat
92e8efde1a
Csharp api key header issue 3295
2016-07-19 14:37:03 +02:00
lunat
41bab483e0
Issue #3295
...
[csharp] header problem due to static method for adding header
2016-07-19 12:45:52 +02:00
wing328
b8f6667f00
Merge pull request #3329 from ant3/JSR310-Clients
...
[Java] Add support for JSR310 in Jersey Clients (v4)
2016-07-19 17:40:02 +08:00
wing328
ca4a90d64d
Merge pull request #3404 from wing328/objc_fix_empty_desc
...
To set a default description if none is provided
2016-07-19 17:09:01 +08:00
wing328
37404909bf
to set a default description if none is provided
2016-07-19 16:55:39 +08:00
wing328
118fd4d84d
Merge pull request #3393 from cbornet/java_inheritance
...
Set supportInheritance to true for java based gens
2016-07-19 16:15:53 +08:00
wing328
207622a8f8
Merge pull request #3402 from wing328/ruby_fix_minlength
...
[Ruby] Fix minLength, maxLength
2016-07-19 15:58:51 +08:00
wing328
d780e3a5f5
fix #3400 (ruby minLenght, maxLength)
2016-07-19 15:16:07 +08:00
wing328
b9479ae8b7
Merge pull request #3271 from ButterflyNetwork/swift-uuid
...
[Swift] Add support for NSUUID
2016-07-19 14:16:45 +08:00
wing328
60af9e7a83
Merge pull request #3375 from ButterflyNetwork/swift-progress
...
[Swift] Expose NSProgress to RequestBuilder
2016-07-19 13:46:50 +08:00
wing328
77097ec76a
Merge pull request #3364 from michaelkourlas/michaelkourlas-patch-1
...
Correct reference to ApiClient default instance
2016-07-19 13:44:52 +08:00
wing328
323c778059
Merge pull request #3378 from ButterflyNetwork/python-flaky-test
...
[Python] Fix flaky test with id collisions
2016-07-19 13:30:46 +08:00
wing328
b3a6535d1e
Merge pull request #3385 from wing328/fix_mvn_warning
...
Fix maven warning and update maven plug-ins to the latest version
2016-07-19 13:10:49 +08:00
wing328
dc8eb8e8ad
Merge pull request #3394 from clasnake/3171/scalatra_petstore_error
...
Fix the scalatra petstore sample compile error.
2016-07-19 13:10:26 +08:00
Jason Gavris
cd79ae1ab4
[Swift] Add support for NSUUID
2016-07-18 23:30:01 -04:00
Jason Gavris
87b79e5946
[Swift] Expose NSProgress to RequestBuilder
2016-07-18 23:29:29 -04:00
Jason Gavris
be65a26db0
[Python] Fix flaky test with id collisions
2016-07-18 23:29:17 -04:00
wing328
3659767e0a
Merge pull request #3399 from cbornet/fix_jetty
...
Make jersey tests wait that jetty is closed before terminating
2016-07-19 11:18:46 +08:00
cbornet
34d3a5e8d0
make jersey tests wait that jetty is closed before terminating
2016-07-18 23:21:12 +02:00
clasnake
5e4e84ffe7
Fix the scalatra petstore sample compile error.
2016-07-18 23:58:03 +08:00
cbornet
421c462ba9
set supportInheritance to true for java based gens
2016-07-18 16:33:20 +02:00
wing328
0d9878373c
Merge pull request #3377 from ButterflyNetwork/maven-cache
...
[Travis] Cache maven directory
2016-07-18 22:18:00 +08:00
wing328
4da6ecf6a6
Merge pull request #3384 from keithballdotnet/patch-1
...
[Go] ParameterToString can panic
2016-07-18 22:17:12 +08:00
Wolfgang Berger
d4611e4645
remove custom codegen
2016-07-18 13:05:07 +02:00
Wolfgang Berger
f37bd4ab49
rename ApiClient to ApiSessionManager, return cancellable tasks instead of request IDs which greatly reduces state while offering real cancellation, change to a protocol-based configuration with a default implementation, include a workarount for current JSONModel concurrency issues, add missing super call in QueryParamCollection initWithValuesAndFormat
2016-07-18 13:01:57 +02:00
Wolfgang Berger
e73f2a5c64
Merge branch 'upstream-master' into feature/objc-sessionmanager-integration
...
* upstream-master:
update JAR URL to 2.2.0
updated dev versions
set interface with discriminator as parent
null check
updated readme
updated versions for release
update java petstore sample
derive invoker package name from api/modoel package name
2016-07-18 12:02:32 +02:00
Wolfgang Berger
749a17d292
cleanup
2016-07-18 12:00:22 +02:00
wing328
e6f08df30c
update JAR URL to 2.2.0
2016-07-18 17:32:29 +08:00
Wolfgang Berger
07d2e7245e
updates iso lib version requirement
2016-07-18 11:20:29 +02:00
Wolfgang Berger
e077e80dcb
add missing assignment to task
2016-07-18 10:45:22 +02:00
Tony Tam
39cb6a24db
updated dev versions
2016-07-17 15:43:30 -07:00
Tony Tam
46545c14da
Merge pull request #3388 from swagger-api/release-prepare
...
updated versions for release
2016-07-17 15:25:14 -07:00
cbornet
8740b4d0ea
set interface with discriminator as parent
...
If a composed model (allOf) doesn't have any parent and one of its interface has a discriminator field, then set this interface as parent.
See #2096
See https://github.com/swagger-api/swagger-parser/pull/246
2016-07-17 14:38:03 -07:00
Tony Tam
bd0340327b
Merge branch 'wing328-java_fix_apiclient' into release-prepare
2016-07-15 22:37:35 -07:00
Tony Tam
3346388056
null check
2016-07-15 21:39:58 -07:00
Tony Tam
fbada6ef11
Merge branch 'java_fix_apiclient' of https://github.com/wing328/swagger-codegen into wing328-java_fix_apiclient
2016-07-15 14:41:46 -07:00
Tony Tam
d9aa1dd985
updated readme
2016-07-15 13:46:47 -07:00
Tony Tam
c49db091ef
updated versions for release
2016-07-15 13:45:22 -07:00
Wolfgang Berger
d120902e4b
integrate latest objc changes into objc-sessionmanager
2016-07-15 15:36:24 +02:00
wing328
9056a5a56c
fix mvn warning, update mvn plug-in version
2016-07-15 21:21:58 +08:00
keithballdotnet
cb547c113a
ParameterToString can panic
...
Let the fmt package help convert the obj to a string. Previously this could panic if the obj was an int.
2016-07-15 14:55:11 +02:00
wing328
9e0c865c08
update java petstore sample
2016-07-15 17:45:06 +08:00
wing328
67a674bf3d
derive invoker package name from api/modoel package name
2016-07-15 17:42:05 +08:00
Wolfgang Berger
fab499e612
Merge branch 'upstream-master' into feature/objc-sessionmanager-integration
...
* upstream-master:
add more companies
added env variable override
add link to appveyor build
fix defeault rspec test for ruby, update security petstore
[Swift] Use ISO-8601 date format
2016-07-15 10:09:15 +02:00
wing328
bd7904d42a
add more companies
2016-07-15 12:20:19 +08:00
Jason Gavris
4d9b5feb77
[Travis] Cache maven directory
2016-07-14 21:57:24 -04:00
wing328
0405db7a97
Merge pull request #3264 from ButterflyNetwork/swift-iso-date
...
[Swift] Use ISO-8601 date format
2016-07-15 08:33:49 +08:00
Tony Tam
ac06825f08
Merge pull request #3373 from swagger-api/issue-3372
...
added env variable override
2016-07-14 13:02:24 -07:00
Tony Tam
20216a9418
added env variable override
2016-07-14 12:05:36 -07:00
wing328
ac3b60e390
add link to appveyor build
2016-07-14 22:47:38 +08:00
wing328
2d35743b0d
Merge pull request #3368 from wing328/ruby_fix_rspec
...
[Ruby] fix default rspec test cases for Ruby API client
2016-07-14 22:13:34 +08:00
Wolfgang Berger
fb68c6c93d
update naming
2016-07-14 15:38:05 +02:00
Wolfgang Berger
f14f4c1e93
Merge branch 'upstream-master' into feature/objc-sessionmanager-master-merge
...
* upstream-master: (1081 commits)
improve ts node enum naming
update ruby samples
update ruby sample
Update README to clean on mvn package
fix csharp enum naming
fix double hyphen in c# generator
Remove more Java String comparison using "=="
Not compare Java String with "=="
fix csharp code sample
feat dart: add pubName to all remaining library parts
fix[ruby]: Problem with List of Enum
feat dart: add pubName to library name.
feat dart: mv basePath to ApiClient
Add more security samples (#3344 )
Leverage Shipable.io to validate mustache templates (#3333 )
fix model name "client" issue
fix https://github.com/swagger-api/swagger-codegen/pull/3313/files#r70178399
#3285 replaced setModelNamePrefix by setModelNameSuffix
doc: explain how to run tests
feat: improve / fix deserialization by parsing type String
...
Conflicts:
modules/swagger-codegen/src/main/resources/objc/Object-body.mustache
2016-07-14 15:18:08 +02:00
Wolfgang Berger
83e7cdb6a3
Merge branch 'feature/objc-sessionmanager' into feature/objc-sessionmanager-merge
...
* feature/objc-sessionmanager:
updates templates with JSONModel workaround
updates for ISO8601 0.5.1
updates templates according to https://github.com/NYTimes/objective-c-style-guide
first version of session manager
2016-07-14 12:28:20 +02:00
wing328
069a6b2917
fix defeault rspec test for ruby, update security petstore
2016-07-14 18:22:01 +08:00
wing328
d3a1326405
Merge pull request #3367 from wing328/typescript_enum_naming
...
[Typescript][Node] Better enum naming
2016-07-14 17:34:42 +08:00
wing328
4f52cebf7a
improve ts node enum naming
2016-07-14 17:14:06 +08:00
wing328
748f4b21f4
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-07-14 16:44:34 +08:00
wing328
59a73a7732
Merge branch 'ircecho-patch-1'
2016-07-14 16:19:21 +08:00
wing328
7c8333e2f8
update ruby samples
2016-07-14 16:19:05 +08:00
wing328
4be11452ce
Merge branch 'patch-1' of https://github.com/ircecho/swagger-codegen into ircecho-patch-1
2016-07-14 16:11:29 +08:00
wing328
6a2ff14edb
Merge branch 'ircecho-patch-1'
2016-07-14 15:54:13 +08:00
wing328
c0491ccb1d
update ruby sample
2016-07-14 15:53:42 +08:00
wing328
3ae0ffa819
Merge branch 'patch-1' of https://github.com/ircecho/swagger-codegen into ircecho-patch-1
2016-07-14 15:32:41 +08:00
wing328
a07d602d78
Merge pull request #3361 from jdebbink/readme
...
Update README to clean on mvn package
2016-07-14 15:26:30 +08:00
Michael Kourlas
a4c589c346
Correct reference to ApiClient default instance
2016-07-13 13:56:43 -04:00
Justin Debbink
9fc7215d6d
Update README to clean on mvn package
2016-07-13 11:44:57 -05:00
wing328
0986acd2a6
Merge pull request #3359 from sinofool/master
...
Not compare Java String with "=="
2016-07-13 20:50:36 +08:00
wing328
cee45bc9aa
Merge pull request #3360 from wing328/csharp_escape_double_hyphen
...
[C#] fix double hyphen in c# generator
2016-07-13 20:44:55 +08:00
wing328
8da6e0a533
fix csharp enum naming
2016-07-13 19:11:22 +08:00
wing328
cf02d1700a
Merge pull request #3289 from d0x/Make_Pre_and_Suffix_Available
...
[MAVEN] #3284 : Made modelNamePrefix and -Suffix available through maven
2016-07-13 18:31:18 +08:00
wing328
e2d74de6ca
fix double hyphen in c# generator
2016-07-13 18:16:52 +08:00
Bochun Bai
f75a42f810
Remove more Java String comparison using "=="
2016-07-13 18:06:45 +08:00
Bochun Bai
6d4d81b652
Not compare Java String with "=="
...
Replaced with equals()
2016-07-13 17:27:11 +08:00
wing328
6e561e116b
Merge pull request #3358 from wing328/csharp_fix_doc
...
[C#] Fix C# sample code
2016-07-13 17:06:49 +08:00
wing328
9bfb52dbc1
fix csharp code sample
2016-07-13 16:22:58 +08:00
wing328
c873a52f84
Merge pull request #3325 from inc-cloitsch/rmCrypto_fixRequiredParams_useAsyncAwait_addMultiQueryParams
...
dart: fix required params. add 'multi' query params. better deserialization.
2016-07-13 16:13:41 +08:00
Christian Loitsch
8003156fd8
feat dart: add pubName to all remaining library parts
2016-07-12 19:42:11 +02:00
ircecho
66619b1a09
fix[ruby]: Problem with List of Enum
...
Fixes #3323
2016-07-12 18:21:34 +02:00
Christian Loitsch
a5351f7ec0
feat dart: add pubName to library name.
...
Otherwise projects may not use different apis generated by swagger,
because library names must be unique.
2016-07-12 18:05:40 +02:00
Christian Loitsch
0d0d353b9d
feat dart: mv basePath to ApiClient
...
Changing the basePath is pretty annoying otherwise, because
you would need to set the basePath for every Api.
2016-07-12 17:18:45 +02:00
wing328
394840e352
Add more security samples ( #3344 )
...
* add line break test to petstore-security-test.yaml
* add objc/swift security testing
* add go,scala,qt5cpp for security test
* add security test for typescript
* fix go security issue, fix consumes,produces line break
2016-07-12 19:51:28 +08:00
lunat
e6803aed97
Merge pull request #1 from lunat/CSharp-client-header-enhancement
...
CSharp client header problem
2016-07-11 14:22:11 +02:00
wing328
d4951bbf3c
Leverage Shipable.io to validate mustache templates ( #3333 )
...
* add run all petstore shell script
* add run all petstore batch file for windows tests
* better output for travis and appveyor
* add shippable config to test all petstore
* show log after test script
* remo all-petstore, update travis build
* update shiippable config
* add run-all-petstore
* failure test using ruby model
* use bash script for run-all-petstore
* update script permission
* fix html batch script
* fix missing doc in jaxrs spec generator
* fix missing api, model test in jaxrs spec generator
* rename licenseInfo for lumen
* remove ruby model failure (for CI test)
* fix "the input line is too long"
* update windows batch file to shorten the commands
* update appveyor config
* update shippable config
* add build script
* update batch file to remove args option
* fix window batch file for spring mvc/boot
* remove logging output to file
2016-07-11 13:54:18 +08:00
wing328
f536295c9d
Merge pull request #3331 from wing328/csharp_fix_client_model
...
[C#] to fix issues when the model name is "Client"
2016-07-10 19:01:36 +08:00
wing328
1c5210581e
fix model name "client" issue
2016-07-10 17:42:18 +08:00
wing328
0119a66479
fix https://github.com/swagger-api/swagger-codegen/pull/3313/files#r70178399
2016-07-10 16:55:36 +08:00
christian
8533ca43b4
#3285 replaced setModelNamePrefix by setModelNameSuffix
2016-07-09 23:50:23 +02:00
ant3
bf8e1ade56
Added tests to jersey2-java8 sample
...
These are the tests from the jersey2 sample - but adapted to use the
java8 time classes (rather than Joda time).
2016-07-09 11:31:25 +01:00
ant3
1ea80ab83a
Merge remote-tracking branch 'refs/remotes/swagger-api/master' into JSR310-Clients
2016-07-08 23:54:14 +01:00
ant3
836aed999e
Merge remote-tracking branch 'refs/remotes/origin/master' into JSR310-Clients
2016-07-08 23:00:04 +01:00
Christian Loitsch
999ef42e81
doc: explain how to run tests
2016-07-08 15:45:53 +02:00
Christian Loitsch
9a65a5f0db
feat: improve / fix deserialization by parsing type String
...
* added api_helper.dart for a helper function.
* defaultApiClient is now a variable instead of a static field inside
ApiClient
* a lot of functions inside ApiClient are no longer static.
* optional params are now named params (needed to introduce a
justIgnoreFlag as hack)
* queryParams now support the multi format and are therefore no longer a
Map<String, String>, but a List<QueryParam>
* renamed apiException.mustache to api_exception.mustache to conform
with other file names.
* removed unused import: 'dart:html'
* removed 'package:crypto/crypto.dart' dependency. 'dart:convert' has a
base64 converter now.
* use null-aware operator for apiClient assignment in xxxApi
constructors.
* enable testStoreApi (which returned a Future nobody waited for)
* fix types in tests. Some ids were passed as Strings instead of ints.
* adapt tests to use the optional named arguments (for optional query
args)
* generate random ids in tests. Otherwise insertion will always succeed
if the test has been called once.
2016-07-08 15:02:28 +02:00
wing328
89741c75f7
Merge pull request #3276 from zhenjun115/issue2499
...
add more tips about npe;
2016-07-08 14:01:43 +08:00
wing328
cc91231f2a
Merge pull request #3216 from qtstc/add-default-value
...
Add DefaultValue Annotation to @FormParam
2016-07-08 13:51:32 +08:00
tao
638319db09
add DefaultParam annotation
2016-07-07 11:45:22 -07:00
wing328
aaeae3f0d3
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-07-07 22:18:37 +08:00
wing328
82c3963f62
Merge branch 'maneeshsahu-master'
2016-07-07 22:17:59 +08:00
wing328
89befeb45b
fix long issue in python3
2016-07-07 22:17:27 +08:00
wing328
cb71c4ce31
Merge pull request #3313 from lunat/CSharp_documentation_with_anchor_link
...
CSharp Documentation with working anchor link within document
2016-07-07 21:15:58 +08:00
wing328
41e8273cb8
Merge branch 'master' of https://github.com/maneeshsahu/swagger-codegen into maneeshsahu-master
2016-07-07 19:13:29 +08:00
wing328
ef1666dd55
Merge pull request #3319 from wing328/word_full_java_util
...
[Java] update wording for fullJavaUtil option
2016-07-07 18:42:46 +08:00
wing328
1276941cc7
update wording for full util option
2016-07-07 18:31:18 +08:00
wing328
17793f49c8
Merge branch 'zhenjun115-issue3051'
2016-07-07 17:49:19 +08:00
wing328
2418448a3c
update swagger core to 1.5.9 for java feign client
2016-07-07 17:48:43 +08:00
wing328
6add9acfaf
Merge branch 'issue3051' of https://github.com/zhenjun115/swagger-codegen into zhenjun115-issue3051
2016-07-07 17:35:45 +08:00
wing328
56951a2df4
update wording related to config.json
2016-07-07 17:25:54 +08:00
wing328
7fbe1aee07
Merge pull request #3317 from wing328/retrofit1_wording
...
[Java][Retrofit] update wording for java retrofit1
2016-07-07 17:05:30 +08:00
wing328
9c4d77ed1a
update wording for java retrofit1
2016-07-07 16:35:59 +08:00
wing328
b0313584d1
Merge pull request #3312 from wing328/java_okthtp_default
...
[Java] Set Java default library to "okhttp-gson"
2016-07-07 16:28:09 +08:00
wing328
c5cc0bbb2a
fix issue with java feign client
2016-07-07 15:53:17 +08:00
wing328
d4f9eefa94
update java-petstore-all.sh and regenerate all java petstore sample
2016-07-07 15:53:17 +08:00
wing328
ed7344d452
minor fix to pom.xml
2016-07-07 15:53:16 +08:00
wing328
3b780e30d8
change java default lib to okhttp-gson
2016-07-07 15:53:16 +08:00
wing328
d402f35711
Merge pull request #3163 from DanGe42/master
...
Improve error message for connection failures
2016-07-07 14:29:27 +08:00
wing328
d621021fb1
Merge branch 'vovan--issue-3193'
2016-07-07 13:51:17 +08:00
wing328
612afe1809
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-07-07 11:38:57 +08:00
wing328
61b2d21415
Merge branch 'jencodingatwork-master'
2016-07-07 11:38:35 +08:00
wing328
2d24e9971c
update jaxrs sample
2016-07-07 11:38:07 +08:00
wing328
4d76dd24eb
Merge branch 'master' of https://github.com/jencodingatwork/swagger-codegen into jencodingatwork-master
...
Conflicts:
modules/swagger-codegen/src/main/resources/JavaJaxRS/formParams.mustache
2016-07-07 11:34:36 +08:00
wing328
e1fead8ee5
update spring petstore sample
2016-07-07 11:32:05 +08:00
wing328
d70989c2b3
Merge branch 'issue-3193' of https://github.com/vovan-/swagger-codegen into vovan--issue-3193
2016-07-07 11:06:16 +08:00
wing328
9830e82add
Merge pull request #3294 from cbornet/spring_cloud
...
[Spring] Add a generator for spring cloud feign clients
2016-07-07 10:59:56 +08:00
wing328
b997dd15ad
Merge pull request #3306 from jimschubert/aspnet5_.NET_Core_1.0
...
[aspnet5] update to asp.net core 1.0
2016-07-07 10:59:01 +08:00
wing328
b97cedbaa7
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-07-07 10:52:30 +08:00
wing328
bff9fb721f
Merge branch 'qtstc-use-base-name'
2016-07-07 10:52:07 +08:00
wing328
1f0f08f886
update jaxrs jersey1 sample
2016-07-07 10:51:42 +08:00
wing328
8f1cb33641
Merge pull request #3314 from reydelo/patch-1
...
Fix link typo in README.md
2016-07-07 10:43:30 +08:00
Reyna DeLoge
71289a1b71
Update README.md
...
Fix link!
2016-07-06 15:00:00 -07:00
Daniel Ge
b16eda17e8
Improve error message for connection failures
...
Previous ApiException message would simply print out the result of the
`curl_getinfo($curl)` call, which might be useful only if the developer
actually wanted very low-level information from curl about why a call
failed. The new message should print out a higher-level but more
informative, human-readable message. If necessary for debugging, the
ApiException's responseObject is set to the `curl_getinfo($curl)`.
2016-07-06 12:09:41 -07:00
Daniel Ge
20448dd9e3
Bump and regenerate PHP sample
2016-07-06 12:09:11 -07:00
tao
62d06f75b4
use baseName instead of paramName
2016-07-06 10:41:57 -07:00
Christian Loitsch
0466405fa5
fix: verification of requiredParams now works
...
other features:
- remove crypto dependency. base64 encoding is now part of
dart.convert.
- port Java query param handling to dart. → allows us to use 'multi'
collectionFormat for queryParams
- use async await where possible.
2016-07-06 17:45:39 +02:00
lunat
5648c5af88
CSharp Documentation with working anchor link within document
2016-07-06 16:26:59 +02:00
cbornet
e2c7dc0147
don't repackage as a spring boot app
2016-07-06 15:29:54 +02:00
vovan-
01e06c01eb
Fixed issue [Spring] Add support for the contextPath in Spring-boot gen #3193
2016-07-06 14:21:13 +03:00
wing328
d213dcd418
Merge pull request #3309 from wing328/python_better_test
...
[Python] improve test and better wording for incorrect enum value
2016-07-06 18:31:35 +08:00
cbornet
df7b694c4b
change spring-cloud petstore artifact-id
2016-07-06 11:51:56 +02:00
cbornet
57f518fe93
change spring-mvc petstore artifact-id
2016-07-06 11:47:48 +02:00
cbornet
5f15121fc2
add springboot and spring-cloud to verified samples
2016-07-06 11:26:16 +02:00
wing328
f7b223e1a9
fix test cases in python
2016-07-06 16:34:09 +08:00
cbornet
412022b852
add petstore samples and fix some issues
2016-07-06 10:30:10 +02:00
cbornet
a761682115
add a generator for spring cloud feign
2016-07-06 10:30:09 +02:00
wing328
3a3461f961
Merge pull request #3299 from wing328/android_volley_license
...
[Android][Volley] add Apache v2 license to Android Volley API client
2016-07-06 11:27:58 +08:00
wing328
c1d835dcfc
Merge pull request #3287 from lrimkus/patch-1
...
Python vnd content-type header support
2016-07-06 11:27:20 +08:00
Jim Schubert
4d5905c736
[aspnet5] Regenerate sample server
2016-07-05 22:22:20 -04:00
Jim Schubert
ae73bb7553
[aspnet5] Update to ASP.NET Core 1.0.0
...
This migrates the server generator for aspnet5 from 1.0.0-rc1-final to
1.0.0.
Changes are fairly significant in how Kestrel hosts the application, as
well as how Swagger finds XML comments for documentation. Changes are
only related to hosting, docker, and configuration.
2016-07-05 22:17:14 -04:00
jencodingatwork
c3a9d6c9c3
Modified JavaJaxrs resources to fix duplicated variable names. See issue
...
#3300 for full description.
2016-07-05 12:36:08 -04:00
laurynas
fa9cb66d75
./bin/python-petstore.sh after enhancement of content-type header parsing for vnd headers
...
note: looks like this was not run for some time, so it has changes from other commits too
2016-07-05 11:34:27 -04:00
laurynas
560f50ab9a
case insensitive search for "json" in content-type headers
2016-07-05 11:31:18 -04:00
wing328
fdde4baa9b
Merge pull request #3298 from wing328/java_add_license
...
[Java][Jersey1] add license header to Java default API client
2016-07-05 22:41:04 +08:00
wing328
6b4b2025ee
add license to android volley
2016-07-05 22:39:38 +08:00
wing328
b699fe57fc
add license header to java default client
2016-07-05 22:16:53 +08:00
wing328
7c05b902ac
Merge pull request #3293 from wing328/retrofit2_doc_warning
...
[Java][Retrofit2] remove javadoc, pom.xml warnings
2016-07-05 21:51:30 +08:00
lunat
43d1c5bffc
CSharp client header problem
...
CSharp client may cause an error adding an header because the header
list is static.
Added a check and a function tu set up the ApiKey
2016-07-05 14:42:43 +02:00
wing328
430f49aae6
fix javadoc error
2016-07-05 20:38:04 +08:00
wing328
5e6a6de351
fix javadoc error
2016-07-05 19:38:33 +08:00
wing328
9b2634787d
Merge pull request #3292 from RowanJKWalker/patch-1
...
Fix typo in README.md
2016-07-05 18:27:30 +08:00
wing328
5608c73938
update pom to cover gralde, sbt, javadoc test
2016-07-05 17:59:13 +08:00
wing328
dfc05f4bba
fix doc warning in java retrofit2 client
2016-07-05 17:49:50 +08:00
Rowan J.K. Walker
70376c8e63
Fix typo in README.md
...
On line 379 -DapiTest should be -DapiTests and -DmodelTest should be -DmodelTests.
2016-07-05 21:48:25 +12:00
wing328
907361cded
add merge commit message
2016-07-05 07:46:42 +08:00
Laurynas
23b81324d1
Python vnd content-type header support
...
Adding vendor header support like : "Content-Type: application/vnd.api+json" and "Content-Type: application/vnd.api+json; version=1"
2016-07-04 15:27:54 -04:00
Laurynas
df695ee2c4
Python vnd content-type header support
...
Adding vendor header support like : "Content-Type: application/vnd.api+json" and "Content-Type: application/vnd.api+json; version=1"
2016-07-04 15:22:54 -04:00
christian
0ada53435c
#3284 : Made modelNamePrefix and -Suffix available through maven
2016-07-04 19:51:38 +02:00
wing328
873e3974ed
add badge for windows test
2016-07-05 00:29:42 +08:00
wing328
4f69a2d788
update wording in overview
2016-07-05 00:03:08 +08:00
wing328
5da8b0cef3
Merge pull request #3275 from wing328/windows_ci
...
Add CI tests for Windows environment
2016-07-04 23:58:02 +08:00
wing328
6d6cfbfd5d
Merge pull request #3283 from wing328/ruby_verify_host
...
[Ruby] add option to set SSL/TLS host option in ruby client
2016-07-04 22:31:03 +08:00
wing328
785d1a5648
add option to set ssl host setting in ruby client
2016-07-04 22:13:25 +08:00
wing328
7de7c6de43
Merge pull request #3282 from wing328/objc_fix_typo
...
[ObjC] fix typo in readme doc
2016-07-03 22:16:31 +08:00
wing328
e98928a0a5
Merge pull request #3186 from ant3/JSR310-Clients
...
[Java] Add support for JSR310 in Jersey Clients (v3)
2016-07-03 21:56:13 +08:00
wing328
3f6f4bfd86
fix objc readme doc
2016-07-03 21:49:33 +08:00
wing328
82ee6bbb48
Merge pull request #3278 from wing328/escape_unsafe_2
...
Better handling of multi-line comments for all generators
2016-07-03 00:20:39 +08:00
wing328
8a3c2e754b
fix python flask to handle comment block
2016-07-02 17:14:13 +08:00
wing328
dd53f8478d
Merge branch 'arturdzm-master'
2016-07-02 17:00:43 +08:00
wing328
e2e0af1e6c
Merge branch 'master' of https://github.com/arturdzm/swagger-codegen into arturdzm-master
...
Conflicts:
README.md
2016-07-02 17:00:21 +08:00
wing328
2464633368
better handling of multiline comments for all lang
2016-07-02 16:25:55 +08:00
zhenjun115
4a71a4c290
add more tips about npe;
2016-07-02 16:16:50 +08:00
wing328
e013747535
add comments
2016-07-02 15:10:38 +08:00
wing328
f8362a56b3
failure test
2016-07-02 15:01:45 +08:00
wing328
4401e1bf8e
build test
2016-07-02 14:32:41 +08:00
zhenjun115
0117cbb29a
update the dependencies for Java Feign API clients to the latest versions;
2016-07-02 12:14:31 +08:00
wing328
3c9b172996
Merge pull request #3274 from wing328/fix_lumne
...
Remove security test from petstore-with-fake-endpoints-models-for-testing
2016-07-02 11:48:45 +08:00
wing328
393b44dcd2
remove security test from petstore-with-fake-endpoints-models-for-testing
2016-07-02 11:32:25 +08:00
wing328
691957875e
Merge pull request #3185 from cbornet/common_jersey
...
[Jax-rs][jersey] Mutualize jersey 1 and jersey 2 templates
2016-07-02 11:19:40 +08:00
wing328
3ff5dce25b
Merge pull request #3255 from arnested/php-security-tests-pom-xml
...
Add pom.xml for executing PHP Swagger Petstore Security Client tests
2016-07-02 11:03:13 +08:00
wing328
386d41db7f
fix duplciated artifact id
2016-07-01 21:56:11 +08:00
Jason Gavris
693c73171e
[Swift] Use ISO-8601 date format
...
- Also fix up Enum parameter generation for formParams by extracting _param partial
2016-07-01 09:55:32 -04:00
wing328
f5d3b65252
Merge branch 'chameleon82-fix_resteasy_gradle_definition'
2016-07-01 21:41:30 +08:00
wing328
c9d2bb8a96
add test for jaxrs resteasy joda
2016-07-01 21:40:34 +08:00
wing328
f18f81cce9
Merge branch 'fix_resteasy_gradle_definition' of https://github.com/chameleon82/swagger-codegen into chameleon82-fix_resteasy_gradle_definition
2016-07-01 19:54:43 +08:00
wing328
33e6be3ccd
Merge pull request #3268 from DenisBiondic/patch-1
...
Added my company (Conplement)
2016-07-01 19:45:51 +08:00
DenisBiondic
f69f5de0bd
Added my company (Conplement)
2016-07-01 12:32:08 +02:00
wing328
f8bf4387c3
Merge pull request #3252 from alexralko/master
...
add getHasExamples() method to support {{hasExamples}} tag in templates
2016-07-01 17:43:07 +08:00
wing328
33b4afc098
Merge pull request #3267 from wing328/swift_npe
...
[Swift] fix NPE for swift API client due to array of enum
2016-07-01 17:37:48 +08:00
wing328
8c754d234d
fix npe for swift due to array of enum
2016-07-01 16:58:18 +08:00
wing328
a18fb4ec8b
Merge pull request #3236 from cliffano/master
...
Disable path HTML-escaping in Ruby api template
2016-07-01 14:45:01 +08:00
wing328
021f554a6b
Merge pull request #3260 from gokl/format-field
...
Issue 3257: Add format field to CodegenParameter and CodegenProperty.…
2016-07-01 14:05:06 +08:00
Cliffano Subagio
6de6e93bab
Move generated ruby client test to java.io.swagger.codegen.ruby package.
2016-07-01 14:41:37 +10:00
gokl
1598fb2657
Issue 3257: Add format field to CodegenParameter and CodegenProperty. Add format to static html template.
2016-06-30 12:10:10 +02:00
wing328
45f13b28a0
Merge pull request #3258 from wing328/ruby_fix_test_case
...
[Ruby] minor update to ruby test cases
2016-06-30 16:48:35 +08:00
wing328
be4f4eb022
Merge pull request #3248 from cbornet/retrofit2_interceptor_issue
...
Use okttp builder instead of instance in retrofit2
2016-06-30 16:45:17 +08:00
wing328
7c5b583751
Merge pull request #3256 from arnested/php-expose-path-to-callapi
...
[PHP] Add path without expanded path parameters to callApi
2016-06-30 16:37:09 +08:00
wing328
4a3d9358ee
Merge pull request #3165 from abcsun/lumen
...
[PHP Lumen] sort the endpoints in ascending to avoid the route priority issure
2016-06-30 15:51:32 +08:00
wing328
c2f0397d5c
minor fix to ruby test cases
2016-06-30 15:40:35 +08:00
Arne Jørgensen
a4ec29000a
[PHP] Regenerate petstore samples
2016-06-30 07:12:28 +02:00
Arne Jørgensen
7d6ac31619
[PHP] Add path without expanded path parameters to callApi
...
In continuation of #3117 it could be useful to know the path of an
endpoint (without path parameters expanded) in the `callApi` method of
`ApiClient`.
This is for use cases where you would create a derived class from
`ApiClient` for manipulating responses from the server before further
processing (#3117 ) or add extended logging of the API calls.
2016-06-30 07:12:28 +02:00
wing328
75bd838d23
Merge pull request #3254 from delenius/jsdoc-paramtypes2
...
Generate type annotations in JS model constructors
2016-06-30 11:33:54 +08:00
wing328
9873953bdf
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-06-30 11:26:23 +08:00
wing328
183af97748
Merge branch 'chadrosen-update-ruby-sample'
2016-06-30 11:20:50 +08:00
wing328
3b022496cd
Merge branch 'update-ruby-sample' of https://github.com/chadrosen/swagger-codegen into chadrosen-update-ruby-sample
...
Conflicts:
samples/client/petstore/ruby/README.md
samples/client/petstore/ruby/docs/ArrayTest.md
samples/client/petstore/ruby/lib/petstore/models/array_test.rb
2016-06-30 11:20:28 +08:00
Cliffano Subagio
8bacbfb691
Only use Content-Disposition's filename as prefix when it exists.
2016-06-30 09:42:25 +10:00
Arne Jørgensen
52952e4ace
Add pom.xml for executing PHP Swagger Petstore Security Client tests
...
Following #3224 this adds a `pom.xml` for executing `mvn
integration-test` on the PHP Swagger Petstore Security Client tests.
The `pom.xml` is identical to the one in
`samples/client/petstore/php/SwaggerClient-php/pom.xml` with only name
and artifactId changed.
2016-06-29 22:56:27 +02:00
delenius
8a8e9432e1
Generate type annotations in JS model constructors
...
Fixes #3207
2016-06-29 13:53:33 -07:00
Chad Rosen
4a4151a751
update ruby samples by running the bin/ruby-petstore.sh
2016-06-29 13:19:37 -07:00
wing328
40e497088a
Merge pull request #3251 from wing328/fix_slim_path
...
[PHP][Slim] fix slim path in Windows
2016-06-30 00:55:14 +08:00
wing328
9ee10e2397
Merge pull request #3249 from wing328/csharp_security_fix
...
[C#] better code injection handling for C# API client
2016-06-29 23:59:24 +08:00
Alex Ralko
a862601482
add getHasExamples() method to support {{hasExamples}} tag in templates
2016-06-29 18:56:45 +03:00
wing328
cb53ea114a
Merge pull request #3246 from wing328/security_fix_javascript_closure
...
[Javascript][Closure] better code injection handling for Javascript (closure)API client
2016-06-29 23:25:04 +08:00
wing328
de6b3cea70
fix slim windows path
2016-06-29 23:24:27 +08:00
cbornet
f54b505704
use okttp builder instead of instance in retrofit2
...
Fix #3188
2016-06-29 17:07:39 +02:00
wing328
7951c06f55
unescape basepath in aspnet
2016-06-29 22:54:16 +08:00
wing328
d79274d548
better code injection handling for c#
2016-06-29 22:52:12 +08:00
wing328
90857e8988
Merge pull request #3245 from wing328/security_fix_javascript
...
[Javascript] better code injection handling for Javascript API client
2016-06-29 22:30:03 +08:00
wing328
8e43f7c2f6
add new JS files
2016-06-29 22:09:27 +08:00
wing328
f89333c8c3
better code injection handling for javascript closure client
2016-06-29 22:07:14 +08:00
wing328
1e596654cd
remove node_modeuls under petstore security test for js
2016-06-29 21:47:41 +08:00
wing328
73f88f0bff
update js promise petstore client
2016-06-29 21:44:13 +08:00
wing328
73e6626e15
comment out array of enum test case, fix JS enum partial template
2016-06-29 21:40:22 +08:00
wing328
aec2f4e27c
better code injection handling for js
2016-06-29 21:18:35 +08:00
wing328
acc28495e8
Merge pull request #3244 from wing328/java_fix_2d_array_enum
...
[Java] better default value for variable declaration (with inner enum type)
2016-06-29 19:39:01 +08:00
wing328
aaf7b99220
comment out test case for map of map of enum as many lang don't support
2016-06-29 17:46:45 +08:00
wing328
fd72409e3b
better default value for enum variable declaration
2016-06-29 17:30:33 +08:00
wing328
c5724a46d6
Merge pull request #3237 from wing328/java-security-fix
...
[Java] Better code injection handling for Java-related generators
2016-06-29 15:25:10 +08:00
wing328
cbaa577c64
add more info about vendor extensions
2016-06-29 14:32:23 +08:00
wing328
926e017402
add more info about updating petstore sample
2016-06-29 14:30:29 +08:00
wing328
f88b941d96
fix java okhttp sample
2016-06-29 11:49:40 +08:00
Cliffano Subagio
b6eb81cbef
Move path unescaping from DefaultGenerator to Ruby api template.
2016-06-29 09:46:41 +10:00
wing328
77c4164b3c
better code injection handling for java
2016-06-29 02:00:43 +08:00
wing328
48bdae8fe7
Merge pull request #3235 from cbornet/common_java_models
...
Mutualize jackson and gson models in java clients
2016-06-29 00:59:38 +08:00
cbornet
ac23b10f7a
remove dead code
2016-06-28 18:06:33 +02:00
cbornet
8d8858cc51
mutualize jackson and gson models in java clients
...
See #2182
2016-06-28 18:00:34 +02:00
Cliffano Subagio
344e1b12e4
Disable template data HTML-escaping on generated code files.
2016-06-29 01:57:08 +10:00
wing328
07a852fe78
Merge pull request #3231 from wing328/security_fix_ruby
...
[Ruby] better code injection handling for Ruby API client
2016-06-28 20:09:55 +08:00
wing328
37e1de6d72
Merge pull request #3230 from wing328/security_fix_python
...
[Python] better code injection handling for Python
2016-06-28 20:09:40 +08:00
wing328
f1f01041ed
update ruby sample
2016-06-28 17:36:58 +08:00
wing328
9e216c0ca2
better code injection handling for ruby
2016-06-28 17:36:00 +08:00
wing328
56b2b4f2eb
Merge pull request #3229 from wing328/security_fix_perl
...
[Perl] better code injection handling for perl client
2016-06-28 17:35:29 +08:00
wing328
3a41da42f0
better code injection handling for python
2016-06-28 17:07:50 +08:00
wing328
02864ed31a
better code injectino handling for perl client
2016-06-28 16:37:33 +08:00
wing328
8dc22d2bda
Merge pull request #3228 from cliffano/master
...
[Ruby] Add params_encoding configuration to be passed to api_client's request options
2016-06-28 15:31:33 +08:00
wing328
a71c072609
Merge pull request #3224 from wing328/security_fix
...
[PHP] Better code injection handling for PHP API client
2016-06-28 15:19:41 +08:00
wing328
41636ae149
revert petstore-with-fake-endpoints-models-for-testing.yaml
2016-06-28 14:38:50 +08:00
wing328
133c3abc57
add warning about code injection
2016-06-28 13:22:48 +08:00
Cliffano Subagio
af77d94750
[Ruby] Add params_encoding configuration to be passed to api_client's request options.
2016-06-28 15:22:34 +10:00
wing328
174222390a
Merge pull request #3190 from thebignet/asyncCompletableFuture
...
using CompletableFuture instead of Callable for asynchronous controller in Spring Boot
2016-06-28 12:34:23 +08:00
wing328
ec2abe78e3
apply security fix to php lumne, silex, slim
2016-06-28 12:21:41 +08:00
wing328
f38c8373cc
create new spec for security testing
2016-06-28 11:48:52 +08:00
wing328
12cd0c55a0
Merge pull request #3226 from sdavis-r7/patch-1
...
Update README.md
2016-06-28 09:27:02 +08:00
Scott Lee Davis
435b4d9be9
Update README.md
2016-06-27 14:22:38 -07:00
wing328
ebd6ffaa4c
better handle of single quote to avoid code injectio in php
2016-06-28 00:54:06 +08:00
wing328
1638adb79e
avoid code injection in php api client
2016-06-27 21:51:27 +08:00
wing328
31092585f0
Merge branch 'sdavis-r7-master'
2016-06-27 16:20:58 +08:00
wing328
f482132c66
Merge branch 'master' of https://github.com/sdavis-r7/swagger-codegen into sdavis-r7-master
...
Conflicts:
modules/swagger-codegen/src/main/resources/php/model.mustache
modules/swagger-codegen/src/main/resources/php/model_generic.mustache
2016-06-27 16:20:44 +08:00
wing328
5a143ec485
Merge pull request #3220 from pjmolina/nodejs-update-sample
...
Update petstore sample for changes on PR #3212
2016-06-27 14:59:24 +08:00
wing328
e26416b351
Merge pull request #3073 from bitcloud/fix-datetime-example
...
fix date format in example generator
2016-06-27 14:39:03 +08:00
Pedro J. Molina
4eb1565fad
Update petstore sample for changes on PR #3212
2016-06-27 08:10:01 +02:00
wing328
9ec61ba887
Merge pull request #3189 from thebignet/tagName
...
add tags with API name to java @Api annotation
2016-06-27 13:54:06 +08:00
wing328
bee05f0086
Merge pull request #3219 from wing328/android_gradle_update
...
[Android][Volley] add http client dependency to android volley
2016-06-27 11:59:42 +08:00
wing328
b19527d395
Merge pull request #3158 from moanrose/Issue#3096
...
Changed check for required parameter to check for null or undefined
2016-06-27 11:45:46 +08:00
wing328
7f5b391f80
run ruby test first
2016-06-27 11:27:30 +08:00
wing328
95eb06e2e9
add http client dependency to android volley
2016-06-27 11:25:15 +08:00
wing328
f3bb4ea872
Merge pull request #3180 from cbornet/feign_java8
...
|Feign] Support jsr310 dates in feign client
2016-06-27 10:47:13 +08:00
wing328
5008de5f83
Merge pull request #3181 from cbornet/retrofit2_java8
...
[Retrofit] Add support for jsr310 dates to retrofit2 client
2016-06-27 10:01:36 +08:00
wing328
f707675e48
Merge pull request #3217 from wing328/php_enum_class
...
[PHP] add enum class support, merge test cases
2016-06-27 09:53:31 +08:00
wing328
81339ad98f
add editor.swagger.io
2016-06-27 09:50:54 +08:00
wing328
294d914a17
Merge pull request #3218 from wing328/bug/fix_3215
...
[Ruby ] To fix #3215 and enum array issue in parameter check
2016-06-27 09:34:12 +08:00
wing328
e8b22a771b
add http://kuroiwebdesign.com/
2016-06-26 23:34:54 +08:00
wing328
f04df9a163
fix #3215 and enum array issue in parameter check
2016-06-26 19:17:25 +08:00
wing328
74239c422b
add enum class support, merged test cases for php
2016-06-26 17:41:29 +08:00
Jean Detoeuf
4183bfc90c
updated Java8 spring sample with CompletableFuture feature #3190
2016-06-26 11:25:54 +02:00
wing328
d15c504fc9
Merge pull request #3214 from aranyia/patch-1
...
Added W.UP to companies using Swagger
2016-06-25 13:19:02 +08:00
aranyia
6f674e3a7f
Added W.UP to companies using Swagger
...
W.UP is using Swagger codegen extensively for multiple projects on the server-side and mobile clients.
2016-06-25 00:45:17 +02:00
wing328
89ab384d75
Merge pull request #3212 from pjmolina/master
...
nodejs-server: Added npm start scripts on package.json + update README
2016-06-25 00:17:44 +08:00
wing328
2dbbff6ddc
Merge pull request #3211 from petercoles/patch-1
...
Minor typos in docs
2016-06-24 18:27:17 +08:00
Peter Coles
add63009bf
Minor typos in docs
2016-06-24 09:48:24 +01:00
Pedro J. Molina
961cbb531e
nodejs-server: Added npm start scripts on package.json + update README
2016-06-24 09:13:25 +02:00
wing328
5095fe1018
Merge pull request #3199 from wing328/better_param_enum
...
[C#] Add array and map of enum support for C#
2016-06-23 23:49:49 +08:00
wing328
5047ab3b5c
Merge pull request #3182 from cbornet/okhttp_java8
...
[Okhttp-gson] Add support for jsr310 dates to okhttp-gson client
2016-06-23 22:12:29 +08:00
Scott Davis
80666394f6
CVE-2016-5641
2016-06-23 06:06:21 -07:00
wing328
244831b29f
add c++
2016-06-23 18:08:56 +08:00
wing328
908243b90d
fix docstring
2016-06-23 12:24:49 +08:00
wing328
c15992b420
add array and map of enum support for C#
2016-06-23 12:14:32 +08:00
Jean Detoeuf
2b22efcea9
using CompletableFuture instead of Callable for asynchronous controller
2016-06-22 09:19:21 +02:00
wing328
eda6d35b9f
add nancyfx template owner
2016-06-22 10:33:31 +08:00
wing328
e0d030d33a
Merge pull request #3139 from stunney/master
...
Issue #3138
2016-06-22 10:06:37 +08:00
Alex
0506b4ab76
Fix joda dependency in resteasy gradle file
2016-06-22 01:10:48 +06:00
Jean Detoeuf
1b71076c2d
add tags with API name to java @Api annotation
2016-06-21 18:08:28 +02:00
wing328
61015488d2
Merge branch 'FinderSystems-nancyfx-codegen'
2016-06-21 23:48:58 +08:00
wing328
c2f5d83d06
Merge branch 'nancyfx-codegen' of https://github.com/FinderSystems/swagger-codegen into FinderSystems-nancyfx-codegen
...
Conflicts:
modules/swagger-codegen/src/main/java/io/swagger/codegen/CodegenModel.java
2016-06-21 23:47:49 +08:00
wing328
f9cf78e03d
Merge pull request #3133 from cbornet/spring_unite
...
[Spring] put spring-mvc and spring-boot under the same language gen
2016-06-21 22:51:09 +08:00
wing328
7b51522392
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-06-21 22:27:56 +08:00
wing328
dfce0dad2c
Merge branch 'qtstc-master'
2016-06-21 22:24:11 +08:00
wing328
321dc0d41c
add test case for number (decimal)
2016-06-21 22:22:21 +08:00
cbornet
426cc6b6b4
better enums and dependency update
2016-06-21 16:19:37 +02:00
wing328
fa3aacf4aa
Merge branch 'master' of https://github.com/qtstc/swagger-codegen into qtstc-master
2016-06-21 22:13:48 +08:00
wing328
0f32837383
Merge pull request #3187 from swagger-api/model_propert_same_name
...
[C#] Fix model with only read-only attributes and model & property using the same name
2016-06-21 21:59:36 +08:00
wing328
be3eec1e28
Merge pull request #3169 from RowanJKWalker/feature/issue-3168
...
Issue-3168: [csharp] Allow additional-properties to set Assembly Info #3168
2016-06-21 20:46:00 +08:00
wing328
3e30291865
fix #3184
2016-06-21 16:16:05 +08:00
cbornet
10d3716cd1
fix allowableValues test
2016-06-21 09:20:44 +02:00
wing328
d7bfe5495e
add wealthfront, gravitate solution, Mporium
2016-06-21 10:26:28 +08:00
ant3
8b60a1e144
Merge remote-tracking branch 'refs/remotes/swagger-api/master' into JSR310-Clients
2016-06-21 00:17:01 +01:00
ant3
274c3150a7
Rebuilt jersey2 client sample.
2016-06-21 00:16:39 +01:00
ant3
b7e4be77c6
Rebuilt jersey1 client sample
2016-06-21 00:16:17 +01:00
ant3
b107b4693d
Rebuilt jersey2-java8 sample
2016-06-21 00:15:34 +01:00
ant3
4ef10aa5ae
Upgraded dependency versions
...
Also switched from using JSR310Module (Deprecated) to JavaTimeModule.
2016-06-21 00:14:10 +01:00
ant3
e40ad8ce3c
Added sample build for Java8 Jersey2 client
2016-06-20 23:10:01 +01:00
cbornet
d4150d9a02
remove jersey2 sample as its now the jax-rs default
2016-06-20 23:48:42 +02:00
cbornet
5a489f334e
mutualize jersey 1 and 2 server templates
2016-06-20 22:59:32 +02:00
cbornet
d29a5537bc
add support for jsr310 dates to okhttp-gson client
2016-06-20 16:50:08 +02:00
wing328
d7ac136503
Merge pull request #3179 from areiter/dart-missing-dartson-property
...
Dart - Java compatibility
2016-06-20 22:46:43 +08:00
wing328
450eb844e9
add guohuang as go server owner
2016-06-20 22:42:24 +08:00
Marcin Stefaniuk
5b7ed41b1b
Extended list of generators.
2016-06-20 15:41:53 +02:00
cbornet
027ff93ae4
rename and remove dead code
2016-06-20 15:16:13 +02:00
cbornet
1062fa467e
fix issues
2016-06-20 15:13:17 +02:00
cbornet
ec6a9257e2
put spring-mvc and spring-boot under the same language gen
2016-06-20 15:12:03 +02:00
cbornet
48564079be
add support for jsr310 dates to retrofit2 client
...
See #2874
2016-06-20 14:32:18 +02:00
Andreas Reiter
9ec0e545c8
Updated dart petstore
2016-06-20 13:25:54 +02:00
Rowan Walker
6ca58cfaa4
Issue-3168: Adding a DESC for each of the new CodegenConstants introduced.
2016-06-20 23:12:05 +12:00
cbornet
3e9064b81e
support jsr310 dates in feign client
...
See #2874
2016-06-20 13:04:44 +02:00
Marcin Stefaniuk
897cd5c2ef
Updated readme section with enlisted companies using Swagger Codegen.
2016-06-20 11:44:25 +02:00
Andreas Reiter
dee8a7b924
Add dartson-@Property to enable out of the box compatibility with code generated for e.g. Java
2016-06-20 11:16:51 +02:00
wing328
79dc34266f
Merge pull request #3142 from cbornet/abstract_java
...
[Java] Refactor java codegen classes
2016-06-20 17:11:46 +08:00
cbornet
6c5def6936
fix missing java client library files
2016-06-20 10:32:02 +02:00
cbornet
d4c961798e
fix tests
2016-06-20 10:32:01 +02:00
cbornet
7aac639aad
refactor java codegen classes
2016-06-20 10:31:58 +02:00
Marcin Stefaniuk
0d9a490c17
Petstore sample for NancyFX.
2016-06-20 10:13:25 +02:00
wing328
07ce036a9a
Merge pull request #3177 from wing328/fix_java_class_property
...
[Java] fix property name "class"
2016-06-20 15:30:25 +08:00
wing328
8283b701e8
fix java property with the name "class"
2016-06-20 14:51:17 +08:00
wing328
514255c8b7
clean up toc
2016-06-20 14:16:22 +08:00
wing328
6fd1912b92
Merge pull request #3151 from mateuszmackowiak/objc/core_data
...
[Objc] Moved default petstore demo sample to default folder and created a new with core data sample
2016-06-20 14:02:34 +08:00
wing328
d67e4d73cc
Merge branch 'zhenjun115-new_python_with_http_info'
2016-06-20 13:12:35 +08:00
tao
90d61578d0
remove reformat
2016-06-19 21:39:06 -07:00
tao
6ac27fcafc
revert changes to imports
2016-06-19 21:36:08 -07:00
tao
4e45ef954d
better tests
2016-06-19 21:29:14 -07:00
wing328
50ef914db0
update test script for python
2016-06-20 12:24:53 +08:00
tao
a4eca5b05c
add import for types used by inner CodegenProperties
2016-06-19 21:19:21 -07:00
tao
bf9d015fc7
failing test
2016-06-19 20:58:47 -07:00
wing328
88ce868bd5
Merge branch 'new_python_with_http_info' of https://github.com/zhenjun115/swagger-codegen into zhenjun115-new_python_with_http_info
...
Conflicts:
modules/swagger-codegen/src/main/resources/python/api.mustache
samples/client/petstore/python/swagger_client/__init__.py
samples/client/petstore/python/swagger_client/api_client.py
samples/client/petstore/python/swagger_client/apis/pet_api.py
samples/client/petstore/python/swagger_client/apis/store_api.py
samples/client/petstore/python/swagger_client/apis/user_api.py
samples/client/petstore/python/swagger_client/models/__init__.py
samples/client/petstore/python/swagger_client/models/name.py
2016-06-20 11:58:35 +08:00
ant3
4c1c009bd1
Merge remote-tracking branch 'refs/remotes/swagger-api/master'
2016-06-20 00:25:01 +01:00
ant3
7e867dc8ff
Merge remote-tracking branch 'refs/remotes/swagger-api/master' into JSR310-Clients
2016-06-19 22:40:27 +01:00
ant3
5e3a877033
Reformatted templating tags
...
Turns out I didn't need to compact newlines so I have reverted to a more
readable format for the templates.
2016-06-19 22:39:00 +01:00
ant3
cf42b4166f
Fixed name of JSR310 module
...
Silly error, which resulted in code that didn't compile :-(.
2016-06-19 21:10:59 +01:00
wing328
b8c0569feb
Merge pull request #3172 from wing328/ts_gitignore
...
[Typescript] add .gitignore and license header
2016-06-19 23:14:18 +08:00
zhenjun115
8180a46a35
add test case for pet api method with http info returned;
2016-06-19 21:44:12 +08:00
wing328
fdff69de31
Merge pull request #3113 from taf2/patch-1
...
it's the future
2016-06-19 17:24:44 +08:00
zhenjun115
86c8647ace
add async method test case for pet api;
2016-06-19 12:31:10 +08:00
Rowan Walker
3606870f4b
Issue-3168
...
[csharp] Enabling Assembly Info to be set by the following command line's additional-properties:
- packageTitle
- packageProductName
- packageDescription
- packageCompany
- packageCopyright
2016-06-19 16:21:51 +12:00
wing328
409d5dabca
add license header to typescript API client
2016-06-19 12:03:50 +08:00
wing328
41a615e4eb
add gitignore to TS API client
2016-06-19 11:45:51 +08:00
wing328
977ea6e9e9
Merge pull request #3167 from wing328/cpprest_license
...
[C++][cpprest] add license header to cpprest files
2016-06-18 18:52:20 +08:00
wing328
2b7288d525
add license to cpprest files
2016-06-18 18:09:19 +08:00
wing328
77d0e121bf
Merge pull request #3065 from ant3/JSR310-Clients
...
[Java] Add support for JSR310 in Jersey2 Clients
2016-06-18 17:36:58 +08:00
abcsun
cff573f3dd
modify the file path with File.separatorChar base on os
2016-06-18 17:24:06 +08:00
wing328
cc5668c825
Merge pull request #3108 from JasonQuinn/master
...
Adding the ability to get and set the httpClient for jersey2
2016-06-18 16:56:01 +08:00
wing328
f4e90d50a0
Merge pull request #3166 from wing328/scala_license
...
[Scala] Add Apache2 license to auto-generated scala files
2016-06-18 16:10:49 +08:00
wing328
4aa9f1b5fa
add license header to scala files
2016-06-18 15:21:55 +08:00
wing328
6af40d6667
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-06-18 15:10:27 +08:00
wing328
517a189712
Merge pull request #3149 from jimschubert/scala_client_refactor
...
[scala] Add SBT buid support for scala client
2016-06-18 15:10:04 +08:00
wing328
2e8737908b
Merge branch 'jimschubert-scala_client_refactor'
2016-06-18 15:09:18 +08:00
wing328
04748484ba
remove println from scala test
2016-06-18 15:08:55 +08:00
wing328
04b15bab15
Merge branch 'scala_client_refactor' of https://github.com/jimschubert/swagger-codegen into jimschubert-scala_client_refactor
2016-06-18 14:54:56 +08:00
wing328
fe06fe30e0
Merge pull request #3156 from ferristseng/master
...
Fix result not defined error in javascript ApiClient
2016-06-18 14:53:29 +08:00
abcsun
3cb178cd14
sort the endpoints in ascending to avoid the route priority issure
2016-06-18 10:16:46 +08:00
ant3
c1a5839d44
Merge remote-tracking branch 'refs/remotes/swagger-api/master' into JSR310-Clients
2016-06-17 21:25:35 +01:00
Ferris Tseng
c30c586f94
update petstore sample
2016-06-17 15:46:36 -04:00
Ferris Tseng
3852736b40
fix result not defined error in js client
2016-06-17 10:47:48 -04:00
Jakub Malek
6404d47f97
NancyFx:
...
- Fixed typo
2016-06-17 15:35:04 +02:00
Jakub Malek
82d290eeae
Merge with upstream
2016-06-17 15:22:17 +02:00
wing328
cc5e79cd0d
move server stub doc to wiki
2016-06-17 19:36:24 +08:00
moanrose
a9bd4f2b42
Changed check for required parameter to check for null or undefined
2016-06-17 13:10:45 +02:00
wing328
1bdaba5cdc
Merge pull request #3127 from abcsun/lumen
...
[PHP Lumen] add parameters validation and the Apache license
2016-06-17 18:58:57 +08:00
Jakub Malek
38298c3709
NancyFx:
...
- Sharpility version update
2016-06-17 09:35:53 +02:00
wing328
36264f3801
Merge pull request #3152 from salemXpresso/master
...
Fix Java CXF on parameter names containing '_' or '-'
2016-06-17 12:44:18 +08:00
wing328
8eff9188fb
Merge pull request #3153 from wing328/qtcpp_license
...
[Qt5 C++] Add apache2 license to qt5cpp files
2016-06-17 12:20:09 +08:00
abcsun
0effbae24b
add lumen api.mustache to generate controller & license update & resource dir restructure
2016-06-17 11:37:10 +08:00
wing328
c231474c4b
Merge pull request #3154 from wing328/python_travis_ci
...
[Python] add travis.yml to python api client
2016-06-17 09:23:42 +08:00
Jim Schubert
ee630337b9
[scala] Add SBT buid support for scala client
2016-06-16 20:43:58 -04:00
wing328
f9eef2c825
add travis.yml for python api client
2016-06-17 00:41:40 +08:00
wing328
6bdee2adb5
add apache2 license to qt5cpp
2016-06-17 00:04:05 +08:00
Remi Salembier
2d275b41e0
Java CXF petstore sample update
2016-06-16 17:13:02 +02:00
Remi Salembier
799b27b249
Fix Java CXF on parameter names containing '_' or '-'
2016-06-16 16:18:01 +02:00
Mateusz Mackowiak
f33b0a2942
[Objc] Moved default petstore demo sample to default folder and created a target with core data sample
2016-06-16 13:12:42 +02:00
Mateusz Mackowiak
fc43b8700b
[Objc] Moved default petstore demo sample to default folder and created a target with core data sample
2016-06-16 11:57:52 +02:00
wing328
77d1d97da5
Merge pull request #3015 from cbornet/java_instant
...
Use OffsetDateTime instead of LocalDateTime
2016-06-16 17:48:22 +08:00
wing328
dd379461e2
Merge pull request #3124 from mateuszmackowiak/objc/core_data_support_for_array_model
...
[Objc] - CoreData support for ArrayModels
2016-06-16 17:24:08 +08:00
wing328
b5f22ff5c8
Merge pull request #3109 from philicious/qt5-cpp-helpers-fix
...
Fixed several issues with Qt5 generator and Qt5 PetStore tests
2016-06-16 16:54:45 +08:00
wing328
2107758100
add swift-petstore-all.sh and partial_license for perl
2016-06-16 16:42:17 +08:00
wing328
6a68965308
Merge pull request #3131 from mateuszmackowiak/android/volley/post_null_body_fix_proper
...
[Android][Volley] fix support for post null body
2016-06-16 16:04:55 +08:00
wing328
e501287036
Merge pull request #3130 from taxpon/issue-3129-handle-204
...
Handle 204 response correctly in typescirpt-angualr2
2016-06-16 15:30:10 +08:00
ant3
ae67961f60
Merge remote-tracking branch 'refs/remotes/swagger-api/master'
2016-06-15 22:13:56 +01:00
Maneesh Sahu-SSI
6c350a7d2d
Added long to primitive data types supported in Python codegen
2016-06-15 13:43:36 -07:00
stunney
cb47bec293
Issue #3138
...
Continuation from original PR to update the pet store server auto gen
sample code based on previous commit.
2016-06-15 10:04:28 -04:00
stunney
0980261709
Merge remote-tracking branch 'refs/remotes/swagger-api/master'
2016-06-15 10:02:41 -04:00
wing328
89435850a6
Merge pull request #2979 from guohuang/go_server
...
issue#2970, [Go] add go server codegen template
2016-06-15 15:18:28 +08:00
wing328
e875ac6976
Merge pull request #3128 from wing328/cpprest_generator
...
[C++] add cpprest generator
2016-06-15 11:32:34 +08:00
wing328
d56eed898d
replace tab with 4-space
2016-06-15 10:50:06 +08:00
wing328
36325393bd
add C++ Danielku15
2016-06-15 10:44:04 +08:00
wing328
0b63206496
add windows batch file for cpprest-petstore
2016-06-15 10:41:35 +08:00
wing328
2362f77bbc
Merge pull request #3135 from wing328/js_license_header
...
[Javascript] add license header to JS cient, update sample
2016-06-15 10:28:37 +08:00
stunney
d21aa1f3a3
Issue #3138
...
https://github.com/swagger-api/swagger-codegen/issues/3138
Adds " virtual" to the controller moustache file so that the controllers
can be inheritted from.
2016-06-14 17:01:18 -04:00
wing328
8085e11063
add license header to JS cient, update sample
2016-06-15 01:18:04 +08:00
wing328
e2e90db863
Merge pull request #3134 from wing328/js_travis
...
[Javascript] Add auto-generated test files and .travis.yml to JS API client
2016-06-15 01:08:33 +08:00
wing328
9f3b8bab2b
add travis.yml for JS api client
2016-06-15 00:03:11 +08:00
wing328
4c277631e4
add auto-generated test cases for js api client
2016-06-14 23:50:38 +08:00
Jason Quinn
2903ec64a4
Merge branch 'master' of https://github.com/JasonQuinn/swagger-codegen
2016-06-14 15:03:24 +01:00
Jason Quinn
ed83ad3afd
Removing gradle dependency for jersey2 pom
2016-06-14 15:01:23 +01:00
Jason Quinn
54babeb5ed
Updating jersey2 sample
2016-06-14 15:01:10 +01:00
Mateusz Mackowiak
ac7a7503b4
[Android][Volley] fix support for requests null body
2016-06-14 16:00:40 +02:00
Jason Quinn
24b7f5c902
Adding the ability to get/set the httpClient for jersey2
2016-06-14 15:00:40 +01:00
Mateusz Mackowiak
54afae57c8
[Android][Volley] fix support for post null body
2016-06-14 15:49:41 +02:00
Takuro Wada
723f65b940
Fix typo in .swagger-codegen-ignore
2016-06-14 21:50:06 +09:00
Takuro Wada
2843c44401
Handle 204 response correctly in typescirpt-angualr2
2016-06-14 21:31:25 +09:00
wing328
ecd80a3d70
add cpprest and samples
2016-06-14 16:33:50 +08:00
wing328
b782dc0178
Merge pull request #3123 from mateuszmackowiak/android/volley/post_null_body_fix
...
[Android][Volley] fix support for post null body
2016-06-14 15:46:02 +08:00
wing328
db32c26cc5
Merge pull request #3126 from arnested/php-empty-array-response
...
[PHP] Handle empty array response correct
2016-06-14 15:29:38 +08:00
philicious
691ef88333
updated SWGHelpers in tests with output from 1b79734
2016-06-14 00:15:39 +02:00
philicious
9825dfc735
fixed Qt5 api-body template bug with form params
2016-06-14 00:13:12 +02:00
philicious
511971cf67
fixed wrong function parameter type in PetApiTest.cpp
2016-06-13 23:54:27 +02:00
philicious
6f85deeecd
added missing source/header for SWGApiResponse in Makefile
2016-06-13 23:53:01 +02:00
philicious
8fab73fff6
added missing systemIncludes for QMap, QDateTime, QDate
2016-06-13 23:52:13 +02:00
Arne Jørgensen
614e98a404
[PHP] Regenerate petstore sample
2016-06-13 23:22:31 +02:00
Arne Jørgensen
f5f4adac29
[PHP] Handle empty array response correct
2016-06-13 23:22:04 +02:00
wing328
871d5ddc5d
Merge pull request #3112 from cbornet/springboot_j8async
...
Add java8 and async options to Spring-Boot codegen
2016-06-14 01:02:52 +08:00
wing328
45c32fd57b
Merge pull request #3122 from clasnake/add_license_scalatra
...
Add Apache v2 license to auto-generated scalatra files.
2016-06-14 00:55:40 +08:00
wing328
e9938648ae
add scala and groovy style guide
2016-06-14 00:53:57 +08:00
wing328
d6b43d54cc
add haskell style guide
2016-06-14 00:52:34 +08:00
Mateusz Mackowiak
102226666f
[Objc] - CoreData support for ArrayModels
...
- Support for uuid and password types
2016-06-13 18:31:19 +02:00
wing328
12b16c1ff5
add android style guide
2016-06-14 00:18:48 +08:00
wing328
eb42f99bb5
Merge pull request #3056 from mateuszmackowiak/objc/core_data_unique-id-key
...
[Objc] Support for x-unique-id-key vendorExtensions
2016-06-13 23:47:31 +08:00
Mateusz Mackowiak
0816f315d3
[Android][Volley] fix support for post null body
2016-06-13 17:23:34 +02:00
clasnake
ce456fafdc
Add Apache v2 license to auto-generated scalatra files.
2016-06-13 22:55:18 +08:00
wing328
cfa40b1484
Merge pull request #3119 from wing328/java_travis
...
[Java] add travis.yml for Java API client
2016-06-13 17:42:49 +08:00
abcsun
ee024c40fb
add apache license to lumen
2016-06-13 17:37:19 +08:00
wing328
3295b24cc2
add travis.yml for java client
2016-06-13 17:06:49 +08:00
wing328
a97402d1ee
add http://www.lascaux.it/
2016-06-13 15:15:21 +08:00
abcsun
bffb0fb4d8
sync from origin master
2016-06-13 10:25:03 +08:00
Guo Huang
e39aa3ed3c
fix merge conflict
2016-06-12 14:15:55 -07:00
ant3
fecaf0673a
Merge remote-tracking branch 'refs/remotes/swagger-api/master' into JSR310-Clients
2016-06-12 19:18:07 +01:00
ant3
56c6e081d5
Fixed Java 8 time in Jersey 1 Client
...
Made the Jersey 1 client work with java 8 time classes. Also tightened
up newlines in templates.
2016-06-12 19:15:38 +01:00
wing328
c5eda5557e
Merge pull request #3116 from wing328/csharp_travis
...
[C#] Add travis file to C# client for CI with travis-ci.org
2016-06-12 17:22:17 +08:00
wing328
16d89a47b7
add travis file for C# client
2016-06-12 16:45:49 +08:00
wing328
dda6c600ae
Merge pull request #3115 from wing328/csharp_add_mono_test
...
[C#] Add mono test script, various enhancements
2016-06-12 13:21:54 +08:00
wing328
bca3d24d20
fix test cases, fix warning in exceptionfactory, update
...
.swagger-codegen-ignore for c# to keep logo file (for upload test)
2016-06-12 12:41:35 +08:00
wing328
6ddf34ce8a
update nunit to 3.2.1
2016-06-12 01:56:31 +08:00
wing328
4b6d372bff
update C# json to 8.0.3
2016-06-12 00:39:56 +08:00
wing328
bc04ebed94
add mono script to nunit test csharp client
2016-06-11 23:44:48 +08:00
wing328
9102dce654
Merge pull request #3114 from wing328/python_ci
...
[Python] Update CI to cover Python2 and Python3 Petstore tests
2016-06-11 11:38:43 +08:00
wing328
661aa25c3d
sudo to install virtualenv
2016-06-11 10:38:22 +08:00
wing328
1221a83504
add python ci
2016-06-11 10:35:50 +08:00
wing328
cdc29d0dde
Merge pull request #3034 from taxpon/issue-3029-python-constructor
...
Update python constrouctor to provide arguments for instance initialization
2016-06-11 10:27:26 +08:00
Todd
cbfe23589c
it's the future
...
html5 is all the rage
2016-06-10 15:09:29 -04:00
cbornet
c2dbe44d08
add java8 and async options to springboot codegen
2016-06-10 18:21:19 +02:00
wing328
851f2ef688
Merge pull request #3107 from cbornet/default_joda
...
Set joda as default dateLibrary for java codegens that support it
2016-06-10 23:17:38 +08:00
wing328
fdae19b2a6
Merge pull request #3111 from swagger-api/perl_license
...
[Perl] add apache 2.0 license to perl api client
2016-06-10 23:02:35 +08:00
wing328
7de95c52c1
add apache 2.0 license to perl api client
2016-06-10 22:43:56 +08:00
wing328
5ea2e2f1a2
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-06-10 21:59:17 +08:00
wing328
7be14f00fa
Merge branch 'zlx-rails5-models'
2016-06-10 21:58:59 +08:00
wing328
d924a1411b
remove debugging flag, add batch file for rails5 generator
2016-06-10 21:58:16 +08:00
wing328
e7160ca78a
Merge branch 'rails5-models' of https://github.com/zlx/swagger-codegen into zlx-rails5-models
2016-06-10 21:56:22 +08:00
wing328
3051ca23b6
Merge pull request #3110 from jimschubert/bug/3106
...
[csharp] Include ExceptionFactory property on IApiAccessor interface
2016-06-10 21:32:46 +08:00
Jason Quinn
8ffe4c9e06
Removing gradle dependency for jersey2 pom
2016-06-10 14:12:13 +01:00
Mateusz Mackowiak
5a6daeed8f
[Objc] Moved x-is-unique: true to petstore-with-fake-endpoints-models-for-testing
2016-06-10 14:17:52 +02:00
Jim Schubert
c209cb25ef
[csharp] Regenerate petstore client
2016-06-10 08:10:50 -04:00
Jim Schubert
196930cf49
[csharp] Include ExceptionFactory property on IApiAccessor interface
2016-06-10 08:10:12 -04:00
philicious
1b7973404d
added missing data-type handlers for QDate and QDateTime in Qt5/CPP helpers
2016-06-10 13:06:53 +02:00
Jason Quinn
e57f039eb9
Updating jersey2 sample
2016-06-10 12:00:52 +01:00
Jason Quinn
df60cd2d8b
Adding the ability to get/set the httpClient for jersey2
2016-06-10 11:56:05 +01:00
cbornet
0f3569e982
set joda as default dateLibrary for java codegens that support it
...
Fix #3087
2016-06-10 12:17:36 +02:00
wing328
b859024840
Merge branch 'cbornet-joda_springboot'
2016-06-10 17:01:54 +08:00
wing328
a33eb3132e
add message about rmeoving files/folders under output folder
2016-06-10 17:01:27 +08:00
wing328
ad77062b11
Merge branch 'joda_springboot' of https://github.com/cbornet/swagger-codegen into cbornet-joda_springboot
2016-06-10 16:39:58 +08:00
wing328
c143937959
Merge pull request #2986 from jimschubert/cs/exception_factory
...
[csharp] Intercept hooks for req/res and ExceptionFactory
2016-06-10 16:37:51 +08:00
wing328
ffc9ed1414
Merge branch 'cbornet-joda_retrofit_1'
2016-06-10 16:35:33 +08:00
wing328
3f51ff3314
add wording about removing files and folders in the output folder
2016-06-10 16:34:59 +08:00
wing328
ff28988a67
Merge branch 'joda_retrofit_1' of https://github.com/cbornet/swagger-codegen into cbornet-joda_retrofit_1
2016-06-10 16:32:23 +08:00
wing328
216d4b8b23
Merge pull request #3083 from cbornet/joda_retrofit
...
Add joda support to retrofit2 clients and use it in samples
2016-06-10 15:18:00 +08:00
wing328
e32ccb24e4
Merge branch 'cbornet-jersey_joda'
2016-06-10 14:30:56 +08:00
wing328
b418719804
update sample, update shell script with messages about removing files
2016-06-10 14:30:32 +08:00
wing328
c6cc15f429
Merge branch 'jersey_joda' of https://github.com/cbornet/swagger-codegen into cbornet-jersey_joda
2016-06-10 14:04:15 +08:00
wing328
a6f0b2d296
Merge pull request #3101 from cbornet/joda_okhttp
...
Add joda support to okhttp-gson and use it in the samples
2016-06-10 11:41:54 +08:00
cbornet
d8eb708e23
add joda support to spring-boot and use it in sample
2016-06-09 22:09:47 +02:00
cbornet
2fe9cd2ba0
add joda support to retrofit 1 clients
2016-06-09 18:41:44 +02:00
cbornet
61884211bb
add joda support to okhttp-gson and use it in the samples
2016-06-09 18:20:52 +02:00
cbornet
3c252f264c
use joda in jersey1/jersey2 client sample
2016-06-09 17:10:57 +02:00
wing328
bd705a49d6
Merge pull request #3094 from karussell/patch-3
...
[Java] client: make all okhttp classes explicit to avoid conflict
2016-06-09 21:21:51 +08:00
wing328
a965b74073
Merge pull request #3095 from wing328/fix_okhttp_pom
...
[Java][okhttp-gson] fix okhttp pom to remove dependency on gradle, sbt test
2016-06-09 20:33:30 +08:00
Jakub Malek
33149c3a63
NancyFx:
...
- Missing namespace import
2016-06-09 13:27:01 +02:00
Jakub Malek
b604b1b80f
NancyFx:
...
- Fixed error message for unsupported enum value
- Fixed error message for Format and Overflow exceptions
- Added support for ZonedDateTime and LocalTime in Parameters utility
2016-06-09 13:21:59 +02:00
Marcin Stefaniuk
e823c12dc0
Rename inheritance property.
2016-06-09 13:04:31 +02:00
Marcin Stefaniuk
e52f991d72
Adding NodaTime types as primitives to keep them nullable.
2016-06-09 12:58:58 +02:00
Newell Zhu
b27022749f
Add debug support for rails5
2016-06-09 18:43:31 +08:00
Newell Zhu
f3e368c723
Add model & migrate support
2016-06-09 18:40:01 +08:00
wing328
4ee483dcc0
fix okhttp pom to remove dependency on gradle, sbt test
2016-06-09 18:23:19 +08:00
Peter
32cabcfb23
updated petstore with latest okhttp changes
2016-06-09 11:35:03 +02:00
Peter
1ff18c4ac6
make all okhttp classes explicit to avoid conflict
2016-06-09 11:31:15 +02:00
wing328
9d6aff18cf
Merge branch 'karussell-patch-1'
2016-06-09 17:07:59 +08:00
wing328
bc42d941ec
Merge branch 'patch-1' of https://github.com/karussell/swagger-codegen into karussell-patch-1
...
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-09 17:06:50 +08:00
wing328
0c7d5dfb7d
Merge pull request #3093 from wing328/add_license_okhttp
...
[Java][okhttp-gson] Add Apache license to Java (okhttp-gson) API client
2016-06-09 16:59:24 +08:00
wing328
0a3a47dbd4
add license to java okhttp client
2016-06-09 16:20:57 +08:00
wing328
2d170fd7a6
add license to
2016-06-09 16:07:36 +08:00
Peter
28bece0ce0
made response change to petstore
2016-06-09 08:56:42 +02:00
wing328
ae3a31fb79
Merge pull request #3086 from cbornet/feign_generated
...
Remove generated annotation from feign sample
2016-06-09 10:15:43 +08:00
wing328
92e4dc2248
Merge pull request #3091 from karussell/patch-2
...
Added new company using swagger
2016-06-09 10:14:49 +08:00
Takuro Wada
2ea37202a9
Omit @property.setter for readonly property
2016-06-09 08:00:42 +09:00
Takuro Wada
2c939b03b4
Apply readWriteVars to constructor in python/model.mustach
2016-06-09 07:57:52 +09:00
Takuro Wada
03f5619beb
Update python constructor to provide arguments for instance initialization ( #3029 )
2016-06-09 07:56:26 +09:00
Peter
6cab3a2a37
added GraphHopper to projects/companies
2016-06-08 22:53:58 +02:00
Peter
6df4ffab13
use explicit Response class from okhttp fixing #3071
2016-06-08 22:37:41 +02:00
cbornet
ec3a200c8c
remove generated annotation in feign sample
2016-06-08 19:53:00 +02:00
wing328
3165e1c39d
Merge pull request #3039 from cbornet/spring_interface
...
[Spring] Add an option to only generate stubs of the API and no server files
2016-06-09 01:38:17 +08:00
wing328
c11908824e
Merge pull request #3075 from cbornet/feign_joda
...
[Feign] Support joda dates in feign client and use it in petstore sample
2016-06-09 01:28:10 +08:00
cbornet
acf17c85ad
add joda support to retrofit clients and use it in samples
...
also adds back the petstore tests
2016-06-08 18:50:49 +02:00
wing328
691aa53d5a
[Java][okhttp-gson] fix java doc for okhttp-gson ( #3077 )
...
* fix java doc for okhttp-gson
* add ci test for javadoc
* fix return type for java doc
* fix warning/error with javadoc
* fix error/warning in javadoc
* fix 2 warnings related to docstring
* remove trailing space for okhttp tmeplate
2016-06-09 00:47:49 +08:00
Artur Dzmitryieu
0a9b888e7f
Update language description
2016-06-08 10:56:53 -04:00
wing328
baed578010
file an issue ticket
2016-06-08 21:21:39 +08:00
wing328
fccc30eb11
add info about pulling latest master
2016-06-08 21:20:03 +08:00
Wolfgang Berger
cd6a805910
updates templates with JSONModel workaround
2016-06-08 13:31:04 +02:00
cbornet
23278bb51d
fix test
2016-06-08 11:38:44 +02:00
cbornet
b4d521ca7b
add a java8-localdatetime dateLibrary option for leagacy app backward compatibility
2016-06-08 11:07:13 +02:00
cbornet
5fd948f234
use OffsetDateTime instead of LocalDateTime
...
Fix #2138
2016-06-08 10:18:49 +02:00
wing328
b978914c96
Merge pull request #3061 from taxpon/issue-3055
...
[Python] Fix bug of test files about packageName
2016-06-08 10:42:17 +08:00
Takuro Wada
df11034c46
Add venv and .python-version to .gitignore
2016-06-08 09:25:35 +09:00
Takuro Wada
7916f5243d
[Python] Fix bug of test files about packageName
2016-06-08 09:24:12 +09:00
cbornet
3ae39c9562
support joda in feign and use it in sample
2016-06-07 22:39:34 +02:00
wing328
6a73f29cef
Merge pull request #3038 from Landschaft/master
...
[Swift] #3036 Make APIHelper.convertBoolToString return nil for nil input
2016-06-08 00:26:55 +08:00
wing328
012797adf1
add naming convention for vendor extension
2016-06-07 23:53:41 +08:00
Jan Schmidle
10e970e707
fix date format in example generator
2016-06-07 17:46:06 +02:00
wing328
bd2250b6ca
Merge pull request #3058 from clasnake/3044/gradle_for_scala
...
Add gradle support for the scala client.
2016-06-07 23:45:27 +08:00
wing328
391cab5220
Merge pull request #3063 from ePaul/patch-1
...
[Github issue template] instructions about how to paste YAML or JSON code
2016-06-07 23:28:29 +08:00
wing328
27cd38ba61
Merge pull request #3043 from qtstc/master
...
Stop Reading Custom Template Files from subdirectory
2016-06-07 19:19:03 +08:00
wing328
70005a2ec6
Merge pull request #3066 from taxpon/issue-3064-python-configuration-bug
...
Fix 'isOauth' to 'isOAuth' in python template
2016-06-07 19:01:20 +08:00
wing328
dd52f01fc6
Merge pull request #3070 from wing328/remove_ignore_global_file
...
Replaced global license file with default LICENSE
2016-06-07 15:17:30 +08:00
wing328
3ae48b179a
replaced global license file with default LICENSE
2016-06-07 15:15:20 +08:00
wing328
127bac4790
Merge pull request #3067 from jimschubert/bug/3047
...
[swagger-codegen-ignore] Skip file case test Windows
2016-06-07 14:37:34 +08:00
Jim Schubert
483dba2aff
[swagger-codegen-ignore] Skip file case test Windows
...
There doesn't appear to be an excellent way to resolve a case sensitive
test on Windows, so conditionally skipping the test on Windows.
See #3047
2016-06-06 21:24:08 -04:00
Takuro Wada
3c919974a7
Fix 'isOauth' to 'isOAuth' in python template
2016-06-07 08:30:17 +09:00
Artur Dzmitryieu
ad25052223
Update a Readme and add sample output for petstore json
2016-06-06 15:03:44 -04:00
Paŭlo Ebermann
08f86ae0b6
instructions about how to paste YAML or JSON code
...
Hopefully that will make issues easier to read.
2016-06-06 20:30:44 +02:00
clasnake
5adb80bd1b
Delete the build folder.
2016-06-06 22:22:07 +08:00
Wolfgang Berger
e258fb97ca
updates for ISO8601 0.5.1
2016-06-06 16:17:39 +02:00
clasnake
92d4f5df22
Add build folder in the sample scala client into gitignore.
2016-06-06 22:11:16 +08:00
clasnake
4c9e7ae572
Add gradle support for the scala client.
2016-06-06 22:04:17 +08:00
cbornet
1836062e6f
don't put RequestMapping on the interface
...
as Spring-MVC will automatically consider it as a controller which is not necessarily the case (eg. for a spring-cloud FeignClient)
2016-06-06 14:40:11 +02:00
wing328
895f13cc11
Merge pull request #3050 from taxpon/issue-3041
...
[Python] Follow PEP8 rules ( Issue #3041 )
2016-06-06 18:18:36 +08:00
Mateusz Mackowiak
24ecf9d74f
[Objc] Support for x-unique-id-key vendorExtensions
2016-06-06 12:13:06 +02:00
cbornet
556f529933
add option to use single content-type produces/consumes
2016-06-06 11:45:07 +02:00
ant3
b8ebee1ec3
Merge remote-tracking branch 'refs/remotes/swagger-api/master' into JSR310-Clients
2016-06-05 23:13:52 +01:00
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
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
Artur Dzmitryieu
2bbe26b41a
Add new jax-rs language that uses only 2.0 spec API's
2016-06-03 15:52:46 -04: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
Jakub Malek
01145be00d
NancyFx:
...
- Moved model enum definitions to model class to avoid name duplications
2016-06-02 16:06:47 +02: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
Jakub Malek
460f8130db
NancyFx:
...
- Fixed Query and Headers parameters parsing
2016-06-02 13:12:16 +02:00
Jakub Malek
9c8373aea2
NancyFx:
...
- Fixed model template
2016-06-02 11:53:25 +02: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
Jakub Malek
adb02a030f
NancyFx:
...
- Skipping parsing nulls of nullable types
2016-06-02 11:18:51 +02:00
Jakub Malek
a458e53e25
NancyFx
...
- Detailed exception of not expected parse error
2016-06-02 11:14:05 +02:00
Jakub Malek
d1cf803e49
NancyFx:
...
- Yet another fix for nullable enums parsing
2016-06-02 11:05:40 +02:00
Jakub Malek
4c69e02a21
NancyFx:
...
- Fixed parsing nullable enums
2016-06-02 11:00:16 +02:00
Jakub Malek
d201d6331c
NancyFx:
...
- Details exception for error of dynamic value of parameter
2016-06-02 10:52:21 +02:00
Jakub Malek
0996f8c930
NancyFx:
...
- Detailed exception of get parameter error
2016-06-02 09:53:42 +02:00
Jakub Malek
da5804d583
NancyFx:
...
- Using nullable enum types in API
2016-06-02 08:57:49 +02: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
Jakub Malek
1cfb3d1c9c
NancyFx:
...
- Changed enum class name format
- CodegenProperty parent and parentClass replaced by Booolen flag isInherited
2016-06-02 08:14:49 +02: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
Jakub Malek
dbc6c2f163
Merge branch 'nancyfx-codegen' of https://github.com/FinderSystems/swagger-codegen into nancyfx-codegen
2016-06-01 15:04:41 +02:00
Jakub Malek
fc9b4501fc
NancyFx:
...
- Fixed inheritance support
2016-06-01 15:04:18 +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
Marcin Stefaniuk
e1df89c8fa
Formatting fix.
2016-05-31 13:49:45 +02:00
Jakub Malek
30b7eb7854
NancyFx:
...
- Omitting copyright and licenceurl tags i nuspec when not specified
2016-05-31 09:01:26 +02:00
Jakub Malek
849aa5064d
NancyFx:
...
- Including dependencies in csproj
2016-05-31 08:50:36 +02: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
Jakub Malek
16200ae424
NancyFx:
...
- Mutable model generation for option -Dimmutable-false
2016-05-30 15:49:37 +02: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
Jakub Malek
c6d4df3e41
NancyFx:
...
- Handling class name mapping
2016-05-30 15:04:16 +02:00
Mikolaj Przybysz
8369bae08a
Improved formatting
2016-05-30 15:01:53 +02:00
Jakub Malek
c734a216af
NancyFx:
...
- Handling importMapping
2016-05-30 13:21:55 +02:00
Jakub Malek
ba26df95e2
NancyFx:
...
- Added generation of .nuspec file
2016-05-30 12:09:00 +02:00
Jakub Malek
1d167b709d
NancyFx:
...
- Including API docs
2016-05-30 11:21:21 +02:00
Jakub Malek
a72640ce9c
NancyFx:
...
- Sealed class for generated Modules
- Empty constructor added to model classes
- Code cleanup
2016-05-30 10:33:22 +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
wing328
6e83939f0e
Merge pull request #2984 from daknin/2983
...
2983: Java Feign client generator: HTTP header name should be named …
2016-05-30 10:40:10 +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
Jim Schubert
e0c3aa276d
[codegen ignore] Lazy test setup
...
Moved temp directory preparation to occur at the start of tests and
added temp directory prefix to help avoid conflicts with other tests.
2016-05-29 09:47:47 -04:00
wing328
a1e9b8f81e
Merge pull request #2990 from jimschubert/cs/number_to_decimal
...
[csharp] map number/no format to Decimal
2016-05-29 20:58:31 +08:00
wing328
a566b086cf
add new files for JS client
2016-05-29 20:54:43 +08:00
wing328
4d8d4e6995
Merge pull request #2995 from wing328/feature/model_map_property
...
Fix spec for map and array
2016-05-29 18:10:48 +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
00beca9583
Merge pull request #2993 from wing328/add_default_license
...
Add defaulat license (Apache2.0) to all generators
2016-05-29 16:57:38 +08:00
wing328
4b74f6ccef
add defaulat license (apache2.0) to all generators
2016-05-29 15:02:06 +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
Jim Schubert
d172de260d
[codegen ignore] Add tests, fix two minor issues
...
Tests are create to act on actual files to gauarantee functionality of
.swagger-codegen-ignore processing. Found two minor issues, one with
directory processing of files below the directory and another with
filename.* patterns reversing as *filename. for the pattern.
Added documentation to the README about .swagger-codegen-ignore file
support and syntax.
2016-05-28 22:25:45 -04:00
Jim Schubert
eccd4d5245
[csharp] map number/no format to Decimal
2016-05-28 15:09:50 -04: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
Alexander Fisher
7f2a16a78b
Add ability to set useQuerystring on request globally for api.
2016-05-29 01:29:14 +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
bd1aab0cf0
Merge branch 'mateuszmackowiak-objc/License'
2016-05-28 11:12:19 +08: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
Jim Schubert
fafcd33e27
[csharp] Intercept hooks for req/res and ExceptionFactory
2016-05-27 22:10:06 -04:00
Guo Huang
6415018c8f
removed tab in logger, added warnings for import
2016-05-27 09:42:08 -07:00
Guo Huang
4b41877419
updated read me and removed extra space
2016-05-27 09:18:23 -07: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
ef71d50eee
fixed spacing issue
2016-05-26 22:49:13 -07:00
Malcolm Barclay
a56d927b0c
Added date format string #2935
...
Support decoding of RFC3339 compliant date-time strings with fractional seconds, but no timezone.
2016-05-27 06:48:39 +01: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
c3b5cfbb24
Merge pull request #2976 from wing328/ts_fetch_ci
...
[TypeScript] update pom to cover TS Fetch API clients
2016-05-26 21:41:59 +08:00
Mikolaj Przybysz
030b1bc8c2
added default version 1.0.0 to userAgent
2016-05-26 15:12:28 +02:00
wing328
662d4efcaf
Merge pull request #2957 from fabdslv/rm-force-unwrap
...
[Swift] Remove force unwrap in model constructor
2016-05-26 18:38:54 +08:00
wing328
3e131d1901
update pom to cover ts fetch api client
2016-05-26 17:50:13 +08:00
wing328
648ef35309
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-05-26 17:21:25 +08:00
wing328
8443feaf82
Merge branch 'zlx-feature/ruby_enum_support2'
2016-05-26 17:21:07 +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
a86a4ac94e
add dbbest
2016-05-26 15:42:45 +08:00
wing328
f448ec3728
Merge pull request #2969 from guohuang/license
...
[Go] add apache v2 LICENSE
2016-05-26 15:05:42 +08:00
wing328
f47b6eb386
Merge pull request #2971 from arnested/php-license
...
[PHP] Add apache v2 license to PHP client
2016-05-26 15:02:53 +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
Arne Jørgensen
5c97d1b8f7
[PHP] Improve code style of generated code
...
Avoid trailing whitespace.
2016-05-25 22:53:01 +02:00
Arne Jørgensen
d9d3a41deb
[PHP] add apache v2 license to PHP client
...
See #2963 .
2016-05-25 22:53:01 +02: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
wing328
ce426ee868
add SCOOP software
2016-05-26 00:00:23 +08:00
zhenjun115
09a29063be
add markdown docs for java api client using retrofit2;
2016-05-25 23:44:44 +08:00
wing328
4df140956f
update version to 2.2.0-SNAPSHOT
2016-05-25 22:17:11 +08:00
wing328
9598974d45
Merge pull request #2908 from iomark/master
...
[Objc] fixed code generation for collection parameter
2016-05-25 21:57:00 +08:00
wing328
31aee5b3a7
Merge pull request #2950 from wing328/update_pom_220
...
Update pom.xml to use 2.2.0-SNAPSHOT
2016-05-25 21:10:43 +08:00
Mateusz Mackowiak
537ee960b6
[Objc] Add Apache v2 license to auto-generated files #2963
2016-05-25 15:09:05 +02:00
wing328
0a724a3008
update pom for swagger codegen module
2016-05-25 17:25:18 +08:00
Marcin Stefaniuk
c59f2b0322
Versioning of generated model (namespace, base context).
2016-05-25 11:23:11 +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
2f11049218
Merge pull request #2960 from wing328/chsarp_add_license
...
[C#] add apache v2 license to C# API client
2016-05-25 14:57:17 +08:00
wing328
8096308657
add apache v2 license to csharp api client
2016-05-25 14:41:17 +08:00
wing328
0f624338fd
Merge pull request #2954 from wing328/add_test_array
...
Add new test model to array properties
2016-05-25 13:56:57 +08:00
Joseph Zuromski
d55a691e11
fix path
2016-05-24 14:37:37 -07:00
Fabien Da Silva
4404b907bc
[Swift] Remove force unwrap in model constructor
...
Fix #2955
2016-05-24 21:54:46 +02:00
Tony Tam
fefd507323
Merge pull request #2956 from sreich/patch-1
...
add custom generator example to readme
2016-05-24 12:10:37 -07:00
Shaun Reich
06dd7c4794
add custom generator example to readme
...
fixes #2923
2016-05-24 14:44:21 -04:00
wing328
105b4b9199
new test case to cover model with array properties
2016-05-25 01:18:50 +08:00
wing328
d0770d25f5
Merge pull request #2953 from wing328/ruby_add_license
...
[Ruby] add licence template for ruby api client
2016-05-25 00:50:29 +08:00
wing328
29008b5802
add licence template for ruby api client
2016-05-25 00:48:31 +08:00
wing328
68878ff9bd
Merge pull request #2951 from wing328/ruby_add_license
...
[Ruby] add apache v2 license to remaining ruby files (test, spec, etc)
2016-05-25 00:07:05 +08:00
wing328
dbc3e418a9
udpate pom for other sub modules
2016-05-24 23:27:11 +08:00
wing328
568fa4f514
add apache license to remaining ruby files (test, spec, etc)
2016-05-24 23:20:23 +08:00
wing328
04eca71be4
update pom to use 2.2.0-SNAPSHOT
2016-05-24 22:47:03 +08:00
Jakub Malek
bf68801295
NancyFx:
...
- Passing NancyContext to service instead of Request
2016-05-24 16:19:45 +02:00
Jakub Malek
bc6fcbdc7b
NancyFx:
...
- Unnecessary dependencies removal
- Nancy version update
2016-05-24 16:07:22 +02:00
Jakub Malek
da3aa7214d
NancyFx:
...
- Fixed Module classes naming (removed double 'Module' suffix)
- Using partial classes for generated Nancy modules
2016-05-24 15:17:27 +02:00
Mikolaj Przybysz
6aa821d76d
Rebuild php petstore sample client
2016-05-24 15:03:25 +02:00
Mikolaj Przybysz
041c5d1d34
Replaced \n with PHP_EOL
2016-05-24 14:25:16 +02:00
Jakub Malek
cef6c9d8ba
NancyFx:
...
- Using NodaTime for date types
2016-05-24 14:08:09 +02:00
Mikolaj Przybysz
3484704fea
Updated condition for artifactVersion check
2016-05-24 14:07:51 +02:00
Mikolaj Przybysz
18f32b4163
Proper printing of invokerPackage in configuration debug report
2016-05-24 14:03:31 +02:00
Mikolaj Przybysz
c54b4faf13
Removed printing artifactVersion if it is not set from debug information
2016-05-24 14:02:41 +02:00
Marcin Stefaniuk
d0e3b5cc71
Moving enum definition of model lists outside class.
2016-05-24 13:07:14 +02:00
Mikolaj Przybysz
cce21abaec
Removed printing artifactVersion if it is not set
2016-05-24 12:26:02 +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
Mikołaj Przybysz
e687ad5823
Merge pull request #2 from swagger-api/master
...
Update
2016-05-24 11:53:56 +02:00
wing328
c7110debee
update ruby api client to use apache v2 license
2016-05-24 17:50:28 +08:00
Marcin Stefaniuk
4b2e3a01f9
Renaming request dispatcher to Nancy specific Module.
2016-05-24 11:31:27 +02:00
wing328
7d475b1f93
Merge branch 'zhenjun115-java_api_client'
2016-05-24 17:03:20 +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
Jakub Malek
ba38a3b6cb
NancyFx:
...
- Removed "Enum" suffix of Enum class name
2016-05-24 10:32:09 +02:00
Jakub Malek
c653aeec0b
NancyFX:
...
- Fixed parsing enum parameters in NancyModule
2016-05-24 10:25:18 +02:00
Jakub Malek
57aa6d01d2
NancyFx:
...
- Using virtual interface implementation in AbstractService
- Fixed namespace for module classes
- Using Parameters utility for parsing parameters in NancyModule
- Excluding obj folder from csproj
2016-05-24 10:14:22 +02: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
Jakub Malek
04af1cf2a7
NancyFx:
...
- Passing Nancy.Request to service interface
- Generating AbstractService code
- Removed null defaults from constructors in models
- Fixed project namespace
2016-05-23 16:53:01 +02:00
Newell Zhu
24a0ced972
regenerate ruby spec file
2016-05-23 21:30:40 +08:00
wing328
917192e558
add Revault Sàrl
2016-05-23 20:56:14 +08:00
Newell Zhu
a9b8150442
regenerate ruby client sample
2016-05-23 20:54:45 +08:00
Newell Zhu
942b015c8f
Add normal class enum support
2016-05-23 20:54:30 +08:00
Marcin Stefaniuk
9354fc8b0f
Retrieving enum params from api request.
2016-05-23 13:56:28 +02:00
Marcin Stefaniuk
36e94f7ed1
Enumerations on api input.
2016-05-23 13:40:12 +02:00
wing328
9b9d5859ad
Merge pull request #2864 from revaultch/master
...
typescript-angular2 query string fix
2016-05-23 17:56:31 +08:00
Urs Keller
91177cd536
typescript-angular2 query string fix
2016-05-23 10:55:54 +02:00
wing328
8ba19f0112
Merge pull request #2939 from wing328/php_enum_test
...
[PHP] add enum test in PHP API client
2016-05-23 15:58:57 +08:00
wing328
7b1cfde891
add enum test in php api client
2016-05-23 15:38:20 +08:00
wing328
6c33552d0d
Merge pull request #2934 from alexandern/master
...
Mispelling in Objective-C initialization template
2016-05-23 11:00:43 +08:00
Alex Nolasco
11c6a42dcc
Merge pull request #2 from alexandern/alexandern-patch-1
...
Misspellings
2016-05-22 15:15:22 -04:00
Alex Nolasco
3035aeb803
Misspellings
...
codition => condition
2016-05-22 15:15:06 -04:00
Alex Nolasco
c719f4d8c3
Merge pull request #1 from alexandern/alexandern-patch-1
...
Mispelling in Objective-C initialization
2016-05-22 14:09:10 -04:00
Alex Nolasco
4b4d5aeb2e
Mispelling
...
initalise=> initialize
2016-05-22 14:08:23 -04:00
wing328
810d165f21
add zlx to ruby core team
2016-05-22 22:48:43 +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
6383f6fcb6
Merge pull request #2932 from swagger-api/readonly_var
...
[C#] fix csharp constructor for model with read-only 1st property
2016-05-21 23:01:22 +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
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
eb3a2949a0
Merge branch 'jaz-ah-swift/podupdate'
2016-05-21 16:24:33 +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
wing328
cd0d9f55c2
Merge pull request #2928 from catinred2/basePath
...
add basePathWithoutHost
2016-05-21 16:06:17 +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
Marcin Stefaniuk
e17b02183b
Fix reference to subtemplate.
2016-05-20 15:56:35 +02:00
zhenjun115
359c4b0e53
gradle wrapper mustache for java api client;
2016-05-20 21:44:32 +08:00
Marcin Stefaniuk
f4c3b9ec9f
Fixed operation parameter input enums generation.
2016-05-20 15:29:53 +02:00
zhenjun115
f2a2014ef4
add gradle wrapper mustache for android api client;
2016-05-20 20:24:22 +08:00
Marcin Stefaniuk
eaddc18537
Switching from custom exception to System.ArgumentException.
2016-05-20 14:22:48 +02:00
wing328
2e402da3ef
Merge branch 'guohuang-travis'
2016-05-20 18:37:00 +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
e02cfe8de2
Merge pull request #2921 from wing328/fix_consumes_and_produces2
...
Replaced {{mediaType}} with {{{mediaType}}} to keep the original media
2016-05-20 18:12:57 +08:00
wing328
c6f03806df
Replaced {{mediaType}} with {{{mediaType}} to keep the original media
2016-05-20 17:48:47 +08:00
Marcin Stefaniuk
0005faf77d
Handling collections of enumerables.
2016-05-20 10:43:40 +02:00
wing328
6c71dc3d18
Merge pull request #2910 from wing328/typescript_better_ci
...
[TypeScript] Add CI for typescript API clients
2016-05-20 16:02:46 +08:00
wing328
6231970ac6
run ruby test first
2016-05-20 15:24:13 +08:00
wing328
70619525cd
commented out TS fetch related tests in pom.xml
2016-05-20 15:09:35 +08:00
wing328
1e45af2fbc
install typescript in travis ci
2016-05-20 14:15:04 +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
Joseph Zuromski
4e0e91e58b
move up to ios 9.3
2016-05-19 12:35:17 -07: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
69de0ecb9b
update wording for ts test cases
2016-05-20 00:56:26 +08:00
wing328
48971ebd7b
update pom to include ci for typescript-fetch clients
2016-05-20 00:34:32 +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
798e070e78
Merge pull request #2913 from wing328/skip_integration_test
...
Skip integration test
2016-05-20 00:12:16 +08:00
wing328
71176a84ba
skip integration test
2016-05-20 00:08:40 +08:00
Marcin Stefaniuk
e7781d0d91
Handling enum properties and nullability.
2016-05-19 15:06:08 +02:00
Marcin Stefaniuk
8f2523c448
Generation of enum types for parameters and properties.
2016-05-19 14:41:47 +02: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
861c6184d0
Merge branch 'jaz-ah-swift/enums'
2016-05-19 16:10:59 +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
wing328
2dda6a6e9a
Merge pull request #2640 from fabdslv/issue-2531
...
[Swift] Enum parameters are now handled
2016-05-19 15:46:25 +08:00
Marcin Stefaniuk
be44df44a5
Fix of model builder validation method.
2016-05-19 09:08:02 +02:00
Marcin Stefaniuk
f5f5a359e0
Fix of model builder validation method.
2016-05-19 08:59:29 +02: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
19449c69b4
Merge pull request #2903 from wing328/master
...
[ObjC] remove try-catch block from objc sample code
2016-05-19 00:13:53 +08: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
992ec94b32
Merge pull request #2902 from cbornet/issue_template
...
Add an issue template
2016-05-18 23:40:08 +08:00
cbornet
31e61b4900
add an issue template
2016-05-18 17:00:16 +02:00
Marcin Stefaniuk
dba662da59
Code formatting.
2016-05-18 15:09:39 +02:00
Jakub Malek
6564df79de
NancyFx: With() method added for model classes
2016-05-18 15:03:47 +02:00
Marcin Stefaniuk
cdb9ab826e
Fix of model template.
2016-05-18 14:59:16 +02:00
Jakub Malek
806e22deb5
NancyFx: Template for immutable model classes with builders
2016-05-18 14:54:40 +02: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
Jakub Malek
123a441257
NancyFX:
...
- Utility methods for obtaining value from header and path parameter added to requestExtensions.mustache template
- Added support of parsing arrays (IEnumerable, ICollection, IList, List, ISet, Set, HashSet) for query, header and path parameters
2016-05-18 14:23:17 +02:00
Kristof Vrolijkx
816ba6fb39
Code review remarks
2016-05-18 08:42:37 +02:00
wing328
ea15b72b3f
Merge pull request #2898 from wing328/upgrade_swagger_core
...
Upgrade swagger core to 1.5.9
2016-05-18 11:23:57 +08:00
wing328
204fb3bde1
upgrade swagger core to 1.5.9
2016-05-18 10:53:36 +08: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
Marcin Stefaniuk
1a670391ed
Respecting packageName option.
2016-05-17 15:33:36 +02:00
wing328
fc5dc44022
Merge branch 'zlx-feature/patch-2'
2016-05-17 21:09:59 +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
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
Jakub Malek
34a8374531
Merge branch 'nancyfx-codegen' of https://github.com/FinderSystems/swagger-codegen into nancyfx-codegen
2016-05-17 13:01:43 +02:00
Jakub Malek
e30e1d9a9e
RequestExceptions utility class template for NancyFx
...
Fixed package name to case-sensitive in GoClientOptionsTest, GoModelTest, LumenServerOptionsTest and SpringBootServerOptionsTest
2016-05-17 13:01:16 +02:00
Marcin Stefaniuk
3a2cbd8904
Added nuget packages, handling empty return types and fixes.
2016-05-17 12:58:50 +02:00
cbornet
596a076077
fix wrong method call
2016-05-17 10:35:37 +02:00
wing328
6fdea1cf6d
Merge pull request #2889 from BeneficialName/patch-1
...
Added WEXO to list of companies using Swagger Codegen
2016-05-17 16:30:03 +08: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
Kim Sondrup
706dfea1a9
Added WEXO to list of companies using Swagger Codegen
2016-05-17 09:36:35 +02:00
wing328
1b117e7cec
Merge pull request #2888 from akajla09/javaTests
...
Java: Add basic junit test templates for api clients
2016-05-17 12:00:07 +08:00
wing328
e69122359d
Merge pull request #2880 from zhenjun115/android_api_client
...
gradle wrapper for android api client;
2016-05-17 11:03:13 +08:00
Aditya Kajla
5633fdfb3d
Java: Add basic junit test templates for api clients
2016-05-16 17:55:29 -07:00
wing328
828c93e7f2
Merge pull request #2887 from kbrooks/patch-1
...
Adding IMS Health to the list of companies
2016-05-17 08:31:52 +08:00
Kyle Brooks
7c3facb682
Adding IMS Health to the list of companies
...
This is where I work, and I am using swagger-codegen for a project at work, so it counts.
2016-05-16 17:10:34 -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
Marcin Stefaniuk
8fc25d9aad
Merge remote-tracking branch 'origin/nancyfx-codegen' into nancyfx-codegen
2016-05-16 17:20:43 +02:00
Marcin Stefaniuk
12fc1332a4
NancyFX generation script.
2016-05-16 17:20:07 +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
Marcin Stefaniuk
874509a592
Introducing service interface and some validation.
2016-05-16 16:27:03 +02:00
Marcin Stefaniuk
37e76f4c68
Main files of nancyfx generator.
2016-05-16 16:27:03 +02:00
Marcin Stefaniuk
4145f2d76a
Introducing service interface and some validation.
2016-05-16 16:25:17 +02: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
zhenjun115
f79b894411
gradle wrapper for android api client;
2016-05-16 21:14:19 +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
Marcin Stefaniuk
496de14cff
Main files of nancyfx generator.
2016-05-16 10:49:24 +02:00
wing328
4be97eb35c
remove old test cases (c# petstore)
2016-05-16 16:36:38 +08: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
10f11ad91e
add zlx
2016-05-16 14:37:47 +08: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
935d6d35d1
Merge branch 'arnested-php-generated-codestyle'
2016-05-15 22:22:22 +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
a9fd820a27
Merge pull request #2876 from wing328/fix_android_pom
...
[Android] update android volley dependencies, add source and target in pom.xml
2016-05-15 17:13:36 +08:00
wing328
1f4723457b
Merge pull request #2873 from webbj74/fix-readme-silex
...
Fixes instructions for generating PHP Silex code.
2016-05-15 17:12:27 +08:00
wing328
cda6bc380e
update android volley dependencies, add source and target in pom.xml
2016-05-15 17:06:46 +08:00
wing328
6697c865c2
Merge branch 'zhenjun115-android_api_client'
2016-05-15 14:45:40 +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
J Webb
f38bdae6c0
Fixes instructions for generating PHP Silex code.
2016-05-14 16:38:00 -04:00
Dmytro Kryvoshei
ea15b859b7
use Title attribute as model name
...
this allows to use names defined by user in Response model instead of
"inline_response". Also user could use title to have specific name for
request model instead of parameter name
2016-05-14 15:30:57 -04:00
wing328
093fc4680b
Merge branch 'JMDHo-patch-2'
2016-05-15 01:35:19 +08:00
wing328
1d6eef715c
update swift petstore sample
2016-05-15 01:35:01 +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
83b5c2eeec
Add Rails5 sample
2016-05-15 00:25:00 +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
d3fe0ae28a
[PHP] Improve codestyle of phpunit tests
2016-05-14 13:45:41 +02:00
Arne Jørgensen
1f02fd281f
[PHP] Regenerate petstore sample
2016-05-14 13:45:41 +02: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
c982a3a1b7
Merge pull request #2865 from leonyu/functional_programming_interface
...
functional programming api for typescript-fetch
2016-05-14 17:27:33 +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
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
cbornet
b543a53dc7
update feign sample
2016-05-13 16:33:49 +00: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
1939ce8e91
Merge branch 'jimschubert-cs/req_properties_2584'
2016-05-13 22:17:55 +08:00
wing328
3ec8a96a94
update csharp petstore sample
2016-05-13 22:17:16 +08: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
wing328
68d0e975f9
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-05-13 21:03:50 +08:00
wing328
3c9b8dc722
Merge branch 'leonyu-typescript-fetch-basic-unit-test'
2016-05-13 21:03:34 +08:00
wing328
1e00bbfb8d
Merge branch 'typescript-fetch-basic-unit-test' of https://github.com/leonyu/swagger-codegen into leonyu-typescript-fetch-basic-unit-test
2016-05-13 18:02:38 +08:00
wing328
e24405e706
Merge pull request #2861 from BeneficialName/php-fix-prop-name-as-var
...
[PHP] list_invalid_properties now don't call undefined variables
2016-05-13 17:35:18 +08:00
wing328
406357e3b8
Merge pull request #2854 from BeneficialName/php-cleanup
...
[PHP] Cleanup to make coding style more consistent
2016-05-13 17:31:36 +08:00
Kim Sondrup
7737a59705
Run ./bin/php-petstore.sh
2016-05-13 11:01:10 +02:00
Kim Sondrup
bf259a8065
Merge remote-tracking branch 'swagger/master' into php-cleanup
2016-05-13 11:00:34 +02:00
wing328
26aa8e7c05
Merge pull request #2852 from BeneficialName/php-model-change
...
[PHP] method list_invalid_properties change to camelCase
2016-05-13 16:55:17 +08:00
Kim Sondrup
e31c71f685
[PHP] list_invalid_properties now don't call undefined variables
2016-05-13 10:54:29 +02:00
wing328
8769e9b4f9
Merge branch 'cjolif-enum'
2016-05-13 16:40:20 +08:00
wing328
610af20712
update swift sample
2016-05-13 16:40:01 +08:00
wing328
e0ce491b44
Merge branch 'enum' of https://github.com/cjolif/swagger-codegen into cjolif-enum
2016-05-13 16:32:38 +08:00
wing328
48fbaa793a
Merge pull request #2842 from mikolajprzybysz/allow-version-skip
...
[PHP] Allow version skip in composer.json
2016-05-13 15:51:53 +08:00
Leon Yu
aed31fbff3
basic integration test for typescript-fetch
...
fix postpublish script
2016-05-13 01:45:54 -04:00
abcsun
4d6d63754d
add parameters validation from request & adjust the mustache output style
2016-05-13 11:43:29 +08:00
Jim Schubert
993a21ed5f
[csharp] Add interface for API config aspects
...
This allows developers to gain access to each API's
Configuration and GetBasePath without need for reflection.
2016-05-12 22:06:30 -04:00
Jim Schubert
726228a27d
[csharp] Make APIs partial classes
2016-05-12 22:02:11 -04:00
Kim Sondrup
b2f5d8c060
[PHP] Made coding standard more consistent across template files
2016-05-13 01:47:59 +02:00
Kim Sondrup
6bb953d0aa
[PHP] Remove trailing spaces from templates
2016-05-13 00:31:45 +02:00
Kim Sondrup
840adb8aa3
[PHP] model list_invalid_properties change to camelCase
2016-05-12 20:05:55 +02:00
wing328
153af0c6cb
Merge pull request #2843 from zhenjun115/android_volley_api_client
...
Android volley api client
2016-05-13 00:21:44 +08:00
wing328
aaf8c867a2
Merge pull request #2845 from cjolif/master
...
fix typo
2016-05-13 00:20:59 +08:00
Christophe Jolif
154f85992e
fix typo
2016-05-12 17:10:01 +02:00
zhenjun115
32a6099853
add gitignore.mustache and git_push.mustache for android api client using volley;
2016-05-12 23:04:43 +08:00
Mikolaj Przybysz
a06ba7d4b8
Enable skipping version in composer.json
2016-05-12 16:53:21 +02:00
wing328
dfda700e7e
Merge branch 'mateuszmackowiak-objc/moved_logger_and_optimalizations'
2016-05-12 22:40:08 +08:00
Mikolaj Przybysz
bbb1c13b79
Modified code to be able to use composer properties and git properties alternatively and together
2016-05-12 16:38:13 +02:00
wing328
a05133bdc6
Merge branch 'objc/moved_logger_and_optimalizations' of https://github.com/mateuszmackowiak/swagger-codegen into mateuszmackowiak-objc/moved_logger_and_optimalizations
...
Conflicts:
samples/client/petstore/objc/README.md
samples/client/petstore/objc/SwaggerClient.podspec
2016-05-12 22:38:06 +08:00
wing328
b61fa55e45
Merge branch 'objc/bump_podspec_versions' of https://github.com/mateuszmackowiak/swagger-codegen into mateuszmackowiak-objc/bump_podspec_versions
2016-05-12 22:21:22 +08:00
wing328
eb3f5fb218
Merge branch 'kolyjjj-upgrade_version'
2016-05-12 21:57:18 +08:00
zhenjun115
a7ec1b9fd0
Merge pull request #1 from swagger-api/master
...
sync branch master
2016-05-12 21:53:48 +08:00
Mikolaj Przybysz
329d22ec00
Revert "Fixing php sdk composer project path"
...
This reverts commit 4bbc911664 .
2016-05-12 14:29:00 +02:00
Mikołaj Przybysz
ce821a5100
Merge pull request #1 from swagger-api/master
...
Update
2016-05-12 12:17:57 +02:00
Christophe Jolif
524ced1d9b
Fix regression on swift enum name as well as make sure enum var name with colons ouput compiable swift. Add a test. fixes #2824 , fixes #2835
2016-05-12 11:57:43 +02:00
Kristof Vrolijkx
6e000cc2a1
Merge branches 'feature/integration-test' and 'master' of https://github.com/Vrolijkx/swagger-codegen into feature/integration-test
2016-05-11 21:59:16 +02:00
Mateusz Mackowiak
ac37c43649
[Objc] Moved [request setHTTPShouldHandleCookies:NO]; to postProcessRequest method for easier override to modify request.
2016-05-11 18:20:15 +02:00
Mateusz Mackowiak
567c23a3df
[Objc] Support for variations of application/json type
2016-05-11 17:39:28 +02:00
Takuro Wada
77428b8a83
Fix npm error & import error in generated code
2016-05-12 00:32:09 +09:00
kolyjjj
3948ae27a4
upgrade version and delete scala-test property
2016-05-11 18:28:01 +08:00
wing328
d6ad7dc0b0
Merge pull request #2831 from zhenjun115/master
...
a new pom.mustache for android api client using volley HTTP library;
2016-05-11 17:43:42 +08:00
wing328
311a5ce907
Merge pull request #2832 from wing328/refactor_character_mapping
...
Refactor special mapping to default codegen
2016-05-11 16:57:29 +08:00
Mateusz Mackowiak
6206785038
[Objc] bump AFNetworking version to 3
2016-05-11 10:40:43 +02:00
wing328
dfe7e33fa5
update mapping to use minus for -
2016-05-11 16:34:30 +08:00
wing328
2784db0604
fix escpaing " and \
2016-05-11 16:14:03 +08:00
wing328
3c117d5857
refactor special mapping to defualt codegen
2016-05-11 15:44:06 +08:00
zhenjun115
ee15ef3579
a new pom.mustache for android api client using volley HTTP library;
2016-05-11 13:05:54 +08:00
wing328
9df91a08cd
add cchafer (author of Akka Scala)
2016-05-11 11:27:37 +08:00
Mateusz Mackowiak
fa7d3c9bad
[Objc]
...
- Moved Logging to separate Logger file
- Moved selectHeaderAccept and selectHeaderContentType to sanitizer
- little optimizations
2016-05-10 22:06:50 +02:00
Mateusz Mackowiak
94f49d2275
[Objc] bump version of JSONModel to 1.2 and ISO8601 to 0.5
2016-05-10 21:53:14 +02:00
Guo Huang
80d210a413
added travis.yml, remove old README.md
2016-05-10 11:13:56 -07:00
Mikolaj Przybysz
82f1a1bce5
Added gitUserId and gitRepoId to php config-help
2016-05-10 20:05:31 +02:00
wing328
bcb1acc210
Merge pull request #2822 from wing328/php_fix_doc
...
[PHP] fix broken links in php doc
2016-05-11 00:43:23 +08:00
wing328
745e1aba32
fix broken links in php doc
2016-05-11 00:03:14 +08:00
wing328
73b78bc294
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-05-10 22:39:11 +08:00
wing328
6520f9bfc7
Merge branch 'mikolajprzybysz-issue-2743'
2016-05-10 22:38:49 +08:00
wing328
1cb1b0351c
update php sample
2016-05-10 22:38:21 +08:00
wing328
753b5c8164
Merge pull request #2820 from zlx/feature/patch-1
...
fix typo
2016-05-10 22:34:29 +08:00
wing328
3c72547e27
Merge branch 'issue-2743' of https://github.com/mikolajprzybysz/swagger-codegen into mikolajprzybysz-issue-2743
2016-05-10 22:33:00 +08:00
Newell Zhu
0f97386b0b
fix typo
2016-05-10 22:16:25 +08:00
wing328
4f28ed3cd3
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-05-10 20:02:33 +08:00
wing328
67efffcc19
Merge branch 'guohuang-csharp-bug'
2016-05-10 20:02:13 +08:00
wing328
55746f01b1
Merge branch 'csharp-bug' of https://github.com/guohuang/swagger-codegen into guohuang-csharp-bug
2016-05-10 20:01:44 +08:00
wing328
5aaf570782
Merge pull request #2818 from wing328/bug/fix_2795
...
[C#] fix constructor with readonly property at the end
2016-05-10 19:08:17 +08:00
Jean-Michel Douliez
6178149f10
Update api.mustache
2016-05-10 12:46:30 +02:00
Jean-Michel Douliez
9f19a74123
Update APIHelper.mustache
2016-05-10 12:45:38 +02:00
wing328
e756ba081a
Merge branch 'leonyu-update_typings_json'
2016-05-10 18:01:42 +08:00
wing328
cd6f5877ac
add bin/typescript-fetch-petstore-all.sh
2016-05-10 18:01:17 +08:00
wing328
62db8e854b
Merge branch 'update_typings_json' of https://github.com/leonyu/swagger-codegen into leonyu-update_typings_json
2016-05-10 17:51:28 +08:00
wing328
1b36083afd
fix #2795
2016-05-10 17:40:21 +08:00
wing328
5bbed79581
Merge pull request #2815 from wing328/ruby_move_test_case
...
[Ruby] update Ruby test cases
2016-05-10 15:22:01 +08:00
wing328
31daa2b092
update ruby test files
2016-05-10 14:56:14 +08:00
wing328
d54877b5d3
add ruby spec for configuration, api client, replace should with expect
2016-05-10 14:18:06 +08:00
Guo Huang
e7f68287c1
updated function to support multiple collection formats
2016-05-09 22:01:32 -07:00
Andrew Z Allen
0b8c936972
Update TypeScript to do a better check for empty on basePath.
...
In Angular if a value is not defined for injection it is passed as
undefined. That means that most of the time `if (value) {` is a
reasonable test. Unfortunately since `""` (empty string) is also falsey
by nature, an empty string will not trigger the if properly.
Instead you should check `if (value !== undefined) {`.
2016-05-09 22:59:25 -06:00
Andrew Z Allen
51ad775aee
Update the injector static variable to contain all injected values.
...
In Angular.js, values are injected into service in one of two ways:
1) Inline (by name).
2) By a static injector variable.
The TypeScript generator uses the 2nd method. This method requires you
to explicitly enumerate all the values you would like to have injected.
If you fail to inject a value the Angular DI system will simply pass you
`undefined`. The constructor is expecting 3 values to be passed (the
final being basePath) but the injector static only defines 2 values.
This results in basePath always being undefined no matter what you
define it to be.
This change updates the injector variable to handle that properly.
2016-05-09 22:46:50 -06:00
wing328
e17710fc72
add pagerduty
2016-05-10 10:38:16 +08:00
Leon Yu
3185606124
Update typings
...
Expose type definition
Add readme
2016-05-09 20:33:24 -04:00
Mikolaj Przybysz
4bbc911664
Fixing php sdk composer project path
2016-05-09 19:56:20 +02:00
Mikolaj Przybysz
449d6b7d5f
issue-2743 fixing docs path and composer autoloader-dev
2016-05-09 19:03:49 +02:00
wing328
b5dba68dfa
Merge branch 'arnested-php-fix-array-handling-2'
2016-05-10 00:40:24 +08:00
wing328
363c40ec55
update php petstore sample
2016-05-10 00:39:55 +08:00
wing328
d0529cffdb
Merge branch 'php-fix-array-handling-2' of https://github.com/arnested/swagger-codegen into arnested-php-fix-array-handling-2
...
Conflicts:
modules/swagger-codegen/src/main/resources/php/model.mustache
samples/client/petstore/php/SwaggerClient-php/README.md
samples/client/petstore/php/SwaggerClient-php/lib/Model/Animal.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/AnimalFarm.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/ApiResponse.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Cat.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Category.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Dog.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/EnumClass.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/EnumTest.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/FormatTest.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Model200Response.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/ModelReturn.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Name.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Order.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Pet.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/SpecialModelName.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Tag.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/User.php
2016-05-10 00:29:13 +08:00
wing328
65ee4cb835
Merge pull request #2806 from wing328/fix_java_default_import
...
[Java] fix java import issue due to enum and inner model
2016-05-09 23:35:33 +08:00
wing328
477f6f8d4d
use modelPackage instead to import all models
2016-05-09 23:17:37 +08:00
wing328
b27d8c22c7
fix java import issue due to enum and inner model (array of array of
...
model)
2016-05-09 23:12:12 +08:00
wing328
d3c434e40f
add mateuszmackowiak to core team
2016-05-09 21:53:01 +08:00
wing328
b03b377a86
Merge pull request #2804 from wing328/bug/fix_2668
...
[Java] To fix missing import for @JsonValue
2016-05-09 21:47:28 +08:00
wing328
28c7ea5426
Merge pull request #2799 from mateuszmackowiak/obj/ApiClient-Sanitizer
...
Sanitizer for separating sanitize and service logic
2016-05-09 18:01:36 +08:00
wing328
c6eae8a6a6
Merge branch 'mateuszmackowiak-obj/Generic_List_and_Maps'
2016-05-09 17:47:39 +08:00
wing328
899af7a5fa
Merge branch 'obj/Generic_List_and_Maps' of https://github.com/mateuszmackowiak/swagger-codegen into mateuszmackowiak-obj/Generic_List_and_Maps
2016-05-09 17:33:05 +08:00
wing328
94978e019e
Merge branch 'abcsun-php_parameter_validation'
2016-05-09 16:33:25 +08:00
wing328
f30b32afc4
minor fix to mustache layout
2016-05-09 16:32:49 +08:00
wing328
cf6e8cffbb
Merge branch 'php_parameter_validation' of https://github.com/abcsun/swagger-codegen into abcsun-php_parameter_validation
...
Conflicts:
samples/client/petstore/php/SwaggerClient-php/README.md
samples/client/petstore/php/SwaggerClient-php/lib/Model/EnumClass.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/EnumTest.php
2016-05-09 16:21:40 +08:00
wing328
126510b1ad
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-05-09 16:08:39 +08:00
Mateusz Mackowiak
ea87f95f77
Rebase obj/Generic_List_and_Maps
2016-05-09 10:08:28 +02:00
wing328
d1cc2488b1
Merge pull request #2773 from zhenjun115/master
...
add pom.xml based on build.gradle for android api client( using the v…
2016-05-09 16:06:39 +08:00
Mateusz Mackowiak
93a39242a6
Merge branch 'master' into obj/ApiClient-Sanitizer
2016-05-09 09:49:27 +02:00
wing328
8a9ba0b3f3
Merge pull request #2803 from diyfr/SpringBootServer
...
Add Springboot documentation
2016-05-09 15:39:30 +08:00
diyfr
c039526993
Add Springboot documentation
2016-05-09 08:21:32 +02:00
wing328
e367a74504
Merge pull request #2791 from leonyu/typescript-fetch-package-json
...
Typescript fetch update
2016-05-09 12:45:26 +08:00
wing328
dbe8ef9df8
Merge pull request #2785 from wing328/bug/escape_unicode
...
Fix unicode issue in escapeText
2016-05-09 11:35:25 +08:00
wing328
1a2bf79d51
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
...
Conflicts:
samples/client/petstore/objc/README.md
2016-05-09 11:22:25 +08:00
wing328
edc87b1480
Merge branch 'mateuszmackowiak-obj/SupportForByteArray'
2016-05-09 11:21:39 +08:00
wing328
f28e2f2a1b
Merge branch 'obj/SupportForByteArray' of https://github.com/mateuszmackowiak/swagger-codegen into mateuszmackowiak-obj/SupportForByteArray
2016-05-09 11:21:21 +08:00
wing328
13b413151b
Merge pull request #2797 from mateuszmackowiak/obj/ApiClient_AFNetworking3
...
Use AFHttpSessionManager instead of AFHTTPRequestOperationManager #1981
2016-05-09 11:19:04 +08:00
wing328
caea3876b5
Merge branch 'scottrw93-validation'
2016-05-09 11:03:46 +08:00
wing328
36ada7f5fc
Merge branch 'validation' of https://github.com/scottrw93/swagger-codegen into scottrw93-validation
2016-05-09 10:51:23 +08:00
Scott Williams
4718c34984
Replace tabs with spaces
2016-05-09 01:25:13 +01:00
Scott Williams
25ebd5466d
Update pattern to support Perl /pattern/modifiers convention
2016-05-09 01:11:29 +01:00
wing328
beb88e0f3c
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-05-09 01:17:59 +08:00
wing328
9e8cbae0ec
rearrange order for core member list
2016-05-09 00:46:17 +08:00
wing328
cfa2c54c15
removed kristof
2016-05-09 00:45:29 +08:00
wing328
20f3850eb2
add guideline for becoming a core team member
2016-05-09 00:30:55 +08:00
wing328
6b6a559aa5
add .net2.0 template creator
2016-05-08 23:24:14 +08:00
wing328
d4383ce4c1
update core team (js)
2016-05-08 22:33:52 +08:00
wing328
dcbc8975a0
update core team
2016-05-08 22:24:52 +08:00
Jim Schubert
705ed78de1
[csharp] regenerate client
2016-05-08 08:35:28 -04:00
Mateusz Mackowiak
fbd6a95799
[Objc] Generator supports binary and BiteArray and maps data to NSData
2016-05-08 12:54:12 +02:00
wing328
46957bb6aa
add swagger codegen core team
2016-05-08 18:48:22 +08:00
Jim Schubert
618f4bdd39
[csharp] Constructor handling for serialization
...
Resolving an issue with serializing classes that contain required
properties. When the only constructor has defaulted parameters, no
parameterless constructor is generated but JSON.Net attempts to call
the missing constructor on deserialization (because of DataContract).
See: https://manski.net/2014/10/net-serializers-comparison-chart/
The fix here is to create a protected constructor, annotate it with
JsonConstructorAttribute to inform JSON.Net it is the constructor to use
during serialization, then provide settings that explicitly allow
JSON.Net to access non-public constructors during serialiazation.
2016-05-07 22:22:48 -04:00
zhenjun115
6709a92cbc
remove pom.mustache from android api client using volley HTTP library;
2016-05-07 23:38:05 +08:00
wing328
c3690d8675
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-05-07 23:10:25 +08:00
Mateusz Mackowiak
74c233e194
Sanitizer for separating sanitize and service logic
2016-05-07 15:18:10 +02:00
Mateusz Mackowiak
07b466a291
Objective c generator converts map and array properties to proper format using generics
2016-05-07 14:13:25 +02:00
Mateusz Mackowiak
81c6edcdd4
Merge commit '084f15fc2e6db460b037b08708a3713b8ef61be6' into obj/ApiClient_AFNetworking3
2016-05-07 13:57:15 +02:00
wing328
084f15fc2e
Merge pull request #2786 from mateuszmackowiak/objc/responseDeserializer
...
[Objc] ResponseDeserializer for separating deserialization and service logic
2016-05-07 19:50:34 +08:00
Mateusz Mackowiak
a71d8d935a
Use AFHttpSessionManager instead of AFHTTPRequestOperationManager #1981
2016-05-07 12:16:05 +02:00
abcsun
9efef02d5f
formate the module.mustache
2016-05-07 18:12:28 +08:00
wing328
7d33e1655d
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
...
Conflicts:
samples/client/petstore/csharp/SwaggerClientTest/Lib/SwaggerClient/README.mustache
2016-05-07 17:55:39 +08:00
wing328
4c0ed319d8
Merge branch 'jimschubert-csharp_default_paths'
2016-05-07 17:54:38 +08:00
wing328
77e56084ac
regenerate c# petstore sample
2016-05-07 17:49:54 +08:00
wing328
2ab315fa6f
Merge branch 'csharp_default_paths' of https://github.com/jimschubert/swagger-codegen into jimschubert-csharp_default_paths
...
Conflicts:
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/AbstractCSharpCodegen.java
samples/client/petstore/csharp/SwaggerClient/README.md
samples/client/petstore/csharp/SwaggerClient/docs/FormatTest.md
samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/FormatTest.cs
samples/client/petstore/csharp/SwaggerClientTest/Lib/SwaggerClient/src/main/csharp/IO/Swagger/Model/InlineResponse200.cs
samples/client/petstore/csharp/SwaggerClientTest/SwaggerClientTest.csproj
samples/client/petstore/csharp/SwaggerClientTest/SwaggerClientTest.userprefs
samples/client/petstore/csharp/SwaggerClientTest/obj/Debug/SwaggerClientTest.csproj.FilesWrittenAbsolute.txt
2016-05-07 17:30:40 +08:00
abcsun
df1d36cf47
modify the properties from container array
2016-05-07 15:55:38 +08:00
abcsun
0695708594
sync from origin master & do the parameters validation in model
2016-05-07 15:43:19 +08:00
Guo Huang
0bc34dcae8
updated api_client.go to use the new SetMultiValueQueryParams method
2016-05-06 23:48:46 -07:00
zhenjun115
101f9a4086
add generated markdown files to android api client for default and volley;
2016-05-07 14:33:47 +08:00
zhenjun115
3629fbac44
add pom.mustache for android api client(using volley HTTP library);update android api client samples(using volley HTTP library);
2016-05-07 14:12:19 +08:00
wing328
bff6c8bab4
add bitly
2016-05-07 08:47:30 +08:00
Scott Williams
fed22a1f72
Add regex support
2016-05-06 22:52:44 +01:00
Arne Jørgensen
bf8b7b760c
[PHP] Regenerate petstore sample
2016-05-06 23:48:52 +02:00
Arne Jørgensen
f5a802d9af
[PHP] Fix default values in derived classes
...
Fixes flaw in 9f40a82310 .
2016-05-06 23:48:52 +02:00
Leon Yu
64548d9bf5
Update bin
2016-05-06 15:59:37 -04:00
Leon Yu
b3937c2656
Package management option
...
ES6 target
Fix enum
2016-05-06 15:59:07 -04:00
Guo Huang
5bb1853018
added support for multi
2016-05-06 11:48:20 -07:00
wing328
34ec63e908
Merge pull request #2787 from xhh/js-enum
...
[JavaScript] Fix the exporting of outer enum model in JS client
2016-05-06 18:56:38 +08:00
xhh
020a9fcdc0
Fix enum model docs for JS and Java clients
2016-05-06 18:41:15 +08:00
Mateusz Mackowiak
fa68f84ec6
- Remove petsotre demo leftovers
...
- Moved description method to basic class
2016-05-06 12:35:02 +02:00
xhh
5acef6d634
Update petstore sample for JS-promise client
2016-05-06 18:02:32 +08:00
xhh
3dbab1b893
JavaScript client: fix exporting of outer enum model
2016-05-06 17:45:03 +08:00
Mateusz Mackowiak
385bf6d9ea
Additional UnknownResponseObjectErrorCode if response object expected type is an unknown type
2016-05-06 11:41:30 +02:00
wing328
db65a1526f
Merge pull request #2761 from kolyjjj/upgradeswaggertools
...
[koly] update swagger tools to 0.10.1
2016-05-06 17:18:32 +08:00
wing328
ce4a976916
Merge pull request #2775 from guohuang/tests
...
fixed array return type return as pointer issue
2016-05-06 17:07:02 +08:00
Mateusz Mackowiak
75cc10fdfa
Fix typo
2016-05-06 10:51:59 +02:00
wing328
d3e77a4104
Merge pull request #2784 from catinred2/htmlDocs_response
...
Html docs response
2016-05-06 16:46:44 +08:00
Mateusz Mackowiak
65d85b7760
ResponseDeserializer for separating deserialization and service logic
2016-05-06 10:46:03 +02:00
wing328
3a80a4ff1e
fix double byte characters in description, upgrade to lang3
2016-05-06 16:36:45 +08:00
xming
70d6e64a8d
add link to param type
2016-05-06 15:31:09 +08:00
wing328
5a7e0fd181
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
...
Conflicts:
samples/server/petstore/springboot/src/main/java/io/swagger/api/ApiException.java
samples/server/petstore/springboot/src/main/java/io/swagger/api/ApiOriginFilter.java
samples/server/petstore/springboot/src/main/java/io/swagger/api/ApiResponseMessage.java
samples/server/petstore/springboot/src/main/java/io/swagger/api/NotFoundException.java
samples/server/petstore/springboot/src/main/java/io/swagger/api/PetApi.java
samples/server/petstore/springboot/src/main/java/io/swagger/api/StoreApi.java
samples/server/petstore/springboot/src/main/java/io/swagger/api/UserApi.java
samples/server/petstore/springboot/src/main/java/io/swagger/configuration/SwaggerDocumentationConfig.java
samples/server/petstore/springboot/src/main/java/io/swagger/model/Category.java
samples/server/petstore/springboot/src/main/java/io/swagger/model/ModelApiResponse.java
samples/server/petstore/springboot/src/main/java/io/swagger/model/Order.java
samples/server/petstore/springboot/src/main/java/io/swagger/model/Pet.java
samples/server/petstore/springboot/src/main/java/io/swagger/model/Tag.java
samples/server/petstore/springboot/src/main/java/io/swagger/model/User.java
2016-05-06 15:09:34 +08:00
Takuro Wada
724c25728e
Move @angular dependencies to peerDependencies
2016-05-06 16:04:24 +09:00
wing328
1dd8faf8b7
Merge pull request #2783 from GriffinSchneider/patch-1
...
Replace 'BEARER' with 'Bearer' everywhere for RFC6750 compliance.
2016-05-06 15:01:22 +08:00
xming
ea14b3b559
Merge branch 'master' into htmlDocs_response
2016-05-06 13:57:27 +08:00
wing328
dc50709f56
Merge branch 'arnested-php-fix-array-handling'
2016-05-06 10:47:00 +08:00
wing328
ac2cb647b5
Merge branch 'php-fix-array-handling' of https://github.com/arnested/swagger-codegen into arnested-php-fix-array-handling
...
Conflicts:
modules/swagger-codegen/src/main/resources/php/model.mustache
samples/client/petstore/php/SwaggerClient-php/README.md
samples/client/petstore/php/SwaggerClient-php/docs/FormatTest.md
samples/client/petstore/php/SwaggerClient-php/lib/Api/FakeApi.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Animal.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/ApiResponse.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Cat.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Category.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Dog.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/FormatTest.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Model200Response.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/ModelReturn.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Name.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Order.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Pet.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/SpecialModelName.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/Tag.php
samples/client/petstore/php/SwaggerClient-php/lib/Model/User.php
2016-05-06 10:46:36 +08:00
xming
0f1842bb06
add datatype link under responses
2016-05-06 10:35:45 +08:00
Griffin Schneider
e5ab34b658
Replace 'BEARER' with 'Bearer' everywhere.
...
RFC6750 indicates that the correct header format is 'Bearer <token>',
not 'BEARER <token>'.
2016-05-05 16:14:45 -04:00
Guo Huang
ebdf12bcd4
fixed code gen using {{#isListContainer}}*{{/isListContainer}} field
2016-05-05 11:41:58 -07:00
wing328
b92e240ac2
Merge branch 'leonyu-typescript-fetch'
2016-05-05 17:13:10 +08:00
wing328
e04c4ec640
add typescript-fetch client generator
2016-05-05 17:12:28 +08:00
wing328
e0ec38df72
Merge branch 'typescript-fetch' of https://github.com/leonyu/swagger-codegen into leonyu-typescript-fetch
2016-05-05 16:43:30 +08:00
wing328
e1d4a6205c
Merge branch 'diyfr-SpringBootServer'
2016-05-05 15:31:57 +08:00
wing328
3b8a66bb8c
rename spsringboot sh, change permission, add ModelApiResponse.java
2016-05-05 15:31:17 +08:00
wing328
3dccc7d2a1
Merge branch 'SpringBootServer' of https://github.com/diyfr/swagger-codegen into diyfr-SpringBootServer
2016-05-05 15:28:10 +08:00
wing328
060a557dee
Merge branch 'diyfr-SpringBootServer'
2016-05-05 15:24:32 +08:00
wing328
39cbee5ca2
rename springboot sh, chmod a+x, add ModelApiResponse
2016-05-05 15:23:56 +08:00
wing328
8146c874db
Merge branch 'SpringBootServer' of https://github.com/diyfr/swagger-codegen into diyfr-SpringBootServer
2016-05-05 15:03:23 +08:00
abcsun
22ea2d87e0
add validation to model
2016-05-05 11:41:14 +08:00
Jim Schubert
9b1d43c6f5
[csharp] default optionalProjectFileFlag to true
...
Possible breaking change.
optionalProjectFileFlag handles the generation of csproj and sln
files. Not modifying the plurality of the option to reduce the
impact of the breaking change for existing settings:
optionalProjectFileFlag=true
=> generates additional .sln file
optionalProjectFileFlag=false
=> no change
unspecified
=> additional files (csproj, sln) may overwrite existing files
2016-05-04 21:44:52 -04:00
Guo Huang
82770e9566
Issue #2756 : add null checking to avoid null exception
2016-05-04 13:22:46 -07:00
Leon Yu
bbeb1a3f6f
add dev-dependencies
2016-05-04 14:36:04 -04:00
Guo Huang
41b7649e62
fixed array return type return as pointer issue
2016-05-04 10:39:30 -07:00
diyfr
8209653fb0
Add SpringBoot server generator
2016-05-04 16:38:36 +02:00
黄真俊
e868690c03
add pom.xml based on build.gradle for android api client( using the volley HTTP library );
2016-05-04 19:51:53 +08:00
wing328
ec5d300bab
added Pepipost
2016-05-04 18:26:13 +08:00
kolyjjj
98a2a22abf
[koly] generate nodejs codes
2016-05-04 17:56:02 +08:00
Takuro Wada
366c7d6917
Add Opeiontal decorator to basePath
2016-05-04 18:38:54 +09:00
abcsun
f4ef2b0325
add valid function and validation to each setter
2016-05-04 16:56:56 +08:00
Takuro Wada
949da93a05
Update typescript-angular2 client to adopt to rc
2016-05-04 17:19:00 +09:00
abcsun
c8f2715edc
fix the minLength validation
2016-05-04 14:52:12 +08:00
wing328
33291f5780
Merge branch 'guohuang-tests'
2016-05-04 10:21:47 +08:00
wing328
27b8d1af81
Merge branch 'tests' of https://github.com/guohuang/swagger-codegen into guohuang-tests
...
Conflicts:
samples/client/petstore/go/pet_api_test.go
2016-05-04 10:21:38 +08:00
wing328
4117608654
Merge pull request #2749 from guohuang/pointer
...
changed go client to return object pointer
2016-05-04 10:17:07 +08:00
wing328
dc262a3567
Merge pull request #2765 from Vrolijkx/master
...
Reverting remove of client.ts in typescript-node
2016-05-04 09:57:21 +08:00
wing328
96f90106ec
Merge branch 'wing328-bherila-typescript-es6-promises'
2016-05-04 09:54:56 +08:00
wing328
8181720397
Merge branch 'bherila-typescript-es6-promises' of https://github.com/wing328/swagger-codegen into wing328-bherila-typescript-es6-promises
...
Conflicts:
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/AbstractTypeScriptClientCodegen.java
2016-05-04 09:54:42 +08:00
Guo Huang
60ee308da5
added assert to check response status match the query
2016-05-03 11:55:51 -07:00
Kristof Vrolijkx
a98c58a76f
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-05-03 20:55:28 +02:00
Kristof Vrolijkx
9fb85ae8fe
removing comment
2016-05-03 20:36:24 +02:00
Guo Huang
035ee18ba4
fixed testing issue
2016-05-03 10:27:27 -07:00
Guo Huang
a5b08a8ce7
fixed merge conflict
2016-05-03 10:16:47 -07:00
Guo Huang
3168de5f74
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen into pointer
...
# Conflicts:
# modules/swagger-codegen/src/main/resources/go/api.mustache
# samples/client/petstore/go/go-petstore/pet_api.go
# samples/client/petstore/go/go-petstore/store_api.go
# samples/client/petstore/go/go-petstore/user_api.go
2016-05-03 10:03:48 -07:00
kolyjjj
0ce6fd7b36
[koly] update swagger tools to 0.10.1
2016-05-03 22:18:43 +08:00
wing328
bed21e418b
Merge pull request #2508 from wing328/php_enum
...
[PHP][C#] better enum support
2016-05-03 20:09:51 +08:00
diyfr
9604257649
#2742 Issue multiple methods if use multi tags
2016-05-03 13:45:31 +02:00
wing328
2c41451b67
add new java file for enum mustache template
2016-05-03 18:24:25 +08:00
wing328
bfdd49a2b2
add new JS enum mustache template
2016-05-03 18:24:00 +08:00
wing328
3346c84a1f
better enum support for typescript
2016-05-03 18:23:08 +08:00
wing328
982a035cc1
add better enum support to swift
2016-05-03 18:12:35 +08:00
wing328
40815f5f00
Merge pull request #2746 from guohuang/tests
...
added user api test
2016-05-03 16:57:02 +08:00
wing328
6b0b343b92
add option to support ES6
2016-05-03 16:42:02 +08:00
Kristof Vrolijkx
ea8516d747
Readding client.ts
2016-05-03 08:39:39 +02:00
wing328
333a5edeae
Merge branch 'typescript-es6-promises' of https://github.com/bherila/swagger-codegen into bherila-typescript-es6-promises
2016-05-03 14:29:52 +08:00
wing328
1d6ec92141
add sh for groovy petstore
2016-05-03 14:11:49 +08:00
wing328
0bce28cff2
add back ts resource folder with new folder name
2016-05-03 14:09:08 +08:00
wing328
5c97717fc8
temporary remove ts resource folder
2016-05-03 14:08:02 +08:00
wing328
acb34e3db0
better JS enum class support
2016-05-03 11:21:17 +08:00
wing328
d35e30d578
better enum support for JS
2016-05-03 11:21:17 +08:00
wing328
6e8a19bc5b
fix enum for jaxrs and resteasy
2016-05-03 11:20:45 +08:00
wing328
8f2573f8a7
add new files for retrofit2rx
2016-05-03 11:20:45 +08:00
wing328
fc982d1205
add new files for java petstore
2016-05-03 11:20:44 +08:00
wing328
6370165912
fix retrofit 1, 2 java sample
2016-05-03 11:19:59 +08:00
wing328
3913388331
fix java okhttp enum mismatche tab
2016-05-03 11:19:59 +08:00
wing328
70b25a682d
fix java default and feign sample
2016-05-03 11:19:59 +08:00
wing328
0310d95800
fix csharp enum issue after rebase
2016-05-03 11:19:19 +08:00
xhh
4419e71d4b
improve enum support in java okhttp-gson client
2016-05-03 11:16:05 +08:00
xhh
8588c5ce0a
add enum support to java
2016-05-03 11:16:05 +08:00
wing328
be83c0cc3c
add new enum file for csharp and php
2016-05-03 11:16:05 +08:00
wing328
f5bee0c1b7
fix java docstring
2016-05-03 11:16:05 +08:00
wing328
2942ef8b73
add double enum support to C#
2016-05-03 11:16:05 +08:00
wing328
a7ca0ad11f
add enum number support to php
2016-05-03 11:16:05 +08:00
wing328
531b536ffb
add enum number support to C#
2016-05-03 11:15:40 +08:00
wing328
00e15b76ec
clean up post process model in csharp, add default value for enum
2016-05-03 11:14:45 +08:00
wing328
45f3cfd5cf
better enum support for csharp
2016-05-03 11:14:45 +08:00
wing328
217d93401b
better php enum naming
2016-05-03 11:14:45 +08:00
wing328
11deb43829
add enum class support to php
2016-05-03 11:14:45 +08:00
wing328
2c9e9ee425
fix getter for allowableValues for php enum
2016-05-03 11:14:45 +08:00
wing328
800a858acb
add enum support to php, refactor post process model enum
2016-05-03 11:14:44 +08:00
wing328
f2d180f9a8
Merge pull request #2754 from wing328/add_uuid_mapping
...
Add uuid mapping
2016-05-03 11:13:45 +08:00
wing328
766c73497d
Merge pull request #2750 from neilotoole/issue-2748-formatting
...
Issue #2748 - generated code now conforms more closely to conventions
2016-05-03 10:01:53 +08:00
Ben Herila
6c3701a403
ES6-ify typescript promises, update tests, remove bluebird dependency in favor of ES6 promises
2016-05-02 18:49:39 -07:00
Ben Herila
3fba32573c
Ensure generated enum values are valid, resolves #2457
2016-05-02 18:47:03 -07:00
Ben Herila
282f497839
Specify default base path in file, rather than hard-coded in each class
2016-05-02 18:47:03 -07:00
Ben Herila
d694118685
Rewrite Promise.defer in new style, resolves swagger-api/swagger-codegen#2251
2016-05-02 18:47:03 -07:00
Scott Williams
1fef0ef691
Fix import statement
2016-05-02 16:39:25 +01:00
Scott Williams
4a440f4ee4
Fix excpetion message to include
2016-05-02 16:37:32 +01:00
Scott Williams
3dbdc83981
Add validation to model
2016-05-02 16:25:46 +01:00
Neil O'Toole
803c62e0dc
fixed new line issue
2016-05-02 15:53:19 +01:00
wing328
2111e9ef8d
add new sample files
2016-05-02 22:41:50 +08:00
wing328
d64af1b836
fix typescript tmeplate folder
2016-05-02 22:16:07 +08:00
wing328
d6158c4c55
fix uuid for java, php, ruby and csharp
2016-05-02 22:06:33 +08:00
Mikolaj Przybysz
9bf4e12056
issue-2743 generating docs in root/docs(Api/Model)
2016-05-02 11:40:56 +02:00
Mikolaj Przybysz
ce6dd4b2c2
issue-2743 added autoloading of tests into composer while in dev (ref.: https://getcomposer.org/doc/04-schema.md#autoload-dev )
2016-05-02 11:39:56 +02:00
Mikolaj Przybysz
b1c030d698
issue-2743 generating unit tests in root/test directory
2016-05-02 11:37:17 +02:00
Jim Schubert
3ed715b26e
[csharp] Fix ASP.NET Core 1.0 src location
2016-05-01 20:42:10 -04:00
Jim Schubert
aa778edbd8
[csharp] Regenerate sample client
...
In this commit, FormatTest.cs was modified manually. Unrelated to this
commit, a Guid with default parameter of null was not marked nullable.
2016-05-01 20:28:50 -04:00
Jim Schubert
7d8df7ef93
Merge remote-tracking branch 'origin/master' into csharp_default_paths
2016-05-01 20:16:47 -04:00
Jim Schubert
7b578a4c4e
Update C# client structure using common standards
...
Aligns C# project outputs more with community accepted standards and
leverges Nuget for package management.
This also moves the generated C# sample code out of the test project's
Lib folder. The output structure here was causing some issues with
maintainability (e.g. had to update test project with generated code).
(see: https://gist.github.com/davidfowl/ed7564297c61fe9ab814 )
Output for a project, IO.Swagger will now look like:
.
├── IO.Swagger.sln
├── README.md
├── bin
├── build.bat
├── build.sh
├── docs
├── packages
└── src
├── IO.Swagger
│ └── packages.config
└── IO.Swagger.Test
└── packages.config
This is a change from the Java-like src/main/csharp/IO/Swagger/etc
structure and will be a breaking change for some.
2016-05-01 20:03:45 -04:00
Kristof Vrolijkx
d78b5f1773
adding diff for files in integration test
2016-05-01 22:45:06 +02:00
Scott Williams
97e69aabc3
Add support for max/min string length
2016-05-01 16:38:56 +01:00
Scott Williams
cea6bce196
Follow convention in place when accessing attributes
2016-05-01 16:15:29 +01:00
Scott Williams
6e8497fdb7
Add validation to api class
2016-05-01 16:09:02 +01:00
Kristof Vrolijkx
15feb208e7
improving integration test concept.
2016-05-01 17:06:12 +02:00
Neil O'Toole
5fdf615de7
Issue #2478 - generated code now conforms more closely to conventions
2016-05-01 14:41:40 +01:00
Kristof Vrolijkx
f8046bc9c9
small example of a first integration-test of the code-generator
2016-05-01 14:27:41 +02:00
Guo Huang
56d1b896b7
enable testing array after resty fixed their issue
2016-04-30 23:35:04 -07:00
Guo Huang
e6fb2507a4
changed go client to return object pointer
2016-04-30 23:18:59 -07:00
wing328
8f258b9a48
Merge branch 'demonfiddler-master'
2016-05-01 12:09:34 +08:00
wing328
ab7b73ca21
update js samples
2016-05-01 12:09:23 +08:00
wing328
2d5cc50bd1
Merge branch 'master' of https://github.com/demonfiddler/swagger-codegen into demonfiddler-master
...
Conflicts:
samples/client/petstore/javascript-promise/README.md
samples/client/petstore/javascript-promise/docs/PetApi.md
samples/client/petstore/javascript-promise/docs/StoreApi.md
samples/client/petstore/javascript-promise/src/api/PetApi.js
samples/client/petstore/javascript-promise/src/index.js
samples/client/petstore/javascript/README.md
samples/client/petstore/javascript/docs/PetApi.md
samples/client/petstore/javascript/docs/StoreApi.md
samples/client/petstore/javascript/src/api/PetApi.js
samples/client/petstore/javascript/src/index.js
2016-05-01 12:05:49 +08:00
wing328
27c62cbfdb
Merge pull request #2747 from wing328/fix_js_git_user
...
[Javascript] update JS readme to use gitUserId instead
2016-04-30 22:45:10 +08:00
wing328
8d9a09efb1
update JS test case
2016-04-30 21:36:25 +08:00
wing328
7f09a86a1e
update wording related to git
2016-04-30 20:23:35 +08:00
wing328
83567861e0
update JS readme to use gitUserId instead
2016-04-30 20:15:45 +08:00
Guo Huang
09248bcd25
added comments for skip test
2016-04-29 16:17:18 -07:00
Guo Huang
ed219f8a9a
fix typo
2016-04-29 16:10:10 -07:00
Guo Huang
ad28879fce
changed tabs to spaces
2016-04-29 16:02:41 -07:00
Guo Huang
a6e45bf97d
added user api test
2016-04-29 15:59:21 -07:00
wing328
02e898816f
Merge pull request #2740 from wing328/ruby_not_overwrite_test
...
[Ruby] skip overwriting ruby spec files
2016-04-30 00:21:18 +08: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
wing328
92d39ec0ab
Merge pull request #2738 from Vrolijkx/master
...
Adding generation of packaging information for typescript nodeJs app.
2016-04-29 22:30:54 +08:00
wing328
3bcd937270
Merge pull request #2720 from diyfr/Update-to-Springfox-2.4
...
Update SpringMVC model to Springfox 2.4.0
2016-04-29 17:54:12 +08:00
wing328
b021bd5ed8
Merge pull request #2737 from guohuang/pom-update
...
updated reference to use go-resty
2016-04-29 17:47:23 +08:00
wing328
0612255f95
Merge pull request #2728 from guohuang/import_bug
...
Issue #2725 : added condition to import json based on return type
2016-04-29 17:03:52 +08:00
wing328
f0906bd19a
Merge pull request #2733 from abcsun/php_parameter_validation
...
[PHP] add parameter validation in methord call
2016-04-29 16:56:52 +08:00
Kristof Vrolijkx
de5363c21b
Correcting author
2016-04-29 08:49:48 +02:00
Guo Huang
20bb1aa869
added test.go.bak
2016-04-28 21:43:14 -07:00
Guo Huang
2cb498d9fb
renamed file
2016-04-28 21:42:04 -07:00
Guo Huang
0d0ff13e83
added test.go backup file
2016-04-28 21:39:56 -07:00
wing328
90442db86d
skip overwriting ruby spec files
2016-04-29 11:10:52 +08:00
abcsun
72120099b4
change the validation to allParams
2016-04-29 11:04:27 +08:00
wing328
6b3735e58d
Merge pull request #2727 from scottrw93/test-cases
...
Add test cases for Python Client
2016-04-29 10:18:53 +08:00
Leon Yu
19d22d834c
TypeScript Fetch: implementation
2016-04-28 19:22:22 -04:00
Kristof Vrolijkx
a804738e8d
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-04-28 21:55:21 +02:00
Kristof Vrolijkx
db7a56a16f
fixing sample and typscript compile.
2016-04-28 21:54:48 +02:00
Guo Huang
619e9f17a0
updated reference to use go-resty
2016-04-28 10:09:04 -07:00
diyfr
bb3dbb1d1b
Confuse with maven version package (javax:javax.servlet-api &&
...
javax:servlet-api )
2016-04-28 15:10:39 +02:00
diyfr
4921ee8c4c
Update javax-servlet-api 3.0(missing in repo maven) to 3.0.1
2016-04-28 13:57:18 +02:00
diyfr
1836f4e8c6
Generate springmvc sample petstore
2016-04-28 10:55:48 +02:00
diyfr
91a023569b
Update missing dependencies ApiInfoBuilder
2016-04-28 10:50:25 +02:00
diyfr
31f5675e72
Create windows script for spring-mvc-petstore-j8-async-server sample
2016-04-28 10:37:55 +02:00
diyfr
2d0a5210db
Create Windows Script for Pet Sample with springMVC
2016-04-28 10:17:44 +02:00
wing328
b5e5ea6b6e
Merge pull request #2734 from achew22/javascript_closure_angular_types
...
Improve type checking for closure-angular
2016-04-28 15:42:45 +08:00
Andrew Z Allen
8a330e9dad
Improve type checking for closure-angular
...
Closure angular now has more accurate type checking enabled.
2016-04-28 06:16:43 +00:00
diyfr
0de7b49046
Update jetty-version
2016-04-28 08:12:21 +02:00
Guo Huang
8caa8abfc1
added packageName in the codegen option
2016-04-27 22:47:57 -07:00
wing328
f1ba6f5598
Merge pull request #2479 from ergon/feature/update-mainline-retrofit
...
Update retrofit2 and retrofit2rx to use retrofit 2.0.1
2016-04-28 11:44:55 +08:00
abcsun
fbde7f88ee
add parameter validation in methord call
2016-04-28 10:39:54 +08:00
Scott Williams
1674ec3799
Fix generated test directory name conflicting with sample test directory name
2016-04-27 22:53:22 +01:00
Guo Huang
3540c44e71
renamed variable
2016-04-27 14:33:04 -07:00
Guo Huang
2f8a8c05e0
Issue #2725 : added condition to import json based on return type
2016-04-27 14:29:05 -07:00
Kristof Vrolijkx
fbbcdab439
fixing generation of incorrect package, typings and tsconfig
2016-04-27 23:11:39 +02:00
Scott Williams
066baf3c16
Update comments in generated unit test stubs
2016-04-27 22:02:48 +01:00
Scott Williams
f59c43dffb
Issue #2276 Auto generated test stubs
2016-04-27 20:53:48 +01:00
Arne Jørgensen
5d57bb1e62
[PHP] Regenerate petstore sample
2016-04-27 21:04:06 +02:00
Arne Jørgensen
9f40a82310
[PHP] Fix ArrayAccess interface implmentation in models
...
The models didn't implement a generally working ArrayAccess
interface. This would fail on list container types (array).
This commit refactors some internals of the model object. The model
properties are no longer stored as separate properties on the PHP object
but as entries in a `$container` property.
This is needed to make the model work also for list containers. Besides
it avoids potential problems where the model would specify property
names that could collide with names used by the Swagger model
implementation itself (i.e. `$attributeMap`).
2016-04-27 21:00:58 +02:00
Arne Jørgensen
bbe12c1658
[PHP] Use parentSchema instead parent to detect inheritance
...
`parent` in a model is set not only when the model inherits from another
model but also when a parent container exists.
So We will now use `parentSchema` to check whether a parent class
exists. If si we still use `parent` to output the class name because
that has been converted to a proper model name and `parentSchema`
hasn't.
2016-04-27 21:00:58 +02:00
Arne Jørgensen
7f99469efd
[PHP] Add test case testing ArrayAccess interface
...
Test if we implement the ArrayAccess interface correct on out model objects.
2016-04-27 21:00:58 +02:00
wing328
67b6c3f3d3
Merge pull request #2721 from fabdslv/issue-2116
...
Fix typo introduced while fixing #2116
2016-04-27 21:42:16 +08:00
wing328
46f049bef1
Merge pull request #2719 from wing328/add_uuid_mapping
...
[Python] mapped uuid to str in python
2016-04-27 21:14:00 +08:00
Fabien Da Silva
74fb6175b6
Fix typo introduced while fixing #2116
2016-04-27 13:25:33 +02:00
Jean-Michel Douliez
4b39e0579f
returning non nil potentially void dictionary
2016-04-27 12:16:44 +02:00
wing328
0244c62b47
Merge pull request #2718 from neilotoole/issue-2717
...
issue #2717 - go code won't compile due to not respecting packageName variable
2016-04-27 17:55:59 +08:00
diyfr
adf0833527
Update swaggerConfig.mustache with springfox-code-2.4.0
...
ApiInfo have a Builder in springfox version 2.4.0
see springfox.documentation.builders.ApiInfoBuilder
nota String contact is deprecated use springfox.documentation.service (String name, String url, String email)
2016-04-27 11:41:34 +02:00
diyfr
c503396a42
Update Dependacies
...
Update to Springfox 2.4 and maven war plugin to 2.6
2016-04-27 11:39:30 +02:00
wing328
87c6566bd0
mapped uuid to str in python
2016-04-27 17:37:44 +08:00
wing328
59f9849ca0
Merge pull request #2716 from wing328/better_naming_pattern_function
...
Renmae toJSONSchemaPattern to toRegularExpression
2016-04-27 16:39:34 +08:00
Neil O'Toole
8753faf2a5
issue #2717 - go code won't compile due to not respecting packageName var
2016-04-27 09:19:23 +01:00
wing328
4d3f82e701
renmae toJSONSchemaPattern to toRegularExpression
2016-04-27 16:09:53 +08:00
Silvio Heuberger
39c08b2cfc
Regenrate samples after updating the libraries in pom and build.gradle mustache
2016-04-27 10:03:45 +02:00
Silvio Heuberger
21b39e24af
Update libraries to the newest stable version
2016-04-27 10:01:56 +02:00
wing328
3289933405
Merge pull request #2708 from PagerDuty/ruby-model-boolean-fix
...
Fix ruby model Boolean Attributes not being set
2016-04-27 13:46:21 +08:00
wing328
d9e4d5ccd1
Merge pull request #2637 from fabdslv/issue-2116
...
[Swift] Force required attrs to be defined with unwrapRequired
2016-04-27 13:32:41 +08:00
wing328
3ea3f9f0bf
Merge pull request #2712 from neilotoole/issue-2711-equals-hashcode
...
issue #2711 adding equals, hashcode etc to model classes
2016-04-27 13:17:40 +08:00
wing328
1169abac2e
Merge pull request #2707 from wing328/qt5_date
...
[Qt5][C++] fix date mapping in qt5cpp
2016-04-27 10:33:14 +08:00
Neil O'Toole
dab2b13df1
issue #2711 adding equals, hashcode etc to model classes
2016-04-27 01:32:02 +01:00
Jean-Michel Douliez
09a0222308
accepting non nil potentially void dictionary
2016-04-26 19:31:07 +02:00
Brian Hou
1361bb7c0b
Fix ruby model boolean attributes
2016-04-26 10:21:16 -07:00
wing328
2b71165584
fix date mapping in qt5cpp
2016-04-27 00:06:29 +08:00
wing328
07d2374320
Merge pull request #2699 from mateuszmackowiak/feature/obj/jsonModel_deserialization_errors
...
#1907 JsonModel deserialization errors
2016-04-26 21:20:50 +08:00
Silvio Heuberger
4b3dad7fb0
Fix pom.mustache of retrofit2 client lib
2016-04-26 14:24:47 +02:00
Silvio Heuberger
a3701cd81c
Update retrofit2 and retrofit2rx to use retrofit 2.0.1
2016-04-26 14:24:47 +02:00
Jean-Michel Douliez
8f0bd7301f
Update api.mustache
2016-04-26 14:12:58 +02:00
Fabien Da Silva
bf71b51f9b
[Swift] Enum parameters are now handled
...
Fix #2531
2016-04-26 12:31:08 +02:00
wing328
47242c510d
Merge pull request #2697 from wing328/ruby_parameter_validation
...
[Ruby] Add parameter validation in method call
2016-04-26 14:06:01 +08:00
Kristof Vrolijkx
c91f23c2ca
adding extra nodeClientOptions
2016-04-25 23:00:48 +02:00
Mateusz Mackowiak
18783e3fc7
#1907 JsonModel deserialization errors
2016-04-25 19:04:00 +02:00
Fabien Da Silva
dc4c8e5864
[Swift] Force required attrs to be defined with unwrapRequired
...
Fix #2116
Removal of forced unwrapping, replaced by required attributes in constructor
2016-04-25 18:36:32 +02:00
wing328
875414ff64
add new ruby files
2016-04-26 00:32:01 +08:00
wing328
354449ebfe
add validation to method parameters
2016-04-26 00:06:44 +08:00
wing328
89703d86b7
add hasValidation to codegenParameter
2016-04-25 22:45:45 +08:00
wing328
0792ddc9b4
Merge pull request #2695 from wing328/model-min-max-pattern
...
[Ruby] Add more validation rules to Ruby models
2016-04-25 22:41:19 +08:00
wing328
4854b79a31
add pattern check to ruby model
2016-04-25 22:23:23 +08:00
wing328
0e58265eb5
use instance variable in validation rule
2016-04-25 21:52:37 +08:00
wing328
82ee716f53
Merge pull request #2692 from guohuang/apiclient_update
...
Rewrite Api_Client.go to use resty api
2016-04-25 21:34:39 +08:00
wing328
e17a620506
add methods to validate the ruby object
2016-04-25 19:18:05 +08:00
wing328
3c36f1df37
use ArgumentError in ruby model
2016-04-25 17:45:32 +08:00
wing328
ab986a7228
add more validation test for ruby model
2016-04-25 17:36:32 +08:00
wing328
e143c6cd2f
add validation to ruby model
2016-04-25 17:07:42 +08:00
Kristof Vrolijkx
28f444e808
start adding packaging info to nodejs client.
2016-04-25 08:08:19 +02: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
wing328
d225da082c
Merge pull request #2691 from wing328/add_required_optional_vars
...
Add requiredVars and optionalVars for codegen model
2016-04-24 21:21:34 +08:00
wing328
ef9c9bc267
Merge pull request #2693 from wing328/groovy_codegen
...
[Groovy] add back the Groovy code generator
2016-04-24 19:14:38 +08:00
Kristof Vrolijkx
4ad7ea6556
Updating sample and scripts
2016-04-24 11:21:31 +02:00
wing328
fb883e5f03
add back groovy code generator
2016-04-24 16:33:15 +08: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
wing328
a281afaebf
add requiredVars and optionalVars for codegen model
2016-04-23 22:48:24 +08:00
wing328
5a6fb39aa5
Merge pull request #2689 from wing328/bug/fix_2688
...
[General] Better handle of example value
2016-04-23 18:13:43 +08:00
wing328
f1d75f46cf
fix #2688
2016-04-23 16:49:52 +08:00
wing328
5602cb6db8
Merge pull request #2676 from Vrolijkx/master
...
Typescript angular2 client can be published to npm
2016-04-23 14:58:28 +08:00
wing328
f127bbe891
Merge pull request #2685 from wing328/java_client_update
...
[Java] update maven and gradle version for Java api client
2016-04-23 13:51:49 +08:00
wing328
1ca246c4c8
update java version in pom for java api client
2016-04-23 12:59:36 +08:00
Tony Tam
bae870072c
Merge pull request #2686 from skirkpatrick/update_maven_java_version
...
[Java] Update Java version to 1.7 in generated pom
2016-04-22 13:24:43 -07:00
Scott Kirkpatrick
bf35d57178
Update Java version to 1.7 in generated pom
...
This fixes #2607 and brings the Java version in the generated pom
to match the version in the generated build.gradle.
2016-04-22 11:47:34 -07:00
wing328
8c27f296fb
update maven and gradle version for java api client
2016-04-22 23:13:12 +08:00
wing328
aa6d0cc9e4
Merge pull request #2681 from swagger-api/revert-2679-revert-2435-java-docs
...
[Java] Add auto-generated documentation in Markdown to Java clients
2016-04-22 20:31:07 +08:00
wing328
ebab222c63
add new file for jaxrs resteasy
2016-04-22 19:56:01 +08:00
wing328
7419d8634b
update jaxrs and jaxrs-resteasy petstore sample
2016-04-22 19:34:48 +08:00
wing328
920dbb2183
regenerate petstore sample for springmv
2016-04-22 17:55:02 +08:00
wing328
2f365b0a16
add new model file
2016-04-22 17:38:00 +08:00
wing328
a63dbeb4c8
fix bug related to api, model doc for java server generator
2016-04-22 17:05:22 +08:00
wing328
fb04bb7d4d
Revert "Revert "[Java] Add auto-generated documentation in Markdown to Java clients""
2016-04-22 10:13:54 +08:00
wing328
8d88cd3709
Merge pull request #2679 from swagger-api/revert-2435-java-docs
...
Revert "[Java] Add auto-generated documentation in Markdown to Java clients"
2016-04-22 00:23:53 +08:00
wing328
c171356d24
Revert "[Java] Add auto-generated documentation in Markdown to Java clients"
2016-04-22 00:21:04 +08:00
wing328
b847838a0c
Merge pull request #2655 from kolyjjj/issue2621
...
include underscore when generating nodejs controller and service method
2016-04-21 23:35:17 +08:00
wing328
bb54f8a39e
Merge pull request #2674 from cjolif/int64
...
Make sure to convert Int32/Int64 to NSNumber. fixes #2669 .
2016-04-21 22:20:15 +08:00
Kristof Vrolijkx
4c1c67cf2b
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-04-21 15:52:56 +02:00
Kristof Vrolijkx
9195e92023
using all config properties and adding extra space to package.mustache.
2016-04-21 15:52:43 +02:00
Kristof Vrolijkx
e118fddb47
generation of package.json and compilation files
2016-04-21 15:43:53 +02:00
wing328
a1a990804e
Merge pull request #2671 from andriydruk/android_equals_hashcode_fix
...
[Android] fix equals and hashCode
2016-04-21 20:58:31 +08:00
Christophe Jolif
762d4d6c78
Make sure to convert Int32/Int64 to NSNumber. fixes #2669 .
2016-04-21 14:01:16 +02:00
Kristof Vrolijkx
a75b0251c4
Starting addition of full npm package generation
2016-04-21 13:43:51 +02:00
wing328
522fb3a1ed
Merge pull request #2435 from xhh/java-docs
...
[Java] Add auto-generated documentation in Markdown to Java clients
2016-04-21 19:05:40 +08:00
xhh
ace9fc2ccc
Merge branch 'master' into java-docs
2016-04-21 18:35:27 +08:00
xhh
f8489c1fcf
Fix typo, regenerate Java petstore clients
2016-04-21 18:34:00 +08:00
Andriy Druk
7888205657
fix equals and hashcode for Android
2016-04-21 13:28:04 +03:00
wing328
82a0f142e0
Merge pull request #2670 from wing328/csharp_fix_constructor2
...
[C#] fix constructor for readonly property and remove trailing space
2016-04-21 18:25:57 +08:00
xhh
ad258a34cc
Fix test cases for Java petstore clients
2016-04-21 18:14:11 +08:00
wing328
c4b32f24cf
remove trailing space
2016-04-21 17:23:36 +08:00
wing328
6075f078b6
minor fix to constructor
2016-04-21 17:18:44 +08:00
wing328
aea6697abd
Merge pull request #2661 from wing328/python_fix_property
...
[Python] add property as a reserved word
2016-04-21 15:16:40 +08:00
wing328
a54720a586
fix typo
2016-04-21 14:36:17 +08:00
wing328
7eebf17f58
add getting started section
2016-04-21 14:34:48 +08: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
wing328
8eb3f8a448
fix python property name
2016-04-20 22:12:09 +08:00
kolyjjj
8b9c8d64d9
add method doc
2016-04-20 22:07:59 +08:00
Kristof Vrolijkx
26c8eb1068
some small import fixes
2016-04-20 16:07:02 +02:00
wing328
56ac576a18
Merge pull request #2658 from wing328/php_lumen
...
[PHP] Add PHP Lumen generator
2016-04-20 21:21:34 +08:00
abcsun
2a67161a3d
move the lumen generator to corresponding folder
2016-04-20 20:57:04 +08:00
abcsun
8866403629
remove the output folder
2016-04-20 20:56:59 +08:00
abcsun
1b71597e84
update the routes.mustache
2016-04-20 20:56:30 +08:00
abcsun
a037af1b72
add route.mustache
2016-04-20 20:56:21 +08:00
abcsun
a92ac4537e
init lumen 5.2
2016-04-20 20:56:13 +08:00
wing328
cd2c624020
Merge pull request #2656 from wing328/ruby_gemspec_improve
...
[Ruby] add default value to gem spec
2016-04-20 20:20:13 +08:00
wing328
37600e1172
add default value to gem spec
2016-04-20 18:49:29 +08:00
kolyjjj
fe704eee1f
include underscore when generating nodejs controller and service method
2016-04-20 18:32:14 +08:00
Kristof Vrolijkx
1825a467d8
Adding an index file and avoiding the use of the model.d.ts files because typescript doesn't compile it correctly.
2016-04-20 11:10:29 +02:00
wing328
2af29fa831
Merge pull request #2651 from wing328/swift_petstore_cleanup
...
[Swift] update Petstore sample for Swift
2016-04-20 16:39:33 +08:00
wing328
1178d31d1f
update petstore sample
2016-04-20 15:57:18 +08:00
wing328
bc5c83af3b
Merge pull request #2511 from oskarcarlstedt/master
...
Fixing broken enumeration swagger/json types for JaxRS-CXF templates.
2016-04-20 14:19:57 +08:00
Guo Huang
edfc4f88e1
formatted api_client code, grouped public function
2016-04-19 21:02:22 -07:00
wing328
bf15b2a43b
Merge pull request #2650 from scottrw93/update-req-versions
...
Update required packages to latest stable version
2016-04-20 11:33:33 +08:00
wing328
e8f7af8985
Merge pull request #2647 from wing328/ruby_version_upgrade
...
[Ruby] update gem spec
2016-04-20 11:21:26 +08:00
wing328
34e075cfe2
Merge pull request #2649 from arnested/php-composer-update
...
[PHP] Update PHP dependencies
2016-04-20 10:47:36 +08: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
Scott Williams
79bbab04ec
Update required packages to latest stable version
2016-04-19 21:17:43 +01:00
Guo Huang
611b711a7e
clean up generated code, added delete pet test
2016-04-19 12:52:51 -07:00
Arne Jørgensen
ecfb71a0df
[PHP] Regenerated petstore sample
2016-04-19 21:32:11 +02:00
Arne Jørgensen
357cb70795
[PHP] Update PHP dependencies
...
Updated minimum supported PHP version to 5.4.
Updated development requirements to newest versions supporting PHP 5.4.
2016-04-19 21:30:00 +02: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
wing328
ccc52c2554
update gem spec
2016-04-19 23:41:26 +08:00
wing328
25ccb250cc
Merge pull request #2645 from Vrolijkx/master
...
Typescript angular2 client
2016-04-19 21:16:03 +08:00
xhh
a3f57d6cbd
Escape model name in Java okhttp-gson client
2016-04-19 20:29:49 +08:00
xhh
f10d4c8e23
Merge branch 'master' into java-docs
...
Conflicts:
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/JavaClientCodegen.java
samples/client/petstore/java/default/pom.xml
samples/client/petstore/java/default/src/main/java/io/swagger/client/model/Animal.java
samples/client/petstore/java/default/src/main/java/io/swagger/client/model/Cat.java
samples/client/petstore/java/default/src/main/java/io/swagger/client/model/Dog.java
samples/client/petstore/java/default/src/main/java/io/swagger/client/model/Name.java
samples/client/petstore/java/jersey2/src/main/java/io/swagger/client/model/Name.java
samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/model/Cat.java
samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/model/Dog.java
samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/model/Name.java
samples/client/petstore/java/retrofit/src/main/java/io/swagger/client/StringUtil.java
samples/client/petstore/java/retrofit/src/main/java/io/swagger/client/model/Model200Response.java
samples/client/petstore/java/retrofit/src/main/java/io/swagger/client/model/ModelReturn.java
samples/client/petstore/java/retrofit/src/main/java/io/swagger/client/model/Name.java
samples/client/petstore/java/retrofit2/src/main/java/io/swagger/client/StringUtil.java
samples/client/petstore/java/retrofit2/src/main/java/io/swagger/client/model/Model200Response.java
samples/client/petstore/java/retrofit2/src/main/java/io/swagger/client/model/ModelReturn.java
samples/client/petstore/java/retrofit2/src/main/java/io/swagger/client/model/Name.java
samples/client/petstore/java/retrofit2rx/src/main/java/io/swagger/client/StringUtil.java
samples/client/petstore/java/retrofit2rx/src/main/java/io/swagger/client/model/Model200Response.java
samples/client/petstore/java/retrofit2rx/src/main/java/io/swagger/client/model/ModelReturn.java
samples/client/petstore/java/retrofit2rx/src/main/java/io/swagger/client/model/Name.java
2016-04-19 20:19:10 +08:00
Kristof Vrolijkx
dcad308f53
#1809 added typescript-angular2-petstore.sh to all all-petstore.sh
2016-04-19 14:16:38 +02:00
Kristof Vrolijkx
a69757ad73
#1809 adding samples with .sh and .bat scripts
2016-04-19 14:13:16 +02:00
Kristof Vrolijkx
d2510b6593
#1809 replacing JSOG with JSON which is provided by the browser.
2016-04-19 13:25:28 +02:00
Kristof Vrolijkx
c3dfa5dbab
#1809 resolve casing conflict part2
2016-04-19 13:00:38 +02:00
Kristof Vrolijkx
e94c433874
#1809 resolve casing conflict part1
2016-04-19 13:00:18 +02:00
Kristof Vrolijkx
034c1fbb21
#1809 resolve casing conflict part1
2016-04-19 12:59:23 +02:00
Kristof Vrolijkx
13cd2af105
Revert: #1809 changing the poms
2016-04-19 11:57:55 +02:00
Kristof Vrolijkx
c54bceffe3
#1809 Some small template changes.
2016-04-19 11:56:29 +02:00
Kristof Vrolijkx
f4fc88c6be
#1809 Adding basic angular2 typescript codegen.
2016-04-19 11:02:36 +02:00
wing328
3332692d30
Merge pull request #2634 from yonaskolb/swift_enum_type
...
Append reserved swift enum type with "Enum"
2016-04-19 16:38:06 +08:00
wing328
75001f4ead
Merge pull request #2635 from wing328/template_folder_exception
...
Add exception handling for template directory that does not exist
2016-04-19 16:28:24 +08:00
wing328
894111e3de
Merge pull request #2633 from yonaskolb/swift_case_sensitive_reserved_types
...
Make swift reserved words case sensitive again
2016-04-19 16:27:49 +08:00
wing328
8b3feda0ba
Merge pull request #2642 from yonaskolb/unescaped_operation_description
...
add unescapedNotes to CodegenOperation
2016-04-19 16:25:10 +08:00
Guo Huang
d0123f40b7
fixed go reflection type checking issue
2016-04-18 23:30:30 -07:00
Guo Huang
b57d27d3fc
added isFile logic to generate file parameters
2016-04-18 23:15:26 -07:00
Guo Huang
2fcda964ad
added ParameterToString method to handle string array issue
2016-04-18 23:06:18 -07:00
wing328
206657d0d9
Merge pull request #2639 from arnested/feature/php-test-fix
...
[PHP] Fix class name in test cases
2016-04-19 10:55:27 +08:00
Yonas Kolb
2ccb7a38f9
add unescapedNotes to CodegenOperation
2016-04-19 11:42:33 +10:00
Guo Huang
af19a70f72
updated api_client.go to ensure there is value before setting the request
2016-04-18 17:09:47 -07:00
Yonas Kolb
491ceb8987
improve line indentation
2016-04-19 10:04:11 +10:00
Guo Huang
36219a00e9
fix go build errors after upgrading to the new api client
2016-04-18 14:38:11 -07:00
Tony Tam
35ef2324e0
Merge pull request #2638 from pqrkchqps/patch-1
...
Update README.md
2016-04-18 13:44:37 -07:00
Arne Jørgensen
dcccfa4b99
Fix class name in test cases
2016-04-18 22:10:35 +02:00
John
2efb439f2e
Update README.md
...
Adding a company to the list of companies using swagger.
2016-04-18 13:53:14 -05:00
wing328
a069ea1435
add http://developer.mypurecloud.com/
2016-04-18 22:15:50 +08:00
wing328
89e150cfb2
remove unused import
2016-04-18 16:55:34 +08:00
wing328
e7388891e1
add exception handling for template dir that does not exist
2016-04-18 16:51:47 +08:00
Guo Huang
8b896a2353
updated api.mustache to call the api client http request
2016-04-17 23:45:23 -07:00
Yonas Kolb
3de7a4ba85
Append reserved swift enum type with "Enum"
2016-04-18 15:24:37 +10:00
Yonas Kolb
074ecf23e1
make reserved word checking case sensitive
2016-04-18 14:27:26 +10:00
Yonas Kolb
c87e6d6f41
Merge branch 'master' into swift_case_sensitive_reserved_types
...
# Conflicts:
# modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/SwiftCodegen.java
2016-04-18 14:22:27 +10:00
Yonas Kolb
f1503e2150
make swift reserved words case sensitive again
2016-04-18 13:55:12 +10:00
Guo Huang
87f9ff189a
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen into apiclient_update
...
# Conflicts:
# modules/swagger-codegen/src/main/resources/go/api.mustache
2016-04-17 20:41:07 -07:00
Guo Huang
c0292564ee
updated api.mustache to use the new api client
2016-04-17 20:37:19 -07:00
wing328
c375f2fed5
Merge pull request #2629 from yonaskolb/param_unescape
...
Add unescaped Parameter description
2016-04-18 11:18:22 +08:00
wing328
40fd362467
Merge pull request #2632 from wing328/csharp_doc_enhance
...
[C#] update csharp doc with minor enhancements and bug fixes
2016-04-18 10:27:01 +08:00
wing328
cbccee9c39
update csharp doc with minor enhancements and bug fixes
2016-04-18 00:19:16 +08:00
wing328
8c0cff57ba
Merge pull request #2595 from KevinGlinski/csharpdoc
...
[CSharp] Add auto-generated CSharp documentation in Markdown
2016-04-17 22:47:02 +08:00
wing328
5a06fc2119
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-04-17 17:52:45 +08:00
wing328
256d96684f
Merge branch 'kolyjjj-issue2374'
2016-04-17 17:52:15 +08:00
wing328
00aaf57f55
update springmvc sample
2016-04-17 17:51:22 +08:00
wing328
a0b429d690
Merge branch 'issue2374' of https://github.com/kolyjjj/swagger-codegen into kolyjjj-issue2374
...
Conflicts:
samples/server/petstore/spring-mvc/src/main/java/io/swagger/api/ApiException.java
samples/server/petstore/spring-mvc/src/main/java/io/swagger/api/ApiOriginFilter.java
samples/server/petstore/spring-mvc/src/main/java/io/swagger/api/ApiResponseMessage.java
samples/server/petstore/spring-mvc/src/main/java/io/swagger/api/NotFoundException.java
samples/server/petstore/spring-mvc/src/main/java/io/swagger/api/PetApi.java
samples/server/petstore/spring-mvc/src/main/java/io/swagger/api/StoreApi.java
samples/server/petstore/spring-mvc/src/main/java/io/swagger/api/UserApi.java
samples/server/petstore/spring-mvc/src/main/java/io/swagger/configuration/SwaggerConfig.java
samples/server/petstore/spring-mvc/src/main/java/io/swagger/configuration/SwaggerUiConfiguration.java
samples/server/petstore/spring-mvc/src/main/java/io/swagger/configuration/WebApplication.java
samples/server/petstore/spring-mvc/src/main/java/io/swagger/configuration/WebMvcConfiguration.java
samples/server/petstore/spring-mvc/src/main/java/io/swagger/model/ApiResponse.java
samples/server/petstore/spring-mvc/src/main/java/io/swagger/model/Category.java
samples/server/petstore/spring-mvc/src/main/java/io/swagger/model/Order.java
samples/server/petstore/spring-mvc/src/main/java/io/swagger/model/Pet.java
samples/server/petstore/spring-mvc/src/main/java/io/swagger/model/Tag.java
samples/server/petstore/spring-mvc/src/main/java/io/swagger/model/User.java
2016-04-17 17:47:58 +08:00
wing328
3c14fca9ea
Merge pull request #2628 from wing328/go_enhancement
...
[Go] update test cases
2016-04-17 17:22:51 +08:00
Yonas Kolb
9e19114c15
unescape parameter description
2016-04-17 19:11:04 +10:00
wing328
e612870e89
add new files
2016-04-17 17:10:28 +08:00
wing328
70e42cb0db
add new go files
2016-04-17 17:10:10 +08:00
wing328
23a9f069d7
remove go from pom.xml
2016-04-17 16:59:23 +08:00
wing328
993d121e35
update go test, update pom
2016-04-17 16:41:35 +08:00
wing328
8d450a29da
Merge pull request #2608 from guohuang/issue2359
...
issue#2359: added README document generation for Go
2016-04-17 16:14:59 +08:00
wing328
3191eb3234
Merge branch 'guohuang-bug'
2016-04-17 16:09:45 +08:00
wing328
9257c94985
Merge branch 'bug' of https://github.com/guohuang/swagger-codegen into guohuang-bug
2016-04-17 16:09:27 +08:00
wing328
e9f6b706d9
Merge branch 'guohuang-issue2611'
2016-04-17 16:02:19 +08:00
wing328
8af6903757
Merge branch 'issue2611' of https://github.com/guohuang/swagger-codegen into guohuang-issue2611
...
Conflicts:
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/GoClientCodegen.java
samples/client/petstore/go/pet_api_test.go
2016-04-17 16:02:12 +08:00
wing328
48a42358f0
Merge pull request #2627 from guohuang/remove_package_name
...
Removed "packageName" folder for easy installation
2016-04-17 15:58:49 +08:00
Guo Huang
3118f932c8
added CallApiAsync method in api_client
2016-04-16 22:58:13 -07:00
Guo Huang
85d30191df
fixed go build issue after removing swagger folder
2016-04-16 22:22:23 -07:00
Guo Huang
81a39990f4
Removed "packageName" folder for easy installation
2016-04-16 17:00:46 -07:00
Guo Huang
d72b501e40
added required parameters validation for Go
2016-04-16 16:43:04 -07:00
Guo Huang
a8273b9f08
changed code to use pacageVersion, removed unneeded comments
2016-04-16 15:47:34 -07:00
Guo Huang
c458834652
updated pom file, temporary disable unit test errors
2016-04-16 15:37:49 -07:00
wing328
49337a2326
Merge pull request #2623 from wing328/update_petstore_json
...
Restore petstore.json from petstore.yaml
2016-04-17 04:03:38 +08:00
wing328
5f6cc62802
fix test case
2016-04-17 03:51:38 +08:00
wing328
a3c6d3af5e
restore petstore.json from petstore.yaml
2016-04-17 03:25:12 +08:00
wing328
bb8db88b95
Merge pull request #2620 from wing328/petstore_json_restore
...
Update shell script to use petstore.yaml instead of petstore.json
2016-04-16 19:17:07 +08:00
wing328
8e85476cbb
add new fles
2016-04-16 18:19:23 +08:00
wing328
e62ba9b35d
update qt5cpp and tizen sample
2016-04-16 18:16:42 +08:00
wing328
1d5a0e5b33
update sample for JS closure angular
2016-04-16 18:11:40 +08:00
wing328
7d0c963469
update sample for html, flash
2016-04-16 17:51:12 +08:00
wing328
1fb3edc612
update akka-scala petstore, minor fix
2016-04-16 17:49:34 +08:00
wing328
8b45d88b93
Merge pull request #2322 from gibiansky/better-haskell-servant
...
Improve Haskell Code Generation
2016-04-16 17:26:52 +08:00
wing328
4b4b62b1a3
Merge pull request #2613 from tomekc/swift-validate-response
...
[swift] Check server response and fail request in case of non-2xx response
2016-04-16 16:36:25 +08:00
Guo Huang
69150883c1
added pom.mustache to generate pom.xml
2016-04-15 14:57:47 -07:00
Guo Huang
7f4aa6f1fc
issue#2611: added pom.xml for building Go
2016-04-15 10:53:23 -07:00
wing328
bb8af3da73
Merge pull request #2614 from wing328/bug/fix_requiredParamCount
...
Bug fix for requiredParamCount
2016-04-16 01:36:14 +08:00
wing328
15971eda2e
update test case for scala
2016-04-16 01:14:52 +08:00
wing328
0b42b533d9
add new files
2016-04-16 00:44:36 +08:00
wing328
79decc53a1
fix requireParameterCount in scala
2016-04-16 00:09:15 +08:00
wing328
c317f99466
fix required parameter in scala api client
2016-04-15 23:08:16 +08:00
wing328
87e542c69c
replace requiredParam with reuqired
2016-04-15 22:54:46 +08:00
Tomek Cejner
1fa5c73dcc
[swift] Validate response; return error in case if non 2xx status.
2016-04-15 16:45:35 +02:00
wing328
35144b2c1d
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-04-15 22:06:09 +08:00
wing328
51d254973a
Merge pull request #2573 from hcwilhelm/replace-requiredParamCount
...
replaced requiredParamCount with allParams
2016-04-15 22:04:45 +08:00
wing328
c284e628fd
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-04-15 21:44:58 +08:00
wing328
907664fb6e
Merge pull request #2612 from wing328/server_use_petstore_yaml
...
Update server generator to use swagger.yaml instead of swagger.json
2016-04-15 20:49:52 +08:00
wing328
c575b3f498
Merge pull request #2587 from fabdslv/issue-2451
...
[Java + Android] Update dependencies and generate samples
2016-04-15 20:34:06 +08:00
wing328
b58ed4822d
add new file in jaxrs resteasy
2016-04-15 20:29:30 +08:00
wing328
ea6210fe52
revert to git commit -m 4d85314fea
2016-04-15 20:29:01 +08:00
wing328
4b730564e3
new file in jaxrs resteasy
2016-04-15 20:26:15 +08:00
wing328
ce6b70a873
update springmvc bin to use petstore.yaml
2016-04-15 20:07:00 +08:00
wing328
c93fcc2643
update php, nodejs, scalatra server for petstore
2016-04-15 20:05:45 +08:00
wing328
400cc9e6f9
update sample for jaxrs
2016-04-15 18:18:18 +08:00
wing328
d64751958e
update sample for some server generators
2016-04-15 17:55:40 +08:00
wing328
0982afbca0
update server generator to use petstore.yaml
2016-04-15 17:42:18 +08:00
wing328
4d85314fea
Merge pull request #2606 from wing328/spring-mvc-request-header
...
[Java][SpringMVC] To fix header parameter annotation using baseName
2016-04-15 16:40:11 +08:00
wing328
81623777c7
Merge pull request #2609 from guohuang/issue2543
...
issue#2543: added api_client to set content-type and accept for http request
2016-04-15 16:38:47 +08:00
Guo Huang
11f90de808
issue#2543: added api_client to set content-type and accept for http request
2016-04-14 16:11:14 -07:00
Guo Huang
5fad90c3f6
issue#2359: added README document generation for Go
2016-04-14 14:10:15 -07:00
Kevin Glinski
96bf984fcf
fixing module names
2016-04-14 13:23:33 -04:00
wing328
7da2893e0e
to fix #2585
2016-04-15 00:42:59 +08:00
kolyjjj
ed164a77bd
[issue-2374][koly] generated the spring mvc sample
2016-04-14 23:25:43 +08:00
kolyjjj
03c4e5170f
[issue-2374][koly] use petstore.yaml instead of petstore.json, the latter contains data only for test
2016-04-14 23:17:33 +08:00
kolyjjj
c6068dcd9b
[issue-2374][koly] use three brackets to unescape variables
2016-04-14 22:20:00 +08:00
kolyjjj
4b6aec0d6f
merge
2016-04-14 21:51:01 +08:00
kolyjjj
4b7233063c
[issue-2374][koly] add return class in @apiresponse and use java languageSpecificPrimitives in super class
2016-04-14 21:32:52 +08:00
Kevin Glinski
f02ee42594
merge from upstream
2016-04-14 08:35:05 -04:00
Kevin Glinski
2beeabb33a
fixing typeos
2016-04-14 08:22:56 -04:00
Kevin Glinski
a7a39ab08b
adding readme text and nav links
2016-04-14 08:18:55 -04:00
wing328
4f84c7d3bc
Merge pull request #2583 from cjolif/nilasdefault
...
make sure user is not forced to pass nil for optional parameters
2016-04-14 19:23:24 +08:00
wing328
aff2eab055
Merge pull request #2601 from wing328/python_update_spec
...
[Python] update python to use test spec
2016-04-14 18:59:13 +08:00
wing328
5a88b9e896
update python to use test spec
2016-04-14 18:30:54 +08:00
wing328
d260604d34
Merge pull request #2574 from pixelshaded/feature/HandleFalseyParams
...
[Typescript-Node] Verify required parameter is not undefined instead of falsey.
2016-04-14 17:52:38 +08:00
wing328
09af45c20f
Merge pull request #2513 from jaz-ah/issue/2512
...
[Android] fix issue 2512: crash w/ NPE when dereferencing networkStatus which c…
2016-04-14 17:11:18 +08:00
wing328
261fa26b1e
Merge pull request #2597 from wing328/petstore_test_spec
...
[C#][Perl][Ruby][PHP] update Petstore spec
2016-04-14 16:49:22 +08:00
wing328
31120590f5
regenerate csharp sample
2016-04-14 16:30:22 +08:00
wing328
5d4c68b98a
new ruby file
2016-04-14 16:24:06 +08:00
wing328
f4e69597e5
fix typo
2016-04-14 16:24:06 +08:00
wing328
5c632e9862
update csharp test case to use another petstore spec
2016-04-14 16:24:06 +08:00
wing328
aa04bbb92e
update pet store test case for perl after switching spec
2016-04-14 16:19:39 +08:00
wing328
8f70230906
update ruby test case
2016-04-14 16:19:39 +08:00
wing328
d19ed8a89b
fix php test cases with petstore test yaml
2016-04-14 16:19:38 +08:00
wing328
1b10a513ff
Merge pull request #2594 from guohuang/issue2589
...
issue#2589: added fully qualified names memory stream for C#
2016-04-14 15:54:46 +08:00
Joseph Zuromski
7bbe4404d7
fix regression introduced in commit 00c97c8ff6
2016-04-14 00:44:30 -07:00
wing328
a5a75db2cf
Merge pull request #2598 from wing328/go_update_sample
...
[Go] regenerate go sample, rename configuration.go
2016-04-14 15:44:28 +08:00
wing328
c702a6aaa4
regenerate go sample, rename configuration.go
2016-04-14 15:15:19 +08:00
Joseph Zuromski
d9cee4c269
update samples
2016-04-14 00:00:22 -07:00
wing328
c880928519
Merge pull request #2596 from jaz-ah/swift/spacing
...
[Swift] minor spacing cleanup in Models.mustache
2016-04-14 14:55:02 +08:00
Joseph Zuromski
8331aac869
Merge branch 'master' into issue/2512
2016-04-13 23:37:45 -07:00
Joseph Zuromski
86a7637010
[Swift] minor spacing cleanup in Models.mustache
2016-04-13 23:36:16 -07:00
wing328
994a77573d
Merge pull request #2592 from guohuang/issue2582
...
issue#2582: change go api file name to snake case
2016-04-14 14:35:59 +08:00
wing328
cf4e01e4dd
Merge pull request #2591 from neilotoole/issue-2564-export-params-vendor
...
Issue #2564 : Query structs now export their fields
2016-04-14 14:15:08 +08:00
Guo Huang
35fbb3e53a
updated csharp project to use System.IO.Stream instead of Stream to avoid namespace issue
2016-04-13 22:44:00 -07:00
Guo Huang
ad1bb22661
fixed model file name to be snake case
2016-04-13 22:26:03 -07:00
wing328
50eacbe95f
Merge pull request #2593 from guohuang/issue2579
...
isssue#2579: added "UserAgent" in configuration
2016-04-14 12:46:39 +08:00
Guo Huang
a11a4541db
changed code to use packageVersion instead of version
2016-04-13 21:12:02 -07:00
wing328
4e49183fe0
Merge pull request #2590 from guohuang/bug
...
added import tests for Go
2016-04-14 12:01:39 +08:00
Kevin Glinski
67fe023efb
fixing typeo
2016-04-13 21:52:59 -04:00
Kevin Glinski
ffff0ab535
adding csharp documentation
2016-04-13 21:50:35 -04:00
Guo Huang
2dca8b003d
issue#2589: added fully qualified names memory stream for C#
2016-04-13 16:56:36 -07:00
Guo Huang
b02a88f0eb
fixed httpUserAgent not populating value issue
2016-04-13 16:26:10 -07:00
Guo Huang
1f085ccd52
isssue#2579: added "UserAgen" in configuration
2016-04-13 16:08:14 -07:00
Guo Huang
eb7d3dfe15
issue#2582: change go api file name to snake case
2016-04-13 15:40:11 -07:00
Neil O'Toole
2f3897f6d5
Issue #2564 : Query structs now export their fields
2016-04-13 16:05:03 -06:00
Guo Huang
13e56514ee
added import tests for Go
2016-04-13 14:03:19 -07:00
Fabien Da Silva
06f6bcb57d
[Java + Android] Update generated samples
2016-04-13 17:28:11 +02:00
Fabien Da Silva
4f8bbea660
[Android] Update build.gradle and pom.xml in Java libraries
...
Fix #2451
2016-04-13 14:39:20 +02:00
Christophe Jolif
fca0d0f0f7
make sure user is not forced to pass nil for optional parameters
2016-04-13 11:14:48 +02:00
wing328
3aeef74dd0
add link to wiki, faq
2016-04-13 15:57:02 +08:00
wing328
410723d23b
Merge pull request #2577 from guohuang/issue2569
...
issue #2569 : added model tests for Go
2016-04-13 15:43:33 +08:00
wing328
b1077f9684
Merge pull request #2580 from wing328/flask_optional_argument
...
[Python][Flask] add optional argument to flask controller
2016-04-13 15:41:41 +08:00
wing328
668dccfbcf
Merge pull request #2581 from guohuang/bug
...
Removed local variable declaration in Go
2016-04-13 13:58:53 +08:00
Guo Huang
2a2f8b1338
removed local variable declaration in Go
2016-04-12 20:50:58 -07:00
wing328
03b7af092b
add optional argument to flask controller
2016-04-13 11:42:02 +08:00
Guo Huang
579e356e5b
removed unneeded test fields
2016-04-12 20:38:19 -07:00
wing328
63977a2093
Merge pull request #2578 from guohuang/issue2535
...
remove unneeded function line
2016-04-13 11:23:59 +08:00
Guo Huang
6b92362735
remove unneeded function line
2016-04-12 20:20:32 -07:00
wing328
acdccdb4cb
Merge pull request #2567 from guohuang/issue2535
...
issue #2535 , added authentication header for GO
2016-04-13 09:38:26 +08:00
wing328
01ad3c3d3a
Merge pull request #2563 from neilotoole/issue-2561-post-process-params
...
Issue #2561 : set isXYZParam flags before postProcessParameter [updated]
2016-04-13 09:02:58 +08:00
Guo Huang
b4bc0be0cb
fixed all model test errors
2016-04-12 17:05:01 -07:00
Guo Huang
68f4113429
issue #2569 : added model tests for Go
2016-04-12 16:07:09 -07:00
Guo Huang
930756a76a
added missing ")" for api key
2016-04-12 09:21:08 -07:00
Alexander Fisher
da5a15b8e5
Favor explicit check for null or undefined for clarity sake.
2016-04-12 11:28:47 -04:00
Alexander Fisher
0ad7e715c4
Update error message to be clear on exact problem.
2016-04-12 11:18:23 -04:00
Alexander Fisher
60f830ccf2
Use loose equality check on null so that we throw not only on undefined params but also null ones.
2016-04-12 11:13:37 -04:00
Alexander Fisher
f20605d90e
Verify parameter is not undefined instead of falsey.
2016-04-12 08:56:28 -04:00
hcwilhelm
be0efa3b25
replayced requiredParamCount with allParams
2016-04-12 14:39:28 +02:00
wing328
cd91f457bf
Merge pull request #2571 from wing328/objc-docstring
...
[ObjC] update docstring in ObjC API header files
2016-04-12 16:02:39 +08:00
wing328
221e6ad57a
Merge pull request #2570 from wing328/fix_indention
...
Fix indention in the generated code
2016-04-12 16:00:18 +08:00
wing328
feee8de4be
udpate docstring in objc
2016-04-12 15:33:40 +08:00
wing328
b26cd66651
Merge pull request #2560 from wing328/flask_python2
...
[Python][Flask] add support for python2
2016-04-12 15:02:43 +08:00
wing328
16a20f6194
update perl indention
2016-04-12 14:51:18 +08:00
Guo Huang
6154619924
updated code to use query struct
2016-04-11 23:28:06 -07:00
Guo Huang
4e6ff1a567
added api prefix for authentication
2016-04-11 22:25:02 -07:00
wing328
b34c9dd7ee
fix indention in c#
2016-04-12 12:42:09 +08:00
Guo Huang
7fda8699b1
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen into issue2535
...
# Conflicts:
# modules/swagger-codegen/src/main/resources/go/configuration.mustache
# samples/client/petstore/go/swagger/Configuration.go
2016-04-11 20:17:57 -07:00
wing328
fb8c001075
Merge pull request #2562 from guohuang/issue2548
...
issue #2548 , added docstring to Go model and its properties
2016-04-12 10:49:19 +08:00
wing328
26c3cb64e1
Merge pull request #2546 from guohuang/issue1946
...
issue #1946 , added AddDefaultHeader method for GO
2016-04-12 10:44:16 +08:00
wing328
6240183545
update nodejs to nodejs-server
2016-04-12 10:41:59 +08:00
Guo Huang
fc80bce82f
issue #2535 , added authentication header for GO
2016-04-11 15:49:13 -07:00
Neil O'Toole
30a1330c08
Issue #2561 : set isXYZParam flags before postProcessParameters
2016-04-11 12:24:52 -06:00
Guo Huang
9c455880b2
issue #2548 , added docstring to Go model and its properties
2016-04-11 11:14:33 -07:00
Guo Huang
ae3c628875
issue#2534, added _sling.Set in the go api
2016-04-11 10:37:50 -07:00
Guo Huang
963df24eee
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen into issue1946
2016-04-11 10:19:49 -07:00
wing328
38903aa7f3
add support for python2
2016-04-12 00:43:13 +08:00
wing328
3e13f69b53
Merge pull request #2558 from wing328/master
...
[Go] update type mapping, fix indention in go model
2016-04-12 00:01:54 +08:00
wing328
d8963d0a85
udpate type mapping for go, fix indention in go model
2016-04-11 23:44:06 +08:00
wing328
c8f4edff68
Merge pull request #2554 from wing328/add_format_test
...
Add tests for different type and format for model's properties
2016-04-11 23:05:59 +08:00
wing328
0e1f1606cd
update js code gen to handle different type, format
2016-04-11 22:20:30 +08:00
wing328
68cb030609
add new files for format test model
2016-04-11 22:11:53 +08:00
wing328
87af119d9a
Merge pull request #2556 from hcwilhelm/model-option-scalatra
...
Model option scalatra
2016-04-11 21:26:10 +08:00
wing328
6c98a46bf1
Merge pull request #2555 from wing328/bug/doc_remove_isnotrequired
...
[Doc] minor fix to html doc
2016-04-11 21:11:52 +08:00
hcwilhelm
b2ee8d02a4
fix for optional field in scalatra client
2016-04-11 15:07:25 +02:00
hcwilhelm
659b216413
fix for optional field in scalatra client
2016-04-11 15:03:04 +02:00
wing328
1dc895e123
minor fix to html doc
2016-04-11 20:43:06 +08:00
wing328
f71334fe4a
Merge pull request #2551 from hcwilhelm/asyncscala-handle-option
...
Fix handling optional fields in asyncscala client model
2016-04-11 20:40:02 +08:00
wing328
1c14fc7291
fix perl indention
2016-04-11 20:34:06 +08:00
wing328
1093698315
Merge pull request #2547 from jerry1621/csharp_sync_uwp
...
fix sync call for uwp
2016-04-11 19:48:21 +08:00
wing328
44a4219e3e
fix swift mapping with int and number
2016-04-11 19:37:56 +08:00
hcwilhelm
9df6d19ddd
Fix handling optional fields in asyncscala client model
2016-04-11 13:05:01 +02:00
wing328
6c7efd502b
map bytearray to string in ts
2016-04-11 16:42:20 +08:00
Jerome Dreyer
e2941582fa
fixed tab-spacing
2016-04-11 09:49:03 +02:00
wing328
b66540e12c
Merge pull request #2537 from arnested/php-initialize-discriminator
...
[PHP] Set discriminator property in constructor
2016-04-11 14:28:06 +08:00
Jerome Dreyer
a8bbb37866
fix sync call for uwp
2016-04-11 08:24:18 +02:00
wing328
f5dd7ae031
Merge pull request #2518 from pixelshaded/feature/issue2274
...
Typescript Node: Support Multiple Api Key Auth Methods
2016-04-11 12:04:47 +08:00
Guo Huang
00fcf9946a
issue #1946 , added AddDefaultHeader method for GO
2016-04-10 20:50:53 -07:00
wing328
f304c3da8b
Merge pull request #2544 from guohuang/issue1948
...
issue #1948 , added missing apiresponse.go, renamed petapi_test.go, fixed compilation error
2016-04-11 10:51:01 +08:00
wing328
38bc120b12
Merge pull request #2427 from wing328/csharp_support_uwp
...
[C#] add UWP support to C# API client
2016-04-11 10:43:59 +08:00
Yonas Kolb
01c38f4a22
Merge pull request #2 from swagger-api/master
...
Merge from swagger-api
2016-04-11 11:49:57 +10:00
Guo Huang
21d7c8d260
added missing apiresponse.go, renamed petapi_test.go, fixed compilation error
2016-04-10 15:04:29 -07:00
wing328
4942ebdc73
Merge pull request #2532 from guohuang/issue1948
...
issue #1948 , added testing code to test go api
2016-04-11 01:05:20 +08:00
wing328
8e6bbf5625
update sample
2016-04-11 01:02:01 +08:00
wing328
e952e4435e
fix system.web import
2016-04-11 00:59:48 +08:00
wing328
a6a88decfd
add a switch for excluding system.web for ump support
2016-04-11 00:59:48 +08:00
wing328
91a2cc4b5d
fix wording "beta support"
2016-04-11 00:59:48 +08:00
wing328
559e11e6d2
add uwp support
2016-04-11 00:59:47 +08:00
wing328
f66046c932
Merge pull request #2541 from wing328/csharp_remove_trailing_whitespace
...
[C#] remove trailing spaces from C# API client
2016-04-10 23:47:05 +08:00
wing328
f52f6c64a2
Merge pull request #2542 from wing328/restore_petstore_yaml
...
[Petstore] restore petstore.yaml from http://petstore.swagger.io/v2/swagger.json
2016-04-10 23:46:55 +08:00
wing328
5bc4570b57
Merge pull request #2540 from wing328/bug/fix_issue2523
...
[ObjC] fix spec with no model for ObjC API client
2016-04-10 23:23:25 +08:00
wing328
6f7e3c71f2
update go sample
2016-04-10 23:16:32 +08:00
wing328
9bd7a708ae
fix typo in the spec
2016-04-10 23:14:02 +08:00
wing328
070d87a97c
restore petstore.yaml
2016-04-10 23:11:42 +08:00
wing328
1cd3255be6
remove trailing space for csharp api client
2016-04-10 22:04:52 +08:00
wing328
8657720c09
fix spec with no model for objc client
2016-04-10 19:34:09 +08:00
Guo Huang
b16439e17b
formatted code
2016-04-09 21:43:46 -07:00
Guo Huang
33491a7a8f
added testify assert
2016-04-09 21:40:47 -07:00
Guo Huang
aa9e19f3d9
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen into issue1948
2016-04-09 16:03:57 -07:00
Arne Jørgensen
747f6ba0bb
Regenerate PHP petstore sample
2016-04-09 21:05:45 +02:00
Arne Jørgensen
65d677c385
Set discriminator property in constructor
...
When using inheritance let the constructor set the discriminator
property to the model name.
This avoids redundant and error prone stuff like:
```
$animal = new \Swagger\Client\Model\Dog();
$animal->setClassName('Dog');
```
2016-04-09 21:05:18 +02:00
wing328
c159239d1b
Merge pull request #2529 from cobain/bugfix/issue2061_fix_DeprecationWarning_in_unit_tests
...
issue2061_fix_DeprecationWarning_in_unit_tests
2016-04-09 22:08:31 +08:00
wing328
5ea66f6762
Merge pull request #2484 from wing328/csharp_fix_constructor
...
[C#] fix extra comma in the constructor when last property is read-only
2016-04-09 21:14:30 +08:00
wing328
7cad373e2e
Merge pull request #2528 from guohuang/issue1949
...
issue #1949 added Configuration struct for GO in codegen
2016-04-09 21:13:26 +08:00
wing328
251e4bb19d
better code quality
2016-04-09 19:03:31 +08:00
wing328
be13632bb4
fix csharp extra comma in constructor
2016-04-09 19:03:31 +08:00
wing328
f7affc6344
add new object to test different format
2016-04-09 19:02:31 +08:00
wing328
693f04db99
Merge pull request #2482 from wing328/objc_doc
...
[ObjC] Add auto-generated documentation (markdown) to ObjC API client
2016-04-09 19:01:15 +08:00
wing328
5522edac0c
Merge pull request #2466 from wing328/nodejs_method_name
...
[NodeJS] fix operationId issue with Nodejs
2016-04-09 18:53:55 +08:00
wing328
15c2be2052
Merge pull request #2519 from fabdslv/issue-2509
...
Provide dependency javax.annotation for android with Retrofit 2
2016-04-09 18:42:40 +08:00
wing328
b08fb4e2f2
Merge pull request #2472 from wing328/python_auto_doc
...
[Python] automatically generate documentation (markdown) for Python API client
2016-04-09 18:41:14 +08:00
wing328
e7b85f0ce7
Merge pull request #2436 from ircecho/master
...
[Dart]: generator used underscored filenames but used non-underscored class names to import the files
2016-04-09 18:37:16 +08:00
wing328
8bded815bc
Merge pull request #2478 from ircecho/dev3
...
[Dart]: now uses double instead of num to represent double
2016-04-09 18:30:03 +08:00
wing328
50bbd9818c
Merge pull request #2465 from wing328/php_improvement
...
[PHP] minor php code improvement
2016-04-09 18:18:18 +08:00
wing328
0be18399b6
fix tos in swagger spec
2016-04-09 18:15:22 +08:00
wing328
35edb00e9b
update nodejs server sample
2016-04-09 18:12:46 +08:00
wing328
e045ed63e0
Merge pull request #2464 from wing328/ruby_improvement
...
[Ruby] minor ruby code improvement
2016-04-09 18:11:46 +08:00
wing328
64b01f7800
update nodejs server sample
2016-04-09 18:10:46 +08:00
wing328
290957f6c8
update php sample
2016-04-09 18:05:40 +08:00
wing328
02ac7d93c5
minor php code improvement
2016-04-09 17:59:28 +08:00
wing328
e3c73f5819
update ruby sample
2016-04-09 17:55:52 +08:00
wing328
dd8b581827
add new ruby files
2016-04-09 17:50:01 +08:00
wing328
074ae7e95d
update ruby sample
2016-04-09 17:47:45 +08:00
wing328
45e903b41b
minor ruby code improvement
2016-04-09 17:47:21 +08:00
wing328
9d5d047e46
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-04-09 17:46:04 +08:00
wing328
e5279203a1
Merge pull request #2434 from arnested/php-map-number-without-format
...
[PHP] Map number without format to float
2016-04-09 17:01:41 +08:00
wing328
e8c3b5e78c
Merge pull request #2418 from scottrw93/i2410
...
Issue 2410: Suport HTTP body for DELETE operation
2016-04-09 16:58:01 +08:00
wing328
444076b212
Merge pull request #2533 from ePaul/bugfix/fix-link-to-release
...
fix link in README.md.
2016-04-09 16:48:18 +08:00
wing328
27afadbc6d
Merge pull request #2417 from cjolif/int64
...
Generates Int32/Int64 for Swift when those are the required formats. …
2016-04-09 16:38:10 +08:00
wing328
3f51751670
Merge branch 'int64' of https://github.com/cjolif/swagger-codegen
2016-04-09 16:37:37 +08:00
wing328
36cad7c065
Merge pull request #2360 from stremlenye/master
...
Update JMustache dependency to support whitespace and line breaks trimming
2016-04-09 16:35:16 +08:00
Paŭlo Ebermann
48630b4c47
fix link in README.md.
...
This was missed in #2515 .
2016-04-09 10:35:10 +02:00
Guo Huang
1f39a4d3a9
issue #1948 , added testing code to test go api
2016-04-08 14:04:49 -07:00
wing328
10de0b5c5b
update python sample after rebase
2016-04-08 23:54:47 +08:00
wing328
f44e5faf1b
add http info support for python
2016-04-08 22:00:27 +08:00
zhenghaitao
bf15c88811
issue2061_fix_DeprecationWarning_in_unit_tests
2016-04-08 15:18:42 +08:00
Guo Huang
9cae125b2c
updated sample files
2016-04-07 22:27:33 -07:00
Guo Huang
20a81ca66a
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen into issue1949
2016-04-07 22:22:22 -07:00
Guo Huang
316c2cb136
added Configuration struct for GO
2016-04-07 22:16:31 -07:00
wing328
75ed978cec
Merge pull request #2526 from wing328/go_sample
...
[Go] update go sample
2016-04-08 12:35:37 +08:00
wing328
f635e22be6
update go sample
2016-04-08 12:22:15 +08:00
wing328
d84f848831
Merge pull request #2521 from gabrielvv/master
...
Fix typo in wget arg
2016-04-08 00:25:15 +08:00
gabrielvv
5f01613572
Update README.md
2016-04-07 18:17:47 +02:00
Fabien Da Silva
efd68445db
Provide dependency to javax.annotation.Generated for android with Retrofit 2
...
Fix #2509
2016-04-07 17:38:10 +02:00
wing328
c0f5bcabb5
add python doc
2016-04-07 23:18:15 +08:00
wing328
a9a229f113
add new objc doc file
2016-04-07 23:17:32 +08:00
Alexander Fisher
dd6b720e4d
Encapsulate authentications.
2016-04-07 10:37:05 -04:00
Alexander Fisher
b5dabee20a
Generate enum from api key auth methods. Use this to set api key of authentication. Update test client to set multiple keys.
2016-04-07 10:19:16 -04:00
wing328
155458012e
suggestion on new git branch
2016-04-07 14:48:06 +08:00
wing328
f3572063e5
add go, perl style guide
2016-04-07 14:43:32 +08:00
Joseph Zuromski
b9bbbc6cad
make sure to only escape an enum if the actual final variable name is going to match the enum name - now that we camelCase variable names this cuts down on the amount of enum escaping we have.
2016-04-06 15:20:38 -07:00
Tony Tam
44ee91bf02
Merge pull request #2515 from swagger-api/release-prepare
...
release prepare
2016-04-06 14:31:44 -07:00
Tony Tam
1fe2d3a165
release prepare
2016-04-06 14:07:52 -07:00
Tony Tam
90364b3d9c
Merge pull request #2504 from hcwilhelm/asyncscala-fix-dependency
...
fixed swagger-async-httpclient lib dependency
2016-04-06 14:05:19 -07:00
Joseph Zuromski
fb705cb9fa
fix issue 2512: crash w/ NPE when dereferencing networkStatus which could be nil on a volley timeout error
2016-04-06 13:24:59 -07:00
oskar
d45d36d8a2
Fixing broken enumeration swagger/json types for JaxRS-CXF templates.
2016-04-06 21:51:17 +02:00
Tony Tam
ed25943fae
added jersey2 to services
2016-04-06 12:49:10 -07:00
hcwilhelm
fdd6805233
fixed swagger-async-httpclient lib dependency
2016-04-06 15:26:51 +02:00
Wolfgang Berger
0259c45b7a
Merge branch 'master' into feature/objc-sessionmanager-merge
...
* master: (682 commits)
fix, tests for #2500
added sample files
rebuilt sample
changed to use tag sanitization method
Update doc to support resteasy
add petstore yaml
fix typo, update sinatra to use origianl petstore spec (yaml)
made timestamp generation enabled by default
rebuilt with generation timestamp disabled
rebuilt
added bootstrap sample
added script
made generation timestamp optional
added bootstrap, renamed sample
added bootstrap
updated templates
add new model in csharp
minor fix to docstring in csharp
add new files for perl, php, ruby
add new files for JS
...
2016-04-06 11:14:24 +02:00
Andrew Gibiansky
6d386aaa90
Fix a bunch of minor bugs in the Haskell generator
2016-04-05 17:47:23 -07:00
Tony Tam
c624311cab
Merge pull request #2501 from swagger-api/issue-2500
...
fix, tests for #2500
2016-04-05 15:25:39 -07:00
Tony Tam
3ea911dd74
fix, tests for #2500
2016-04-05 14:48:37 -07:00
Andrew Gibiansky
b8d723b7ae
Add run*Client functions to provide a way to run requests without Servant types
2016-04-05 12:54:04 -07:00
Andrew Gibiansky
18de12516d
Update for newest Servant types
2016-04-05 12:02:28 -07:00
Andrew Gibiansky
80015a8a86
Allow passing just objects in APIs using Aesons Value type
2016-04-05 12:02:08 -07:00
Andrew Gibiansky
c49b22bcdd
Remove dots and dashes from model names
2016-04-05 12:01:49 -07:00
Andrew Gibiansky
569d458bc9
Allow null title, as in Kubernetes Swagger Spec
2016-04-05 12:01:22 -07:00
wing328
c936f4b436
add oauth support to objc
2016-04-05 23:31:22 +08:00
Tony Tam
a1c978751a
Merge pull request #2497 from swagger-api/issue-2496
...
sanitize tags, update generation timestamp
2016-04-05 07:40:11 -07:00
Tony Tam
fd8ed46c9b
added sample files
2016-04-05 07:15:26 -07:00
Tony Tam
be5eae6583
rebuilt sample
2016-04-05 07:08:46 -07:00
Tony Tam
03adae8e36
changed to use tag sanitization method
2016-04-05 07:08:32 -07:00
wing328
02c713c90d
Merge pull request #2494 from chameleon82/fix_resteasy_doc
...
Update doc to support resteasy
2016-04-05 10:37:44 +08:00
Andrew Gibiansky
512e51777d
Update Haskell codegen to latest Stack LTS
2016-04-04 18:52:07 -07:00
Andrew Gibiansky
f28bbf251c
Fix handling of special characters in Haskell codegen
2016-04-04 18:51:56 -07:00
Andrew Gibiansky
a694dfb8fb
Create new Haskell codegen implementation.
2016-04-04 18:34:04 -07:00
Alex
b0592449eb
Update doc to support resteasy
2016-04-04 22:49:03 +06:00
wing328
af75243a31
Merge pull request #2490 from wing328/fix_spec_typo
...
[Sinatra] fix typo, update sinatra to use origianl petstore spec (yaml)
2016-04-04 16:29:13 +08:00
wing328
122df5195a
add petstore yaml
2016-04-04 16:17:45 +08:00
wing328
c2cab84612
fix typo, update sinatra to use origianl petstore spec (yaml)
2016-04-04 16:17:23 +08:00
wing328
aa805a4003
Merge pull request #2488 from swagger-api/feature/jersey2
...
Add jersey2 server support
2016-04-04 16:16:23 +08:00
Tony Tam
ee08d16ae5
made timestamp generation enabled by default
2016-04-03 14:36:23 -06:00
Tony Tam
034ed5d149
rebuilt with generation timestamp disabled
2016-04-03 14:36:00 -06:00
Tony Tam
3e279fc6e4
rebuilt
2016-04-03 14:33:06 -06:00
Tony Tam
3b9c28f561
added bootstrap sample
2016-04-03 14:31:19 -06:00
Tony Tam
cc4b3ff5d3
added script
2016-04-03 13:32:16 -06:00
Tony Tam
aab280d564
made generation timestamp optional
2016-04-03 13:31:39 -06:00
Tony Tam
4bb12871c3
added bootstrap, renamed sample
2016-04-02 18:34:58 -06:00
Tony Tam
63d2784bbf
added bootstrap
2016-04-02 08:25:12 -06:00
demonfiddler
7dfddd449d
Fix for Issue #2146 "NPE in JavascriptClientCodegen if definition name does not start with an upper case character"
2016-04-01 19:58:01 +01:00
wing328
93657d5ec5
more fix to objc sample code
2016-04-01 19:42:01 +08:00
wing328
f6bc1f5262
tested and fixed sample code for objc
2016-04-01 19:12:14 +08:00
wing328
a4e3b3b6e1
fix sample code
2016-04-01 15:10:42 +08:00
Tony Tam
4acedffffb
updated templates
2016-03-31 18:19:49 -06:00
Anton WIMMER
be23d44f12
dart now uses double instead of num to represent double
2016-03-31 16:33:41 +02:00
Anton WIMMER
d2f70cf107
Merge remote-tracking branch 'upstream/master'
2016-03-31 16:03:36 +02:00
wing328
ef1ca9f6df
update objc codegen to generate api doc
2016-03-31 22:02:01 +08:00
demonfiddler
023a941a15
Fix for Issue #2471 "JavaScript client code generator emits invalid code for map and array types"
2016-03-31 14:39:03 +01:00
demonfiddler
77638bc21d
Merge https://github.com/swagger-api/swagger-codegen
2016-03-31 14:38:15 +01:00
wing328
c39bf41d10
Merge pull request #2477 from wing328/csharp_fix_docstring
...
[C#] minor fix to docstring in csharp
2016-03-31 17:06:59 +08:00
wing328
13712ee5bc
add new model in csharp
2016-03-31 16:53:12 +08:00
wing328
f521d6e166
minor fix to docstring in csharp
2016-03-31 16:52:00 +08:00
Tony Tam
94f86613a3
Merge pull request #2470 from swagger-api/update-swagger-core
...
updated versions
2016-03-30 07:53:31 -07:00
wing328
4a45b3fc02
Merge pull request #2473 from wing328/doc_fix_typo
...
Fix typo in README.md
2016-03-30 22:53:23 +08:00
wing328
eef07f4d84
add new files for perl, php, ruby
2016-03-30 22:38:53 +08:00
wing328
f23031fc96
add new files for JS
2016-03-30 21:54:38 +08:00
wing328
2104ef3192
doc for new models
2016-03-30 21:09:34 +08:00
wing328
20f1e97df3
fix typo in readme
2016-03-30 20:58:18 +08:00
wing328
56d1a11df5
minor fix to python readme
2016-03-30 18:14:31 +08:00
wing328
ba74c69fdb
update doc for python, add new files
2016-03-30 17:50:38 +08:00
wing328
142a3bab72
generate doc for python api and doc
2016-03-30 15:14:58 +08:00
Tony Tam
d64e8b23a1
updated versions
2016-03-29 23:50:01 -07:00
Tony Tam
d16ae16551
updated versions
2016-03-29 23:46:36 -07:00
xhh
7a0eef61d0
Add enum to Java docs
...
* Parameter enum values
* Inner enum class (model property)
* Outer enum class (enum model/definition)
2016-03-29 18:17:51 +08:00
xhh
a6fd93db41
Merge branch 'master' into java-docs
2016-03-29 15:05:11 +08:00
Tony Tam
f0c3870386
fixed output path
2016-03-29 00:01:31 -07:00
wing328
981d2f1475
Merge pull request #2453 from wing328/bug/fix_2451
...
[Android] update build.gradle for android (default, volley)
2016-03-28 23:53:02 +08:00
wing328
16fe8e84dd
Merge pull request #2433 from arnested/parent-constructor-and-initialize-discriminator-property
...
[PHP] Parent constructor
2016-03-28 18:08:25 +08:00
Arne Jørgensen
da518d55d2
Regenerate PHP petstore sample
2016-03-28 11:30:27 +02:00
Arne Jørgensen
0196cdd558
[PHP] Use parent constructor when inheriting
2016-03-28 11:30:27 +02:00
wing328
5d5a6e049c
update maven version
2016-03-26 10:59:08 +08:00
demonfiddler
14ceb4bf84
Fix, tests for Issue#2240 "Support invokerPackage configuration option"
2016-03-25 16:36:06 +00:00
wing328
00c97c8ff6
update build.gradle for android (default, volley)
2016-03-25 17:35:21 +08:00
Tony Tam
cd0633a04f
Updated to release version of swagger-parser
2016-03-24 13:27:47 -07:00
wing328
f80d6c9939
Merge pull request #2447 from wing328/js_update_sample
...
[Javascript] update Petstore sample
2016-03-24 20:08:44 +08:00
wing328
eb5c689fac
update js sample
2016-03-24 19:54:25 +08:00
wing328
ec38afde0a
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-03-24 19:49:07 +08:00
xhh
64d1c40b23
Java docs: improve install instructions
2016-03-23 23:49:01 +08:00
wing328
eb69db5720
add kuary
2016-03-23 21:47:38 +08:00
Anton WIMMER
24bfe25277
dart generator now correct file names for import
2016-03-23 14:10:39 +01:00
xhh
407e96f1be
Minor fix on class name in Java markdown docs
2016-03-23 20:57:37 +08:00
xhh
133d9475e5
Merge branch 'master' into java-docs
2016-03-23 20:34:30 +08:00
xhh
df7c255cd4
Java client: generate markdown docs for jersey2 and okhttp-gson clients
2016-03-23 20:32:33 +08:00
Arne Jørgensen
194e80ddab
[PHP] Map number without format to float
...
Previously if you specified a property to be of type `number` and didn't
explicitly specify a format Codegen would map it into an (unknown) PHP
class `Number`.
We add a mapping from Swaggers `number` to PHPs `float`.
2016-03-23 13:24:12 +01:00
xhh
cb394152f9
Java client (default): add more docs to README
2016-03-23 20:05:40 +08:00
Christophe Jolif
fb56e11470
Make sure body params of type Int32/Int64 are correctly encoded for that create JSONEncodable extensions for Int32/Int64. Re-use extensions in Model.encodeToJSON to simplify code.
2016-03-22 22:23:47 +01:00
Tony Tam
327315e9ea
Merge pull request #1966 from wing328/rename_nodejs_with_server
...
[NodeJS] rename nodejs to nodejs-server
2016-03-22 12:21:37 -07:00
wing328
abee93b2c5
fix links without http://
2016-03-22 22:20:26 +08:00
wing328
84af7cf3de
add beemo, FH Münster
2016-03-22 22:09:50 +08:00
wing328
7ba8a5955d
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-03-22 19:58:53 +08:00
wing328
52f9a747e9
Merge pull request #2426 from Stuart-campbell/master
...
Updates to objc api to address issue #2422
2016-03-22 19:57:27 +08:00
Stuart Campbell
87495a747f
Changed tense of override to overridden.
2016-03-22 11:33:33 +00:00
Stuart Campbell
553ebd659a
Updates to iOS ApiClient - added getting for for offline state and settings for reachability status. This addresses "Default iOS reachability status #2422 "
2016-03-22 10:56:56 +00:00
xhh
1510684093
Add Markdown docs to Java (default) client
2016-03-22 17:38:56 +08:00
wing328
d776c66d28
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-03-22 17:22:55 +08:00
wing328
0941db6fbd
lower case eureka
2016-03-22 16:13:37 +08:00
wing328
46b2ec27a9
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-03-22 16:11:39 +08:00
wing328
4026ba3e44
add - [Eureka]( http://eure.jp/ )
2016-03-22 15:57:23 +08:00
wing328
a44918f53a
Merge pull request #2421 from kkrauth/patch-1
...
Missing multipart (form data) imports.
2016-03-21 22:07:48 +08:00
Scott Williams
a9409834df
Re-generate python client
2016-03-19 20:37:56 +00:00
Kosta Krauth
a07eb3bb14
Missing multipart (form data) imports.
...
Swagger files that declare "in: formData" parameters will result in API class that cannot be compiled due to the usage of "@Multipart" annotations in method signatures.
2016-03-19 14:12:24 -04:00
Scott Williams
4e5ba15fa0
Issue 2410: Suport HTTP body for DELETE operation
2016-03-19 16:51:02 +00:00
Christophe Jolif
677890fc08
Generates Int32/Int64 for Swift when those are the required formats. Fixes #2133 .
2016-03-19 13:03:33 +01:00
wing328
78e34bd7c7
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
...
Conflicts:
modules/swagger-codegen/src/main/resources/perl/README.mustache
samples/client/petstore/perl/README.md
samples/client/petstore/perl/lib/WWW/SwaggerClient/Role.pm
2016-03-19 18:20:35 +08:00
wing328
6ecf083b0f
Merge pull request #2416 from wing328/perl_update_doc
...
[Perl] update perl documentation and code samples
2016-03-19 18:14:33 +08:00
wing328
b1cde11382
update readme with better app description
2016-03-19 17:46:28 +08:00
wing328
91f963b92d
Merge pull request #2414 from xhh/java-default-value
...
Include parameter's default value in comment for operations
2016-03-19 17:44:21 +08:00
wing328
652099ab71
update perl readme
2016-03-19 17:02:51 +08:00
wing328
b89531a722
Merge pull request #2415 from wing328/php_update_sample
...
[PHP] update sample code, update test case
2016-03-19 16:39:14 +08:00
wing328
6e16883146
update perl documentation
2016-03-19 16:38:06 +08:00
wing328
97e821af6b
update php readme
2016-03-19 16:15:41 +08:00
xhh
794aae3fcf
Include parameter's default value in comment for operations
...
for Java feign, retrofit and retrofit2 clients
2016-03-19 16:12:34 +08:00
wing328
95cd8b73a6
update sample code, update test case
2016-03-19 16:03:36 +08:00
wing328
56122b4a01
Merge pull request #2408 from wing328/enhancement/getting-started
...
[JS][Ruby] Auto generate the "Getting Started" section in the README
2016-03-19 11:27:42 +08:00
wing328
d78113be95
fix summary tab in ruby api
2016-03-19 11:16:02 +08:00
wing328
04e56a165e
update js doc
2016-03-19 11:11:18 +08:00
wing328
9e45a99e60
udpate ruby api doc
2016-03-19 11:09:49 +08:00
wing328
79c967dee1
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-03-19 11:09:33 +08:00
wing328
ac102a38f9
Merge pull request #2405 from wing328/bug/swift_propert_name
...
[Swift] use baseName for swift model property
2016-03-19 10:54:51 +08:00
wing328
b65d444498
Merge pull request #2411 from demonfiddler/master
...
[JavaScript] Recommission integration tests for Issue#2258.
2016-03-19 10:31:44 +08:00
demonfiddler
3082702429
[JavaScript] Recommission integration tests for Issue#2258.
2016-03-18 18:49:17 +00:00
wing328
adfc68d707
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-03-18 18:33:05 +08:00
wing328
c3507e43a3
Merge branch 'xhh-default-value-comment'
2016-03-18 16:26:18 +08:00
wing328
8ebe20dfd5
Merge branch 'default-value-comment' of https://github.com/xhh/swagger-codegen into xhh-default-value-comment
...
Conflicts:
modules/swagger-codegen/src/main/resources/Javascript/api.mustache
2016-03-18 16:26:06 +08:00
wing328
992dc32e6b
Merge branch 'xhh-default-value-comment'
2016-03-18 16:21:12 +08:00
wing328
91489f711f
Merge branch 'default-value-comment' of https://github.com/xhh/swagger-codegen into xhh-default-value-comment
...
Conflicts:
modules/swagger-codegen/src/main/resources/Javascript/api.mustache
2016-03-18 16:20:55 +08:00
wing328
d839875d90
Merge pull request #2396 from demonfiddler/master
...
[JavaScript] Generator options and template improvements
2016-03-18 16:11:35 +08:00
wing328
b8c5fa3c10
Merge pull request #1440 from arnested/php-polymorphism-model
...
Add polymorphism in the PHP client
2016-03-18 15:45:48 +08:00
wing328
9525d67cd8
use basename for swift model property
2016-03-18 12:02:26 +08:00
Arne Jørgensen
aa61204ede
Regenerate PHP petstore sample
2016-03-18 00:52:12 +01:00
Arne Jørgensen
07630c18eb
Add polymorphism in the PHP client API
2016-03-18 00:48:50 +01:00
Arne Jørgensen
64454a16e0
Add inheritance in the PHP client model
2016-03-18 00:48:49 +01:00
Arne Jørgensen
0b71f9ee50
Add discriminator to Codegen Operation object
2016-03-18 00:48:49 +01:00
xhh
33483055a5
Java clients: fix test cases on HTTP basic auth
2016-03-17 19:04:57 +08:00
demonfiddler
9511425019
Fix, tests for Issue #2258 "[JavaScript] Generator options and template improvements"
2016-03-17 11:02:15 +00:00
wing328
431593f3cf
Merge pull request #2402 from wing328/docstring_default_value
...
Update docstring to include default value, if defined
2016-03-17 18:26:47 +08:00
wing328
05a8c47a36
update docstring to include default value
2016-03-17 17:43:21 +08:00
wing328
ca093e5aaa
Merge pull request #2401 from wing328/php_getting_started
...
[PHP] update readme, add "Getting Started" section
2016-03-17 17:12:03 +08:00
wing328
b40603d274
update readme, add getting started
2016-03-17 16:53:09 +08:00
xhh
4100a8537b
Display parameter's default value for operations
...
Done for Java clients (default, jersey2, okhttp-gson), Ruby client and
JavaScript client.
2016-03-17 16:22:36 +08:00
wing328
57b8a7ab2c
Merge pull request #2400 from wing328/perl_getting_start
...
[Perl] add "Getting Started" section for Perl documentation
2016-03-17 15:59:36 +08:00
wing328
db4218a06f
rpelace api with api_instance
2016-03-17 15:44:07 +08:00
wing328
035b27ad83
add getting start section for perl
2016-03-17 15:07:57 +08:00
wing328
04e97e3fd7
Merge pull request #2399 from wing328/perl_doc_default_value
...
[Perl] add default value to docstring in perl
2016-03-17 14:42:50 +08:00
wing328
2067e993bb
add default value to docstring in perl
2016-03-17 14:27:20 +08:00
wing328
1e8d1edc7b
Merge pull request #2391 from xhh/js-docs
...
[JavaScript] Add auto-generated documentation in Markdown to JS client
2016-03-17 13:17:57 +08:00
wing328
b00971edc9
Merge pull request #2398 from wing328/model_start_with_number2
...
Better handling of model name starting with number
2016-03-17 12:28:27 +08:00
wing328
ccd4a78514
Merge pull request #2397 from mmschettler/master
...
Fix c# client float property default values
2016-03-17 12:17:47 +08:00
wing328
8ca279f6f7
better handling of model name starting with number for android
2016-03-17 12:11:27 +08:00
xhh
5665c03d19
Fix test
2016-03-17 12:11:19 +08:00
wing328
47bb5689d9
better hanlding of model name starting with number
2016-03-17 11:49:06 +08:00
mmschettler
d2826a7376
Merge remote-tracking branch 'refs/remotes/swagger-api/master'
2016-03-16 22:49:01 +01:00
mmschettler
4594c53c81
c# client float default value
...
better solution
2016-03-16 22:42:05 +01:00
mmschettler
1b16d87dd5
Fix float default value
...
Decimal literals for floats must be casted to float, because that are
doubles by default
2016-03-16 22:08:14 +01:00
Tony Tam
b479964a60
Merge pull request #2394 from swagger-api/inflector-fixes
...
fixed typename generation for Map<?,List<?>> types and added gen fold…
2016-03-16 12:10:26 -07:00
Ole Lensmar
01353f25ba
fixed typename generation for Map<?,List<?>> types and added gen folder to maven build in generated pom
2016-03-16 11:30:33 -04:00
wing328
ec03403492
Merge pull request #2393 from wing328/model_start_with_number
...
[PHP] better handling of model name starting with number
2016-03-16 23:25:42 +08:00
wing328
4b5a0a4872
beter handling of model name starting with number
2016-03-16 23:10:59 +08:00
wing328
4d19da41dd
Merge pull request #2385 from arnested/php_date_time_iso8601_vs_atom
...
Use PHP's DateTime::ATOM for true ISO-8601 support
2016-03-16 20:40:44 +08:00
Arne Jørgensen
55ef72d47e
Regenerate PHP petstore sample
2016-03-16 13:08:09 +01:00
xhh
90bd843be6
JavaScript: add auto-generated documentation in Markdown
2016-03-16 19:42:27 +08:00
Arne Jørgensen
3823612674
Use PHP's DateTime::ATOM for true ISO-8601 support
...
Currently we use PHP's DateTime::ISO8601 for the date-time properties
but according to
http://php.net/manual/en/class.datetime.php#datetime.constants.iso8601
it is actually not compatible with ISO-8601.
Instead we should use DateTime::ATOM.
2016-03-16 11:18:26 +01:00
wing328
a019e13b23
Merge pull request #2388 from wing328/php_api_doc
...
[PHP] Add documentation (markdown) to APIs and models
2016-03-16 18:08:06 +08:00
wing328
2eda3b16cf
fix file example
2016-03-16 16:25:32 +08:00
wing328
c101c1204e
add php documentation
2016-03-16 16:14:04 +08:00
wing328
7b31dabe77
fix perl, ruby auth doc in readme
2016-03-16 14:58:19 +08:00
wing328
1e73193ef6
Merge pull request #2349 from wing328/fix_resteasy
...
[JAX-RS] Fix RestEasy's model missing java.util.ArrayList
2016-03-16 14:40:40 +08:00
wing328
c746082171
update jaxrs sample
2016-03-16 14:28:13 +08:00
wing328
dc767d0475
add new files for resteasy
2016-03-16 14:27:06 +08:00
wing328
57c493b334
add jaxrs-resteasy to ci test
2016-03-16 14:26:03 +08:00
wing328
ab41214f06
fix error with resteasy
2016-03-16 14:26:03 +08:00
wing328
838a22ba04
Merge pull request #2351 from ieb/20160310
...
non default java clients wont compile if description is empty in API json.
2016-03-16 14:22:15 +08:00
wing328
259d113d35
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen into php_api_doc
2016-03-16 11:42:27 +08:00
Tony Tam
5df69fd71e
updated to work around https://github.com/swagger-api/swagger-core/issues/1714
2016-03-15 16:06:37 -07:00
Tony Tam
ed224d4c09
updated inflector templates
2016-03-15 15:58:55 -07:00
wing328
44e9b25dfd
Merge pull request #2384 from wing328/add_petstore_yml
...
Add petstore (full) yml file
2016-03-15 22:12:43 +08:00
wing328
fb5f7716db
add petstore (full) yml file
2016-03-15 21:42:25 +08:00
wing328
45bc15257e
Merge pull request #2378 from arnested/feature/php-empty-datetime
...
Handle empty date-time gracefully
2016-03-15 20:45:59 +08:00
Arne Jørgensen
65b78f7ffe
Handle empty date-time gracefully
...
Some API's return an invalid, empty string as a date-time property.
DateTime::__construct() will return the current time for empty input
which is probably not what is meant.
The invalid empty string is probably to be interpreted as a missing
field/value.
Let's handle this graceful.
2016-03-15 06:46:51 +01:00
wing328
d02d3df158
Merge pull request #2376 from wing328/user_agent_update
...
Update User-Agent for Ruby, Python, PHP, Java, Android
2016-03-15 12:16:01 +08:00
wing328
6d2649de00
fix http user agent in C#
2016-03-15 11:41:48 +08:00
wing328
1936af2cab
update android user agent
2016-03-15 11:41:48 +08:00
wing328
be7a49385f
set default user default for ruby, php, python, java
2016-03-15 11:41:47 +08:00
wing328
e10c28596c
update user-agent for Ruby
2016-03-15 11:41:47 +08:00
wing328
df8d4fd8b8
remove releaseVersion (duplicated with packageVersion)
2016-03-15 11:40:09 +08:00
wing328
3c997ea743
Merge pull request #2375 from xhh/ruby-doc
...
[Ruby] Add require and print statements to Ruby client docs
2016-03-15 11:34:25 +08:00
wing328
532d22c5a3
add api documentation to php
2016-03-14 17:25:11 +08:00
xhh
7505b167b7
Ruby docs: add require and print statements
2016-03-14 15:42:59 +08:00
wing328
3147061345
add github integration
2016-03-14 13:39:07 +08:00
wing328
84564ae231
Merge pull request #2371 from wing328/csharp_user_agent
...
[C#] add httpUserAgent option, add configurable user-agent support to C#
2016-03-14 11:03:57 +08:00
wing328
c69abad852
Merge pull request #2372 from wing328/improve_perl_doc
...
[Perl] add authentication sample code to perl, add links to readme, API list, model list
2016-03-14 10:50:37 +08:00
wing328
b46a1759a8
Merge pull request #2370 from wing328/php_git_push
...
[PHP] change php git_push.sh location
2016-03-14 10:22:29 +08:00
wing328
7f6069f255
add auth sample code to perl, add links to readme, etc
2016-03-13 22:43:46 +08:00
wing328
cdecb5133f
add httpUserAgent option, add customized user-agent support to C#
2016-03-13 17:28:43 +08:00
wing328
41383e78c3
change php git_push location
2016-03-13 15:58:04 +08:00
wing328
4a53db839d
Merge pull request #2369 from wing328/csharp_http_basic
...
[C#] fix base64encode issue in csharp
2016-03-13 13:24:59 +08:00
wing328
0e45f868a0
fix base64encode in csharp, add test case
2016-03-13 00:05:32 +08:00
wing328
d3f26f72d9
Merge pull request #2366 from wing328/git_push_sh
...
Add git_push.sh and .gitignore to client generators
2016-03-12 21:24:16 +08:00
wing328
b09d34e37c
fix scala test cases
2016-03-12 18:44:03 +08:00
wing328
a529d9dfe0
push new git_push and .gitinore file
2016-03-12 18:01:53 +08:00
wing328
637bdd2f50
add git_push and gitignore to most client generators
2016-03-12 17:35:25 +08:00
wing328
9368fccecc
Merge pull request #2344 from xhh/ruby-doc
...
[Ruby] Add auto-generated documentation in Markdown to Ruby client
2016-03-12 16:08:07 +08:00
wing328
08b62687c8
Merge pull request #2365 from cbdelavenne/patch-1
...
Add LANDR Audio to the list of companies
2016-03-12 10:37:58 +08:00
Cyrille B. Delavenne
042e331f8d
Add LANDR Audio to the list of companies
...
Add LANDR Audio to the list of companies using Swagger Codegen
2016-03-11 16:46:45 -05:00
Yuriy Ankudinov
2b33a248e0
Update JMustache dependency to support whitespace trimming
2016-03-11 14:10:35 +01:00
xhh
d274af4d4a
Ruby docs: add sample code of configuring auths
2016-03-11 19:05:27 +08:00
wing328
62fbcb9e8b
Merge pull request #2323 from xhh/js-model-export
...
[JavaScript] Remove "undefined" from model dependency arguments
2016-03-11 18:08:06 +08:00
wing328
e530016e2d
Merge pull request #2357 from wing328/perl_add_git_init
...
[Perl] add git push script and git setting CLI option
2016-03-11 17:40:55 +08:00
wing328
f619ed3527
fix java docstring
2016-03-11 17:13:19 +08:00
wing328
2c5be10589
add git push script to perl
2016-03-11 16:25:45 +08:00
xhh
1df0923525
Ruby: improve handling of default values and examples for parameters in docs
2016-03-11 15:23:55 +08:00
wing328
3bebbada98
fix command line, update git_push.sh
2016-03-11 14:50:03 +08:00
wing328
51dba5462a
Merge pull request #2354 from delenius/java-pom-warnings
...
Fix warnings in generated pom.xml file
2016-03-11 11:28:11 +08:00
delenius
a1052a0534
Fix warnings in generated pom.xml file
...
This also updates the generated petstore, due to previous
changes (not mine).
2016-03-10 11:51:05 -08:00
Ian Boston
f097859ce3
Fixed broken builds when definition contains no description
2016-03-10 15:45:20 +00:00
wing328
4d023e9b92
add release support
2016-03-10 23:11:08 +08:00
xhh
eafcc2427d
Some improvements on Ruby docs
2016-03-10 17:19:18 +08:00
wing328
deea3f5c72
Merge pull request #2350 from wing328/csharp_comment
...
[C#] escape HTML special character in Model's summary and value
2016-03-10 14:49:50 +08:00
wing328
ac15938080
escape html spec char in model summary and value, add model to test
...
model and property name
2016-03-10 14:35:16 +08:00
wing328
e45679a585
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-03-10 14:21:10 +08:00
wing328
53ef4cfebf
Merge pull request #2348 from nrekretep/master
...
CSharpClientCodegen: Members with same name as the class will not be renamed.
2016-03-10 14:16:21 +08:00
wing328
5bb9e108c3
add new models
2016-03-10 10:57:39 +08:00
wing328
4649579bac
Merge pull request #2346 from krisztiankocsis/optimaster-fixes
...
Fix invalid variable type in RESTEasy's LocalDateTimeProvider template.
2016-03-10 09:31:32 +08:00
Peter Kern
cf75f823c4
Default values for enums were not generated correctly.
2016-03-09 22:52:36 +01:00
Peter Kern
a3d0fd61f8
compile.bat needs to use backslash to work inside a normal windows cmd. bin directory should be created if it does not exists.
2016-03-09 21:47:20 +01:00
Peter Kern
17a6f5cefb
super.postProcessModels needs to be called. Otherwise renaming of members with same name as the class does not take place.
2016-03-09 21:34:33 +01:00
Tony Tam
bd83cfa670
Merge pull request #2342 from swagger-api/issue-2341
...
added import when description is present
2016-03-09 10:08:21 -08:00
Krisztian Kocsis
792365abcb
Fix invalid variable type in RESTEasy's LocalDateTimeProvider template.
2016-03-09 14:38:19 +01:00
xhh
96707e1fea
Remove obsolete test files
2016-03-09 19:53:19 +08:00
xhh
91bae765ef
Some fixes to Ruby docs on links and File parameter
2016-03-09 19:36:28 +08:00
xhh
43d2df9753
Delete docs files of Ruby Petstore for regenerating
...
with same file names but in different case
2016-03-09 19:34:59 +08:00
xhh
a9042e2410
Ruby: add gitignore
2016-03-09 17:40:27 +08:00
wing328
b3c4d6be37
Merge pull request #2343 from wing328/perl_doc_improve1
...
[Perl] fix link to File type in documentation, add .gitignore
2016-03-09 17:30:30 +08:00
xhh
2c64b885bb
Ruby: add auto-generated documentation in Markdown
2016-03-09 17:18:15 +08:00
Tony Tam
bcd3c2cb32
test fix
2016-03-09 00:33:05 -08:00
wing328
7dff26912a
fix link to file, add .gitignore
2016-03-09 16:21:51 +08:00
Tony Tam
8da197ced7
added import when description is present
2016-03-09 00:03:06 -08:00
wing328
998087d662
Merge pull request #2333 from wing328/perl_doc_authoriziation
...
[Perl add auth setting to Perl documentation (markdown)
2016-03-08 21:29:20 +08:00
wing328
df61aa1a14
add auth setting to perl doc
2016-03-08 20:07:46 +08:00
wing328
d198983cdf
Merge pull request #2327 from xhh/sort-api-model
...
Sort APIs and models by name
2016-03-08 17:49:06 +08:00
wing328
7d6ef74663
Merge pull request #2332 from wing328/perl_new_template
...
[Perl] add new files for Perl generator
2016-03-08 17:09:18 +08:00
wing328
24c47c7434
add new files for perl generator
2016-03-08 17:07:53 +08:00
wing328
70cd71fd35
Merge pull request #2320 from wing328/perl_doc
...
[Perl] Add auto-generated Perl documentation in Markdown
2016-03-08 17:03:16 +08:00
wing328
9c7316d77a
fix return type in perl doc
2016-03-08 16:55:17 +08:00
wing328
9eecccb418
fix java docstring
2016-03-08 16:24:17 +08:00
wing328
4ec8003ab5
add isPrimitiveType,baseType to parameter
2016-03-08 16:24:16 +08:00
wing328
1b652dab5e
fix MD in perl doc
2016-03-08 16:24:16 +08:00
wing328
855f46fed0
add api and model documentation
2016-03-08 16:24:16 +08:00
wing328
e5ed295a78
add example to codegen parameter
2016-03-08 16:24:16 +08:00
wing328
7d642b28b9
add doc for api method
2016-03-08 16:24:16 +08:00
wing328
c9434347c2
Merge pull request #2325 from cbornet/scalar_converter
...
Add scalar converter to retrofit2
2016-03-08 15:50:45 +08:00
Yonas Kolb
f83c200073
Merge pull request #1 from swagger-api/master
...
Merge from swagger-api
2016-03-08 11:00:03 +11:00
wing328
bc559b3b69
Merge pull request #2328 from wing328/model_reserved_word
...
Use "Model" to handle model name with reserved keywords
2016-03-07 23:04:42 +08:00
wing328
97b00864ff
add StringUtils to JavascriptClosureAngularClientCodegen.java
2016-03-07 21:18:19 +08:00
wing328
e7725a9f45
use model instead of object for reserved keyword model name
2016-03-07 21:08:52 +08:00
wing328
bf32820223
Merge pull request #2324 from wing328/object_name_reserved_model
...
[C#] Better naming for reserved word (model name), fixed compile.bat
2016-03-07 20:39:31 +08:00
xhh
f79886910f
Sort API and models by name
2016-03-07 20:28:19 +08:00
cbornet
ba3d548712
remove okhttp and gson dependencies
2016-03-07 10:38:27 +00:00
cbornet
6f114a1556
add scalar converter to retrofit2
...
Fix #2177
2016-03-07 09:19:55 +00:00
wing328
964a44a4c5
update sample for C#
2016-03-07 17:02:36 +08:00
wing328
485d269830
use model instead of object, replace cp with copy (for winxp)
2016-03-07 16:49:29 +08:00
xhh
dfe57bfd6b
JS client: remove "undefined" from model dependency arguments
...
Closes #2279
2016-03-07 15:57:13 +08:00
wing328
b84694380b
Merge pull request #2234 from mkhludnev/master
...
issue #1875 fixing -Dapis= work for -l html, provding test.
2016-03-07 12:07:29 +08:00
wing328
945048ecb2
Merge pull request #2312 from xhh/js-object
...
[JavaScript] Handle arbitrary object in JavaScript client
2016-03-06 22:43:14 +08:00
wing328
a4ec9b9e84
Merge pull request #2317 from wing328/csharp_object_type
...
[C#] add type object support to C# API client
2016-03-05 18:46:34 +08:00
wing328
d2baf9cbd7
add type object support to C#
2016-03-05 16:29:25 +08:00
wing328
123bf19b97
Merge pull request #2316 from wing328/php_add_test_for_object
...
[PHP] update deserializer to handle object type and add more test cases
2016-03-05 15:01:07 +08:00
wing328
b5c0f17a02
update php to handle object type and add more test case
2016-03-05 14:25:01 +08:00
wing328
fd8ec21a63
add cloudboost
2016-03-04 21:53:16 +08:00
wing328
b73c368ba4
Merge pull request #2310 from wing328/better_model_name2
...
[C#][Perl][PHP] Better model name
2016-03-04 20:38:49 +08:00
xhh
8d964cff52
Handle arbitrary object in JS client
...
Closes #2165
Other changes:
* Update JS client of the Petstore sample
* Add test cases for getPetByIdInObject and getInventoryInObject
2016-03-04 18:40:03 +08:00
wing328
ecef1c6333
Merge pull request #2311 from ktjn/patch-1
...
Add svenska spel to companies using swagger
2016-03-04 17:56:11 +08:00
Tommy Alander
a415cd74fb
sorted list :-)
2016-03-04 10:09:13 +01:00
wing328
e813205ba7
Merge pull request #2303 from xhh/ruby-object-tests
...
[Ruby] Add test cases for empty "object" type to Ruby Petstore sample
2016-03-04 16:57:13 +08:00
Tommy Alander
fc654623d9
Add svenska spel to companies using swagger
2016-03-04 09:34:54 +01:00
wing328
8cf0fcf7c4
update objc and swift petstore sample
2016-03-04 15:59:13 +08:00
xhh
53d8a31bd3
Ruby client: update Petstore sample, fix model import
2016-03-04 15:41:27 +08:00
wing328
329530c442
better model name for c#
2016-03-04 14:46:01 +08:00
wing328
e0b16151f4
better model name for perl
2016-03-04 14:39:28 +08:00
wing328
ae54301ed7
better model name for php
2016-03-04 14:26:28 +08:00
wing328
adc4547c8c
Merge pull request #2299 from neoasket/issue-2094
...
issue-2904 mark 'findMethodResponse' method in DefaultCodegen.java as 'protected'
2016-03-04 12:57:01 +08:00
xhh
9b4b0111ad
Merge branch 'master' into ruby-object-tests
2016-03-04 12:45:42 +08:00
wing328
f08dfa4cbc
Merge pull request #2300 from xhh/js-model-name-prefix-suffix
...
[JavaScript] Add model name prefix/suffix to JavaScript client
2016-03-04 12:39:51 +08:00
wing328
7cc9d71dab
Merge pull request #2309 from wing328/model_name_sanitize
...
[Python] better handling of model name
2016-03-04 12:24:57 +08:00
wing328
c51f4c629e
to fix #2306
2016-03-04 12:08:57 +08:00
wing328
a92a9f2a03
Merge pull request #1990 from expectedbehavior/php-raw-string
...
[PHP] Use String instead of Byte Array
2016-03-04 10:57:59 +08:00
wing328
1e4fb0ec96
Merge pull request #2301 from wing328/update_test_file
...
Update wording for test files
2016-03-04 10:23:13 +08:00
wing328
544a69ff30
Merge pull request #2307 from jonocodes/master
...
Fix wget command in readme
2016-03-04 09:47:31 +08:00
Jono
6a450a3a96
Fix wget command in readme
...
The parameter being used was outputting a log file instead of changing downloading the file.
2016-03-03 16:15:19 -08:00
Elijah Miller
74536af3b9
Map binary to string in PHP since ByteArray is no longer in use.
2016-03-03 11:01:13 -05:00
Elijah Miller
6698c532e6
Keep PHP binary responses as strings for easier manipulation.
2016-03-03 11:01:13 -05:00
Alex Kalashnikov
0911b373de
describing @param and @return for 'findMethodResponse' method
2016-03-03 16:57:40 +04:00
xhh
8e4f9fdc7c
Add test cases for empty "object" type to Ruby Petstore
...
And fix the deserialization of empty "object" property
2016-03-03 20:36:15 +08:00
wing328
7e63226ed4
update wording for test file, minor tweats to petstore test
2016-03-03 20:19:37 +08:00
xhh
e420bfd49e
Add model name prefix/suffix to JavaScript client
2016-03-03 18:04:37 +08:00
wing328
d2bb505147
Merge pull request #1752 from justusth/master
...
Csharp Enums
2016-03-03 18:00:36 +08:00
Tommy Alander
27fc4ba4e8
remove unused line
2016-03-03 10:33:51 +01:00
Tommy Alander
e649ab1101
indent code
2016-03-03 10:33:16 +01:00
Tommy Alander
033b9871b3
fix the useage of the cli option for emitdefaultvalues and verify that it works
2016-03-03 10:27:42 +01:00
wing328
1f2026576f
Merge pull request #2297 from xhh/object-without-properties
...
Do not generate models for "object" type with no properties
2016-03-03 17:10:34 +08:00
Tommy Alander
e23626b05c
Merge remote-tracking branch 'main/master' into jmaster
2016-03-03 09:23:50 +01:00
Tommy Alander
2d6dac16b7
add cli option to specify if to emit default values in datamember
2016-03-03 08:32:23 +01:00
wing328
d28f860343
Merge pull request #2202 from traviscollins/master
...
Added discriminator support to Objective-C
2016-03-03 14:25:07 +08:00
Alex Kalashnikov
20bf205451
adding @javadoc to 'findMethodResponse' method
2016-03-03 10:15:44 +04:00
Justus Thorvaldsson
d89deba96c
Merge pull request #2 from ktjn/master
...
fix testcases
2016-03-03 06:55:23 +01:00
Alex Kalashnikov
7817ff5f3d
mark 'findMethodResponse' method in DefaultCodegen.java as 'protected' to make it possible to override for handling custom response codes
2016-03-03 09:23:55 +04:00
xhh
f9cc29fb74
Update petstore to use an inline model for testing
...
and add test cases to Java clients for "object" type with no properties.
2016-03-03 12:48:44 +08:00
Tommy Alander
cb6a71ae89
Merge remote-tracking branch 'main/master'
2016-03-02 19:48:58 +01:00
Tommy Alander
23a7af4716
regen test code for petstore csharp and fix test errors
2016-03-02 19:47:45 +01:00
xhh
7bea6da587
Do not generate models for "object" type with no properties
...
Also updated the petstore sample to include operations to cover the case
in model property and response, and updated Java clients to sync with
it.
Closes #2237
2016-03-02 21:12:27 +08:00
wing328
18262c1b61
Merge pull request #2256 from hiveship/fix-cxf-codegen
...
Fixes for JAXRS-CXF Codegen
2016-03-02 20:49:48 +08:00
wing328
78f1c7a601
Merge pull request #2294 from wing328/swift_reserved_word
...
[Swift] improvements to model
2016-03-02 18:08:33 +08:00
wing328
a57bc98f59
Merge pull request #2295 from neilotoole/issue-2292
...
Re #2292 : The generated API should now return an err for non-2xx status codes
2016-03-02 17:48:49 +08:00
Neil O'Toole
a108c6311a
Re #2292 : The generated API should now return an err for non-2xx status codes, though the functionality to return an error object per the swagger is not yet implemented.
2016-03-02 01:49:59 -07:00
wing328
cff259f489
add prefix, suffix to swift model
2016-03-02 16:34:27 +08:00
wing328
057e1d4c4b
proper indention for swift generator
2016-03-02 15:46:24 +08:00
Justus Thorvaldsson
dd36ef7a5d
Merge pull request #1 from ktjn/master
...
sync with master
2016-03-02 08:42:43 +01:00
Tommy Alander
cd0c99655c
Merge remote-tracking branch 'main/master'
2016-03-02 08:41:01 +01:00
wing328
7a7265b0d7
Merge pull request #2293 from Glagnar/issue-2181
...
Issue 2181
2016-03-02 15:34:39 +08:00
Thomas Gilbert
dea699f1ef
Update petstore swift client
2016-03-02 08:14:37 +01:00
Thomas Gilbert
785136e991
Use baseName instead of paramName when generating APIs
2016-03-02 08:14:11 +01:00
wing328
336d80cbf3
Merge pull request #2289 from neilotoole/issue-2285
...
Several minor fixes in the Go client code generator for Camelization of elements
2016-03-02 13:58:17 +08:00
wing328
4bcd81a329
Merge pull request #2286 from xhh/clj-api-name
...
[Clojure] Improve api name for the Clojure client
2016-03-02 11:16:56 +08:00
wing328
c6367009f4
Merge pull request #2290 from vzeman/patch-1
...
updated section Companies
2016-03-02 10:48:38 +08:00
Viktor Zeman
b6d2e5b2b7
updated section Companies
...
based on communication with @wing328 updated section "Companies/Projects using Swagger Codegen"
- added LiveAgent project
- added PostAffiliatePro project
2016-03-01 21:00:36 +01:00
Neil O'Toole
54b4da2872
Several minor fixes in the Go client code generator for Camelization of elements per #2285
2016-03-01 09:52:44 -07:00
wing328
ca756c2f24
Merge pull request #2288 from delenius/tojson
...
Remove toJson method from JS client
2016-03-02 00:22:18 +08:00
delenius
067d0a9318
Remove toJson method from JS client
...
Also regenerates the petstore samples.
2016-03-01 07:41:31 -08:00
wing328
ab98f1a39d
Merge pull request #2287 from vzeman/issue-2275
...
Add option to set request timeout for Javascript request
2016-03-01 22:13:05 +08:00
Rastislav Kostrab
734681ad59
Javascript samples updated
2016-03-01 14:39:16 +01:00
Viktor Zeman
42a3f184ff
Add option to set request timeout for Javascript request
2016-03-01 13:33:13 +01:00
xhh
09a2bb8b0f
Improve api name for the Clojure client
...
For example, when an operation's tag is "users-api", "users_api" or
"UsersApi", generate the api file named users_api.clj and "users-api"
as the namespace (it was "usersapi.clj" and "usersapi" before).
To implement this, I have to move the "sanitizeTag" method from
DefaultGenerator.java to DefaultCodegen.java so that its behaviour can
be overridden in ClojureClientCodegen.java, which is needed as the
default implementation would sanitize "users-api" to "usersapi" before
the tag is passed to "toApiName" and "toApiFilename".
2016-03-01 18:50:56 +08:00
Maelig Nantel
081c29c984
fix sample generation
2016-03-01 11:25:29 +01:00
wing328
6ca6606c8b
add pixoneye
2016-03-01 18:11:52 +08:00
wing328
ea3232cb08
Merge pull request #2284 from xhh/java-file-date-model-name-fix
...
[Java] Fix invalid imports when model name prefix/suffix is present
2016-03-01 18:09:32 +08:00
wing328
9aa59b92bc
Merge pull request #2271 from timbogit/fixes/clojure_generator_api_filename
...
Fix for clojure API filenames
2016-03-01 17:24:36 +08:00
Tommy Alander
cbbc2cf5ae
Merge remote-tracking branch 'main/master'
2016-03-01 09:05:13 +01:00
wing328
f8fed56863
Merge pull request #2277 from xhh/java-local-var
...
[Android] better local variable naming for Android client
2016-03-01 15:45:53 +08:00
xhh
74fedfcf20
Java: fix invalid imports when model name prefix/suffix is present
...
When generating Java clients with mode name prefix/suffix given, there
are invalid imports on Date and File, e.g. for the Petstore sample
(with model name prefix set to "My" and suffix set to "Model"):
import io.swagger.client.model.MyfileModel;
import io.swagger.client.model.MyDateModel;
This commit fixes it to:
import java.io.File;
import java.util.Date;
2016-03-01 15:01:10 +08:00
xhh
b7280d0af8
Support model prefix/suffix in Android client
2016-03-01 12:30:24 +08:00
xhh
8e937bd0a8
Merge branch 'master' into java-local-var
2016-03-01 12:06:44 +08:00
xhh
665ffa355b
Android: add localVar prefix for "response" and "builder"
2016-03-01 12:04:46 +08:00
wing328
6657434b08
Merge pull request #2168 from jimschubert/maven_plugin_configurator
...
[maven plugin] Use configurator for maven plugin
2016-03-01 11:31:01 +08:00
xhh
cc08be6eda
Fix concurrent_unit_version in android-volley build.gradle
...
Closes #2228
2016-03-01 10:50:41 +08:00
Tommy Alander
e5f55da74e
add hack to make enums nullable
2016-02-29 18:42:35 +01:00
wing328
2171ca524f
add zalando
2016-02-29 23:41:34 +08:00
Tommy Alander
8492802328
use nullable types for enums
2016-02-29 15:28:09 +01:00
wing328
6b1cd3915f
Merge pull request #2278 from xhh/clj-update
...
[Clojure] update Petstore sample and fix tests for the Clojure client
2016-02-29 19:59:21 +08:00
Tommy Alander
61c1f72b0e
use correct datatype with enums
2016-02-29 12:37:26 +01:00
xhh
a42f972dfe
Clojure client: update Petstore sample, fix tests
2016-02-29 19:06:12 +08:00
xhh
75c2cc9029
Android client: better local variable naming
...
and fix the importing of Long and Byte
2016-02-29 18:27:23 +08:00
wing328
3106cadaf7
Merge pull request #2273 from xhh/java-local-var
...
[Java] better local variable naming for Java clients
2016-02-29 18:20:52 +08:00
wing328
d665903b3f
Merge pull request #2149 from dhontecillas/master
...
support latest Retrofit 2 v2.0.0-beta4
2016-02-29 18:05:14 +08:00
wing328
9cdd5323ea
Merge pull request #2270 from wing328/ruby_prefix_suffic
...
[Ruby] add prefix, suffix support to Ruby's model
2016-02-29 17:03:35 +08:00
Maelig Nantel
fff4b315df
Update README.md
2016-02-29 09:49:51 +01:00
wing328
b5b8b4de20
fix file mapping in ruby
2016-02-29 16:44:04 +08:00
Tommy Alander
84fb351c7c
fixes after merge
2016-02-29 08:46:07 +01:00
Tommy Alander
a2be66d492
Merge remote-tracking branch 'main/master'
2016-02-29 08:24:31 +01:00
xhh
9b229de79f
Java clients: better local variable naming
2016-02-29 13:23:56 +08:00
wing328
724753f890
Merge pull request #2272 from wing328/typescript_prefix_suffic
...
[TypeScript] add prefix, suffix to TS model
2016-02-29 13:09:29 +08:00
wing328
74d91f4ea1
add prefix, suffix to ts model
2016-02-29 12:11:54 +08:00
Tim Schmelmer
14ed683f9a
Fix for clojure API filenames whenthe API is more than one word (as clojure filenames have to replace dashes with underscores)
2016-02-28 21:07:55 -07:00
wing328
6c16c10166
add prefix, suffix support to ruby
2016-02-29 11:14:32 +08:00
wing328
9f3c34dbfa
Merge pull request #2267 from wing328/objc_model_prefix
...
[ObjC] add prefix and suffix support to ObjC models
2016-02-28 18:49:50 +08:00
wing328
f3a1f829d0
Merge pull request #2266 from wing328/php_better_local_var
...
[Ruby][Python][PHP] better local variable naming for ruby, python and php
2016-02-28 18:23:11 +08:00
wing328
742e3f5070
remove 'method' from python api
2016-02-28 16:51:50 +08:00
wing328
17a93dd5ce
add prefix and suffix to objc model
2016-02-28 16:15:44 +08:00
wing328
dfa977627a
better reserved word for objc
2016-02-28 15:52:51 +08:00
wing328
f68e93c662
better local variable naming for ruby, python and php
2016-02-28 11:48:14 +08:00
wing328
335a881091
Merge pull request #2264 from wing328/csharp_enhancement_variable
...
[C#] better local variable naming for C# API client
2016-02-28 11:44:40 +08:00
wing328
8a68a64609
Merge pull request #2261 from wing328/php_model_name_improve
...
[PHP][Python][Perl] add prefix/suffix support to model name
2016-02-28 11:28:26 +08:00
wing328
7adc7516cf
Merge pull request #2262 from Glagnar/issue-2084
...
Issue 2084
2016-02-28 10:55:49 +08:00
wing328
b077ff18a2
better local variable naming for C#
2016-02-28 02:15:29 +08:00
wing328
72843adae2
Merge pull request #2244 from hideya/feature/2120
...
Fix #2120 , #2157 - Update Swift API method generation for ease of use
2016-02-28 01:09:28 +08:00
wing328
d619b5e02e
Merge pull request #2163 from vivin/enum-support-in-query-params
...
Support for enums in query parameters (issue #1347 )
2016-02-27 22:57:30 +08:00
Thomas Gilbert
a817772e25
Fix comment typo
2016-02-27 15:46:38 +01:00
Thomas Gilbert
805433a22e
Better handling of variable and parameter names
2016-02-27 15:31:40 +01:00
wing328
5db16325d4
update perl model to support prefix and suffix
2016-02-27 21:47:07 +08:00
hideya kawahara
9ee154c13a
Make {{projectName}}API namespace for API classes optional
2016-02-27 19:38:12 +09:00
wing328
28769ac671
add prefix and suffic support to php and python models
2016-02-27 18:30:56 +08:00
Vivin Paliath
c3c73b8dae
issue #1347
...
This is a fix to support enums in query parameters. Enum-related information was not being stored on `CodegenParameter` previously; it is now. Test cases have been added to make sure that the enum information is being properly processed from the model.
2016-02-26 08:37:09 -07:00
wing328
029912b25d
Merge pull request #2249 from Mindera/master
...
Fix for #2100 - List<String> being generated as List<Enum>
2016-02-26 22:34:29 +08:00
Bruno Lopes
051ba88745
Fix for #2100 - List<String> being generated as List<Enum> (update samples)
2016-02-26 14:00:58 +00:00
wing328
c74ea674e0
Merge pull request #2257 from xhh/js-reserved
...
[JavaScript] Handle reserved operationId/model name in JS client
2016-02-26 21:27:56 +08:00
wing328
ce83a90331
Merge pull request #2211 from ePaul/feature/1255-suffix+prefix-for-model-name
...
Feature/1255 suffix+prefix for model name
2016-02-26 21:16:42 +08:00
David Hontecillas
0fe8f7e375
fix build.gradle template for retrofit2
2016-02-26 13:34:57 +01:00
xhh
432fb84a06
Handle reserved operationId/model name in JS client
2016-02-26 19:56:52 +08:00
Maelig Nantel
fb954a9ecd
Update README.md
2016-02-26 11:45:21 +01:00
Paul Ebermann
36f7ffd6eb
[feature #1255 ] make JavaClientCodegen.toModelName independent from super implementation.
...
As pointed out in the review, using a super.toModelName call makes future changes harder
to review, therefore we are implementing the addition of suffix and prefix here again.
In addition, I fixed the FIXME about assigning the parameter.
2016-02-26 11:31:37 +01:00
Paul Ebermann
70bcf22c82
[feature #1255 ] fix import problem pointed out during review.
...
Instead of declaring `Map` and `List` as primitive (which caused them
to be not imported anymore), now we exclude them from the model name
transformation in `JavaClientCodegen.getSwaggerType`.
2016-02-26 11:20:20 +01:00
Paul Ebermann
0ee77636a3
[feature #1255 ] Java: Use super.toModelName to allow prefix/Suffix addition.
...
This allows using the model name prefix and suffix parameters also in Java generators.
We add List and Map to the "language specific primitives" so they don't get mangled
by the suffixes/prefixes in `getSwaggerType`
2016-02-26 11:20:20 +01:00
Jim Schubert
087b9118c1
[feature #1255 ] support model name prefix + suffix also for C#.
...
AbstractCSharpCodegen does override toModelName, which made the change
to DefaultCodegen have no effect.
2016-02-26 11:20:19 +01:00
Jim Schubert
a6f3914a92
[feature #1255 ] prefix and suffix for model names.
...
This implements the command line arguments `--model-name-prefix` and `--model-name-suffix`
for all languages which do not override `DefaultCodegen.toModelName()`.
This fixes most of swagger-api/swagger-codegen#1255 .
Connection to the maven plugin works with additional-properties, a more explicit
parameter waits for swagger-api/swagger-codegen#2168 .
2016-02-26 11:20:19 +01:00
Paul Ebermann
98c5e70f7c
[feature #1255 ] Start of an implementation of model name prefix + suffix.
...
This is just the implementation in DefaultCodegen and some configurator stuff,
the connection to command line arguments is still missing.
2016-02-26 11:20:19 +01:00
Maelig Nantel
37e62b89bc
Fixes for JAXRS-CXF Codegen
2016-02-26 10:56:26 +01:00
wing328
04ede6dff5
Merge pull request #2242 from xhh/java-reserved-operation-id
...
Handle reserved operationId/modelName in Java/Android clients
2016-02-26 17:03:10 +08:00
Mkhail Khlundev
f3a3a0211b
clearing -Dapis correctly. Travis, it's the last time, I sweargit add src/test/java/io/swagger/codegen/statichtml/StaticHtmlTagsTest.java
2016-02-26 11:31:38 +03:00
Mkhail Khlundev
d84b565069
kicking ci
2016-02-26 10:36:46 +03:00
xhh
35079fedef
Merge branch 'master' into java-reserved-operation-id
...
Conflicts:
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/AbstractCSharpCodegen.java
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/ObjcClientCodegen.java
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/PythonClientCodegen.java
2016-02-26 11:34:47 +08:00
xhh
dd3a06560d
Case-insensitive checking on reserved words
2016-02-26 11:21:54 +08:00
wing328
2573146eca
Merge pull request #2247 from wing328/csharp_add_more_test
...
[C#] add more test cases for csharp model
2016-02-26 10:08:02 +08:00
hideya kawahara
ac3ab477d3
Update Swift API method generation for ease of use
2016-02-26 09:21:30 +09:00
Mkhail Khlundev
cd0c0276dc
kicking ci
2016-02-25 23:54:00 +03:00
Mkhail Khlundev
d2a0a7b59b
kicking ci
2016-02-25 23:16:43 +03:00
Bruno Lopes
4e411a0e64
Fix for #2100 - List<String> being generated as List<Enum>
2016-02-25 19:43:10 +00:00
Mkhail Khlundev
49f56c9e23
issue #1875 fixing -Dapis= work for -l html, provding test.
2016-02-25 22:42:40 +03:00
David Hontecillas
6788c89816
fix templates for retrofit2rx and build.gradle
2016-02-25 17:00:56 +01:00
wing328
da0dc0f80a
add test cases for csharp model
2016-02-25 23:37:13 +08:00
wing328
41c0034794
Merge pull request #2243 from wing328/python_better_reserved_word
...
[Pytthon] better reserved word handling for objc
2016-02-25 22:46:08 +08:00
wing328
2d4ccbfd79
add test case to python, better resered word handling for objc
2016-02-25 20:09:58 +08:00
David Hontecillas
006092f453
removed end of line spaces
2016-02-25 12:23:27 +01:00
David Hontecillas
4ba806f656
update tests for retrofit beta4
2016-02-25 11:34:48 +01:00
wing328
005584cf2a
Merge pull request #2240 from wing328/csharp_better_reserved_word
...
[C#] add better reserved keyword handling for c#
2016-02-25 17:04:44 +08:00
xhh
6b6f0df985
Handle reserved operationId/modelName in Java/Android clients
2016-02-25 16:28:11 +08:00
wing328
700a157b40
Merge pull request #2236 from hideya/fix/2156
...
Fix 2156 - Use fixed date/time in operation.examples to avoid unnecessary diffs
2016-02-25 16:02:14 +08:00
wing328
329223f364
add better reserved keyword handling for c#
2016-02-25 15:35:05 +08:00
wing328
a351724365
Merge pull request #2239 from wing328/php_reserved_words
...
[PHP] better reserved words handling for method and model names
2016-02-25 15:06:14 +08:00
wing328
b20c90a346
Merge pull request #2238 from xhh/ruby-empty-reserved-operation-id
...
[Ruby] Handle empty/reserved operation id
2016-02-25 14:51:58 +08:00
wing328
7b42624a86
log message for writeOptional, better handling of model name for php
2016-02-25 14:37:21 +08:00
xhh
748c032d41
Ruby client: handle reserved words for model names
2016-02-25 14:36:47 +08:00
wing328
6962947611
better handling of model (reserved keyword)
2016-02-25 14:16:40 +08:00
wing328
4e034d3dc5
better reserved word handling for php
2016-02-25 13:16:54 +08:00
xhh
52c9d67025
Update petstore spec and fix tests
2016-02-25 12:20:17 +08:00
wing328
b5ba52111d
Merge pull request #2229 from xhh/js-optional-params
...
[JavaScript] Support optional parameters with object syntax
2016-02-25 11:53:56 +08:00
xhh
84c6b869f8
Ruby client: handle empty/reserved operation id
...
by using a normalized one instead of throwing errors
2016-02-25 11:48:30 +08:00
wing328
6bbd691913
add https://www.atlassian.com/
2016-02-25 11:20:31 +08:00
xhh
72b9e2dd81
Update petstore javascript-promise sample and tests
2016-02-25 10:43:45 +08:00
wing328
484ed848ac
Merge pull request #2230 from wing328/perl_reserved_word
...
[Perl] better handling of reserved keyword in Perl
2016-02-25 10:26:53 +08:00
hideya kawahara
a13bba5dc5
Use fixed date/time in operation.examples to avoid unnecessary diffs
2016-02-25 11:20:30 +09:00
wing328
b561acb966
Merge pull request #2220 from xhh/java-exception-javadoc
...
[Java] Add ApiException to javadoc
2016-02-24 22:40:35 +08:00
wing328
a65e6dbd0a
Merge pull request #2226 from wing328/model_more_boolean_flag
...
Add more boolean flags to CodegenProperty
2016-02-24 22:06:19 +08:00
wing328
2ed02ee187
better handling of reserved keyword in perl
2016-02-24 21:57:29 +08:00
xhh
baf5d2895e
JS client: support optional parameters with object syntax
...
Closes #2027
2016-02-24 20:55:46 +08:00
wing328
3cfb110f6d
fix javadoc erorr in CI
2016-02-24 17:44:19 +08:00
wing328
7fb41048dd
add boolean flag to codegen parameter
2016-02-24 17:00:33 +08:00
wing328
bd32a6a410
Merge pull request #2227 from xhh/js-reserved-property
...
[JavaScript] Fix handling of reserved words for property name
2016-02-24 14:44:16 +08:00
xhh
c2fbe349ab
JS client: handle reserved words for property name
...
Closes #2040
2016-02-24 13:12:49 +08:00
wing328
961ee39760
rename to bytearray, add check for boolean, bytearray and binary
2016-02-24 10:39:18 +08:00
wing328
6ae6fe10ec
Merge pull request #2218 from wing328/csharp_test_readonly
...
[C#] add test case, update c# model constructor
2016-02-24 10:27:33 +08:00
wing328
d6df62daaa
Merge pull request #2223 from jaz-ah/patch-1
...
Update README.md
2016-02-24 10:07:34 +08:00
jaz-ah
205348e11c
Update README.md
...
added Activehours to list of company names
2016-02-23 11:48:49 -08:00
wing328
23696c5eb3
Merge pull request #2210 from svenluzar/master
...
ApiClient Bugfix: containsString removed to support iOS 7
2016-02-24 00:31:55 +08:00
wing328
67d0916c50
add more boolean flag
2016-02-23 23:17:53 +08:00
wing328
a1e15adb8f
add required property check to aspnet5 model constructor
2016-02-23 20:39:32 +08:00
xhh
37c77d63c2
Java client: add ApiException to javadoc
...
and some indentation fixes
2016-02-23 20:09:46 +08:00
wing328
eed91d335d
remove exception comment on model constructor to avoid compile warning
2016-02-23 19:32:49 +08:00
wing328
82d7c2d780
add test case, update c# model constructor to remove readonly property
2016-02-23 19:16:26 +08:00
wing328
0520e68e29
Merge pull request #2206 from xhh/java-readonly
...
[Java] Do not generate setter method for readonly properties
2016-02-23 16:20:32 +08:00
wing328
394b0d066e
Merge pull request #2215 from swagger-api/issue-2214
...
fixes #2214
2016-02-23 11:30:47 +08:00
Jim Schubert
6f32600e9e
[maven plugin] Fix typo in comment on CodegenConfiguratorUtils
2016-02-22 22:00:33 -05:00
Tony Tam
d99de3199c
fixes #2214
2016-02-22 16:35:02 -08:00
wing328
9ad139c554
add docusign
2016-02-22 22:43:03 +08:00
wing328
e770ba12aa
add https://osdn.jp
2016-02-22 21:18:25 +08:00
Sven Luzar
4baa7c01b0
ApiClient Bugfix: containsString removed to support iOS 7
2016-02-22 13:39:21 +01:00
xhh
909d1b537b
Support readonly properties for Java retrofit clients
2016-02-22 19:00:57 +08:00
xhh
b8beca7f24
Java: do not generate setter for readonly properties
2016-02-22 15:50:43 +08:00
wing328
d05256d249
Merge pull request #2204 from wing328/case_insensitive_sort
...
Use case insensitive sort for list returned by the generator
2016-02-22 14:57:43 +08:00
wing328
5160ce9ac1
use case insensitive sort
2016-02-22 14:39:09 +08:00
wing328
0ba123d60f
Merge pull request #2196 from swagger-api/issue-2190
...
added sort
2016-02-22 14:28:15 +08:00
wing328
7307210092
better instruction to update the company list
2016-02-22 14:00:59 +08:00
wing328
f55d1a80be
added "in production", add link to submit a PR
2016-02-22 13:57:24 +08:00
Travis Collins
6a1f3f45b1
Added discriminator implementation by overriding NSDictionary initWithDictionary and returning the appropriate class.
2016-02-21 22:08:49 -05:00
wing328
508ae51f84
Merge pull request #1927 from xhh/java-imports
...
[Java] Improve imports in api/models of Java clients
2016-02-22 11:02:05 +08:00
xhh
8c36ed8409
Merge branch 'master' into java-imports
...
Conflicts:
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/JavaClientCodegen.java
2016-02-22 09:24:58 +08:00
wing328
dd37db14ed
fix link to www.expectedbehavior.com
2016-02-22 01:05:44 +08:00
wing328
1090aa2d01
fix anchor
2016-02-22 01:03:06 +08:00
wing328
60424397c1
add company list
2016-02-22 01:02:26 +08:00
wing328
ad6380cb88
Merge pull request #2199 from wing328/readonly_property
...
[C#] Add support for Readonly property
2016-02-21 23:54:52 +08:00
wing328
91da8fef52
fix typo
2016-02-21 23:33:53 +08:00
wing328
b3b4670055
add exception comment, minor enhancement to param description
2016-02-21 23:31:19 +08:00
wing328
d42f23f829
update test case, minor fix to required property in c#
2016-02-21 23:09:56 +08:00
wing328
890b7d17e3
add readonly property support to C#
2016-02-21 22:36:04 +08:00
wing328
e9bb912fca
Merge pull request #2198 from wing328/csharp_doc_exception
...
[C#] add "exception" documentation to methods
2016-02-21 21:36:29 +08:00
wing328
95ec991c52
add exception comment
2016-02-21 18:54:13 +08:00
wing328
10caf449fb
Merge pull request #2195 from swagger-api/issue-2193
...
added folder to writeOptional
2016-02-21 18:13:29 +08:00
wing328
093448f724
Merge pull request #2192 from tonicospinelli/php-client
...
avoid inner class
2016-02-21 17:50:21 +08:00
Tony Tam
671c5880b9
added sort
2016-02-20 21:09:27 -08:00
Tony Tam
fc56546d34
added folder to writeOptional
2016-02-20 20:55:20 -08:00
Antonio Spinelli
43f917493d
add new tests for naming model class
...
fix #2191
PR #2192
2016-02-21 01:47:04 -03:00
Antonio Spinelli
1446f4a13e
remove support to inner class
...
fix #2191
PR #2192
2016-02-21 01:33:01 -03:00
wing328
7c2d09d0e4
Merge pull request #2188 from wing328/php_upgrade
...
[PHP] auto generate README.md and .travis.yml (for CI)
2016-02-20 22:35:35 +08:00
wing328
014e802d3c
add a link to aspnet5
2016-02-20 22:09:49 +08:00
wing328
74c512453e
add .travis.yml
2016-02-20 21:54:00 +08:00
Antonio Spinelli
bab40566bc
remove $ from class name
...
it is cased because the property start with underscore and
object is created on th fly
fix #2191
2016-02-19 22:56:19 -02:00
wing328
f27d2534a6
update php readme
2016-02-19 23:37:35 +08:00
wing328
bb59ad95cf
add readme and travis
2016-02-19 22:08:58 +08:00
wing328
9ecea4b1f8
Merge pull request #2184 from wing328/fix_dollar_sign
...
Map $ to value for parameter/property name
2016-02-19 20:04:04 +08:00
wing328
56c4de2180
map $ to value for parameter/property name
2016-02-19 19:39:53 +08:00
wing328
a14015c1c7
Merge pull request #2174 from xhh/java-object-mapper-getter
...
[Java] Add getter/setter methods for objectMapper and httpClient in ApiClient
2016-02-19 18:31:01 +08:00
wing328
cf03cee58f
update help generate
2016-02-19 18:19:58 +08:00
xhh
7296da7bc3
Fix tests by upgrading libraries
2016-02-19 17:48:59 +08:00
xhh
a892511b1f
Add missing libs to Java jersey2 client
2016-02-19 13:24:16 +08:00
wing328
faef424026
Merge pull request #2180 from solarkennedy/update-readme-wget
...
Fixed syntax in wget installation
2016-02-19 12:28:25 +08:00
Kyle Anderson
57788614ca
Fixed syntax in wget installation
2016-02-18 20:18:27 -08:00
wing328
8c5ee308eb
Merge pull request #2179 from delenius/default-string-quotes
...
Add single quotes around default string values
2016-02-19 11:55:49 +08:00
delenius
5e7dc29b1a
Add single quotes around default string values
2016-02-18 19:42:40 -08:00
wing328
84b4af7bfb
Merge pull request #2169 from xhh/ruby-nested-model-ref
...
[Ruby] Fix class name reference of nested model
2016-02-19 11:29:58 +08:00
wing328
13324f3ee7
Merge pull request #2178 from delenius/promise-tests
...
Update tests for javascript-promise-petstore
2016-02-19 11:25:32 +08:00
xhh
d810434d17
Merge branch 'master' into java-object-mapper-getter
2016-02-19 11:06:36 +08:00
wing328
531d6e5249
Merge pull request #2143 from delenius/empty-objects
...
Do not create empty objects in model constructors
2016-02-19 11:06:33 +08:00
wing328
5b8d75b8f6
Merge pull request #2119 from vorburger/patch-1
...
build.gradle missing 2 libs (pom.xml has)
2016-02-19 10:14:35 +08:00
delenius
079addb6db
More fine-grained fix
...
Instead of just ignoring default values in the generated
model constructors, we modify the generator code in Java.
The template checks for null before outputting a default value.
2016-02-18 11:12:01 -08:00
delenius
98fcaa2f15
Update tests for javascript-promise-petstore
...
This simply copies the new tests from javascript-petstore
into javascript-promise-petstore.
2016-02-18 08:35:07 -08:00
xhh
71a133dafe
Merge remote-tracking branch 'origin/master' into ruby-nested-model-ref
...
Conflicts:
samples/client/petstore/ruby/lib/petstore/api/pet_api.rb
samples/client/petstore/ruby/lib/petstore/api/store_api.rb
samples/client/petstore/ruby/lib/petstore/configuration.rb
2016-02-18 21:13:37 +08:00
xhh
de463cf170
Merge branch 'master' into java-object-mapper-getter
...
Conflicts:
samples/client/petstore/java/default/src/main/java/io/swagger/client/ApiClient.java
2016-02-18 20:57:22 +08:00
wing328
eec806b54e
Merge pull request #2158 from xhh/java-improvements
...
[Java] Remove unused jackson imports from Java models
2016-02-18 20:49:21 +08:00
xhh
b9a6a9b6ce
Java: add getter/setter for ApiClient#objectMapper
...
and ApiClient#httpClient as well.
Closes #2134
2016-02-18 20:17:42 +08:00
wing328
615b2727ec
Merge pull request #2171 from wing328/php_test_memory_limit
...
[PHP] update php test case with higher memory limit
2016-02-18 20:03:50 +08:00
wing328
eecce8d2d0
Merge pull request #2170 from wing328/feature_all_models_postprocess
...
Add postProcessAllModels to default generator
2016-02-18 16:53:43 +08:00
wing328
844078a385
restore README
2016-02-18 16:42:27 +08:00
wing328
fd9a62adbe
update php test case with higher memory limit
2016-02-18 16:40:13 +08:00
wing328
1cc8de1860
Merge pull request #2162 from delenius/response-body-null
...
Handle empty response.body from superagent
2016-02-18 16:28:25 +08:00
wing328
0b125984da
add postProcessAllModels
2016-02-18 16:15:15 +08:00
xhh
a21493f2db
Ruby: fix class name reference of nested model
...
and model name in underscore format, e.g. "my_response".
Closes #2140
2016-02-18 15:29:31 +08:00
delenius
692c865c76
Handle empty response.body from superagent
...
Superagent does not always produce a `body`. See
http://visionmedia.github.io/superagent/ for details. When it
doesn't, we should deserialize the raw `response.text` rather
than returning `null`. Currently, the JS client always returns
`null` when the return type is String! This commit fixes
that.
2016-02-17 22:39:53 -08:00
wing328
61215f31fb
Merge pull request #2167 from xhh/javascript-fixes
...
[JavaScript] Some bug fixes
2016-02-18 13:17:04 +08:00
wing328
c1b4f8df06
Merge pull request #2132 from jimschubert/csharp_35_client
...
[csharp] Initial settings for v3.5 client compatibility
2016-02-18 12:02:00 +08:00
Jim Schubert
702d019bf8
[maven plugin] Use configurator for maven plugin
...
see swagger-api/swagger-codegen#2104
2016-02-17 22:33:39 -05:00
xhh
bb70073ca3
JavaScript: fix call to buildCollectisnParam
...
Closes #2166
2016-02-18 10:31:21 +08:00
xhh
33d7d7b4b1
JavaScript: update Petstore sample and fix tests
2016-02-18 10:20:01 +08:00
Jim Schubert
1d57e70e76
[csharp] Set RestSharp to 105.1.0 due to bug in newer versions
2016-02-17 13:31:50 -05:00
xhh
cac8df949d
Fix tests
2016-02-17 19:46:40 +08:00
xhh
b2ed17e63e
Remove unused jackson imports from Java models
...
by fixing the logic of enum Boolean checking.
Other changes:
* Remove the `true &&` prefix from the `equals` method in models.
* Apply some changes of Java-default to Java-okhttp-gson, i.e. adding
`this` and parent model handling.
* Some improvements on spaces and blank lines.
2016-02-17 18:03:27 +08:00
wing328
c4d799a4a7
Merge pull request #2155 from wing328/multi_auth_setting
...
Add support for multi-authentication setting
2016-02-17 15:24:05 +08:00
wing328
56789393fa
Merge pull request #2154 from wing328/csharp_dollar_sign
...
[C#] fix dollar sign in parameter name
2016-02-17 11:09:41 +08:00
wing328
97640e622a
fix dollar sign in parameter name (C#)
2016-02-17 10:44:23 +08:00
wing328
67bf17c692
Merge pull request #2150 from vivin/master
...
Fix for issue #2117
2016-02-17 10:28:51 +08:00
Vivin Paliath
04c1940343
Fix for issue #2117
...
This change adds `this` to field names in `equals` within `pojo.mustache` so that an incorrect `equals` method is not generated in cases where a class has an internal field that is the same as the `classVarName` of the class.
2016-02-16 09:07:47 -07:00
wing328
a47cdddbeb
Merge pull request #2056 from xhh/javascript-auth
...
[JavaScript] Add authentications support to JavaScript client
2016-02-16 22:08:50 +08:00
David Hontecillas
81ca40f661
Merge branch 'master' of https://github.com/dhontecillas/swagger-codegen
2016-02-16 14:06:30 +01:00
dhontecillas
71af74adf3
support changes in retrofit v2.0.0-beta4
2016-02-16 14:04:42 +01:00
wing328
4aa0dc5999
remove comment related to security warning (only 1st is used)
2016-02-16 20:58:18 +08:00
wing328
a87ce3181b
Merge pull request #2125 from hideya/fix/objc-method-naming
...
[ObjC] Fix #2121 , generated method names don't follow coding convention
2016-02-16 17:55:50 +08:00
wing328
a4825d8142
add multi auth setting (based on #1961 )
2016-02-16 17:17:42 +08:00
xhh
7beb7373c2
Merge branch 'master' into javascript-auth
...
Conflicts:
modules/swagger-codegen/src/main/resources/Javascript/ApiClient.mustache
modules/swagger-codegen/src/main/resources/Javascript/api.mustache
2016-02-16 17:08:58 +08:00
Ron
812ff2f2c5
Merge pull request #2144 from foragerr/fix-typos
...
Fixed typo
2016-02-15 20:51:45 -08:00
Tony Tam
e5c5dced6c
Merge pull request #1970 from evigeant/master
...
Allow maven-codegen-plugin to set additionalProperties even if cliOptions does not define them
2016-02-15 20:47:04 -08:00
RaGe
8d9b08bee1
fixed typo
2016-02-15 22:52:11 -05:00
wing328
6ecf018f69
Merge pull request #2126 from delenius/enum-exports
...
Correct exporting of enum classes
2016-02-16 10:24:41 +08:00
hideya kawahara
753499e204
generated ObjC method names to follow Apple's coding convention
2016-02-16 10:55:36 +09:00
delenius
59931ef0f7
Correct exporting of enum classes
...
Fixes #2102 .
2016-02-15 07:46:14 -08:00
wing328
97dfa745cb
Merge pull request #2137 from wing328/master
...
[Java] update pom.xml (okhttp-gson) to catch issue with build.gradle
2016-02-15 18:43:59 +08:00
wing328
516a9413a2
update pom.mustache and sample
2016-02-15 18:24:57 +08:00
wing328
816ae0bb3f
update pom for okhttp-gson java to test gradle
2016-02-15 18:17:35 +08:00
Wolfgang Berger
0c7bb8b2ca
updates templates according to https://github.com/NYTimes/objective-c-style-guide
2016-02-15 10:43:16 +01:00
wing328
f3582c3841
Merge pull request #2136 from xhh/logging-libs-fix
...
Java okhttp-gson: fix dependencies
2016-02-15 17:23:59 +08:00
xhh
908ab83d9b
Java okhttp-gson: fix dependencies
2016-02-15 16:48:58 +08:00
wing328
af594ea652
Merge pull request #2076 from daveholladay/issue-1487
...
Fix #1487 , TypeScript-Angular output path wrong if apiPackage not the…
2016-02-15 10:43:29 +08:00
wing328
f79ec39d8d
Merge pull request #2082 from jhitchcock/feature/vendorExtensionsRoot
...
Add VendorExtensions to root swagger
2016-02-15 10:41:17 +08:00
wing328
a159998293
Merge pull request #2115 from delenius/enums
...
Use objects for enums, not constructor functions
2016-02-15 10:29:34 +08:00
wing328
5b0d8b1f13
Merge pull request #2114 from delenius/static-factories
...
Use static model factory methods
2016-02-15 10:13:09 +08:00
wing328
326ff340dc
Merge pull request #2128 from who/master
...
Adding PATCH header override the default Java client
2016-02-15 10:03:57 +08:00
evigeant
bff0e2ad19
Fixed indentation to use spaces instead of tabs
2016-02-13 11:15:04 -05:00
Jim Schubert
0f6038f3b1
[csharp] Initial settings for v3.5 client compatibility
...
Pass -DtargetFramework=v3.5 to generate .NET 3.5 client
2016-02-13 10:55:54 -05:00
wing328
e72abc01e9
Merge pull request #2129 from wing328/objc_binary_fix
...
[ObjC][Swift] fix objc `binary` mapping, add objc,swift to CI tests
2016-02-13 17:59:18 +08:00
wing328
23a90b7dcc
remove objc, add pom.xml to test C# petstore client
2016-02-13 17:43:38 +08:00
wing328
57d16dee7b
remove swift CI test
2016-02-13 16:46:01 +08:00
wing328
2fcbc38b67
fix objc binary mapping, add objc,swift to CI tests
2016-02-13 16:29:35 +08:00
Andrew B
a303a09749
Adding PATCH header override the default Java client
2016-02-12 18:52:49 -08:00
Ron
9bea6943a2
Update README.md
2016-02-12 12:23:27 -08:00
delenius
fa2333717a
Use static model factory methods
...
The `constructFromObject` factory methods should be class methods
(or "static" methods), not instance methods.
With this commit, ApiClient no longer calls the model constructors
directly. Instead, it calls the new static factory method to get the
new instance. If there is no data on the top level, null is returned.
It is still possible for users to call the model constructors
directly, of course.
2016-02-12 07:54:04 -08:00
delenius
86154f87c3
Use objects for enums, not constructor functions
...
Fixes #2101 .
2016-02-12 07:53:51 -08:00
wing328
847a8e1f3d
Merge pull request #2123 from wing328/csharp_add_uuid
...
[C#] map `uuid` to 'Guid`in C# abstract base class
2016-02-12 23:05:30 +08:00
Wolfgang Berger
6002a983c3
first version of session manager
2016-02-12 16:01:39 +01:00
wing328
81593bc4f6
add delay script, update CI test to run ruby test first
2016-02-12 18:46:19 +08:00
wing328
874d9dc54a
add uuid mapping to c# abstract base class
2016-02-12 17:15:53 +08:00
wing328
67865bf46c
Merge pull request #2122 from foragerr/master
...
Closes #2118
2016-02-12 14:03:17 +08:00
RaGe
21b1d19589
Closes #2118
...
Add basePath without url to jmeter sampler path
2016-02-12 00:07:58 -05:00
Michael Vorburger
698649f6fd
build.gradle missing 2 libs (pom.xml has)
...
jackson-jaxrs-json-provider & com.brsanthu:migbase64 are missing from the build.gradle mustache template (but the pom.xml one has them)
PS: Why are there no automated tests that detect this?
2016-02-12 02:06:22 +01:00
wing328
b54947db86
Merge pull request #2112 from hideya/fix/swift-sanitize
...
[Swift] Fix #2095 , missing sanitization for operationId
2016-02-11 21:17:01 +08:00
wing328
6dfc86f1d2
Merge pull request #2087 from delenius/optional-params
...
Fix handling of missing optional params
2016-02-11 19:16:39 +08:00
hideya kawahara
aa09678b51
add missing sanitization for operationId
2016-02-11 19:50:14 +09:00
wing328
d05596dad4
Merge pull request #2109 from wing328/perl_test_cases
...
[Perl] generate files for unit testing models and API files
2016-02-11 09:41:51 +08:00
wing328
7cb2898f47
update perl pom with new test folder
2016-02-11 09:30:41 +08:00
delenius
c7766457bd
Don't set missing optional params in models
...
Fixes #2103 .
In the constructFromObject methods, we were always setting all the
parameters, including optional ones that were missing in the `data`
object. Because of the `convertToType` calls, this had the effect
of producing the *strings* `"undefined"` or `"null"` as property
values on the constructed object! This obviously leads to difficult
bugs.
This commit makes sure that we first check that the data field
exists in the data object. Note that both `null` and `undefined`
values will be skipped.
2016-02-10 17:18:31 -08:00
wing328
fdaf1e6236
Merge pull request #2078 from delenius/omit-model-methods
...
Add option to omit getters/setters on models
2016-02-11 09:10:40 +08:00
wing328
f50174e950
Merge pull request #2077 from spotby/swift-java-date
...
adding support for java dates
2016-02-11 09:03:19 +08:00
wing328
3d9a331666
automaticallay generate test cases for Perl
2016-02-11 08:24:51 +08:00
Tony Tam
fe2715c1e6
Merge pull request #2108 from swagger-api/issue-2107
...
added example value
2016-02-10 15:43:22 -08:00
Tony Tam
54e78bd533
added builders
2016-02-10 15:40:47 -08:00
Tony Tam
ab5ca625c1
added example property
2016-02-10 15:28:00 -08:00
Tony Tam
cb196eb351
set example when defined
2016-02-10 15:25:51 -08:00
Tony Tam
3282c1f325
formatting
2016-02-10 14:42:28 -08:00
Tony Tam
06fcb95f64
removed println
2016-02-10 13:17:33 -08:00
Tony Tam
42e626580f
Merge pull request #2106 from swagger-api/issue-1956
...
added `writeOptional` method to avoid clobbering files
2016-02-10 13:14:35 -08:00
Tony Tam
1a9cb4488a
added writeOptional method to avoid clobbering files
2016-02-10 12:10:02 -08:00
delenius
722fbe606c
Add option to omit getters/setters on models
2016-02-10 08:35:51 -08:00
wing328
7b83664dd1
Merge pull request #2097 from pamuche/patch-2
...
Fixes typo template folder for javascript in bin-promise-script
2016-02-11 00:13:49 +08:00
wing328
262ee89a0e
Merge pull request #2098 from pamuche/patch-3
...
Fixes typo in template folder for javascript in bin-script
2016-02-11 00:13:15 +08:00
wing328
f53abf7d8e
Merge pull request #2083 from wing328/csharp_minor_fix
...
[C#] minor fix to documentation comment in Configuration class
2016-02-10 22:33:43 +08:00
Robert Clochard
785509a10f
Fixes typo in template folder for javascript in bin-script
...
The template folder for javascript starts wit a capital letter. Shell script will fail on linux because of java.io.FileNotFoundException for the module.mustache
2016-02-10 14:34:40 +01:00
wing328
e7b18a04d9
Merge pull request #2062 from jimschubert/csharp_common
...
[csharp][aspnet5] AbstractCSharpCodegen base
2016-02-10 21:33:30 +08:00
Robert Clochard
863c77ae6e
Fixes typo template folder for javascript in bin-promise-script
...
the folder name for the template starts with a capital letter.
2016-02-10 14:29:55 +01:00
wing328
b576bc3893
Merge pull request #2092 from sugi/fix-ruby-boolean-handling
...
ruby: Fix boolean convertion on json to model attribute.
2016-02-10 18:37:18 +08:00
Tatsuki Sugiura
0ea7ae1c16
ruby: Add test for boolean convertion.
2016-02-10 19:18:03 +09:00
Tatsuki Sugiura
a442e1a60d
ruby: Fix boolean convertion on json to model attribute.
...
Current code will converts boolean true of json to false
because ruby's boolean is not matched with any regex.
2016-02-10 15:06:31 +09:00
wing328
3ba4cd1409
Merge pull request #2090 from jaz-ah/issue-1994
...
[Swift] fix issue 1994: make sure we don't crash if rawValue returns …
2016-02-10 13:54:57 +08:00
wing328
62e3bf2543
Merge pull request #1993 from jaz-ah/issue-1992
...
[Swift] fix issue 1992 - ensure that our variable names don't match the names…
2016-02-10 13:45:53 +08:00
Joseph Zuromski
694d735edc
[Swift] fix issue 1994: make sure we don't crash if rawValue returns nil when trying to create an enumeration - instead return nil which allows the instance variable to be nil in this case (it will still try to unwrap the optional though if you declare the enumeration as a required property)
...
note: there aren't really any tests I can add to validate this since the service is always returning valid enumerations. but I did update the sample code.
2016-02-09 12:59:14 -08:00
Jim Schubert
37d07e1012
[csharp][aspnet5] AbstractCSharpCodegen base
...
This moves a bit of logic into a base type to prevent lots of
duplicates.
I've only converted csharp and aspnet5 generators, not csharp 2.0.
This base class should provide enough flexibility to support other C#
based client and server generators.
2016-02-09 12:37:59 -05:00
David Keene
cdc9fb5f5e
fixing var name
2016-02-09 09:33:10 -08:00
wing328
a36966d961
Merge pull request #1991 from jaz-ah/issue-1989
...
[Swift] fix issue 1989: generate AnyObject type from json object type instead…
2016-02-10 00:42:39 +08:00
wing328
95c033c4dd
Merge pull request #2072 from delenius/promises
...
Add usePromise parameter to JS client
2016-02-10 00:34:34 +08:00
Joseph Zuromski
cf7fc1a61b
make SwaggerClient a shared scheme
2016-02-09 08:30:27 -08:00
delenius
d56d626450
Remove wildcards from imports
2016-02-09 07:50:12 -08:00
delenius
dd29cf9d53
Use defaultValue for the usePromise CliOption
2016-02-09 07:35:45 -08:00
wing328
fed231c46d
fix documentation comment in Configuration class (C#), make
...
compile-mono permission executable
2016-02-09 22:13:47 +08:00
unknown
2e1e0be2d5
Add VendorExtensions to root swagger
2016-02-09 13:45:12 +01:00
delenius
aab96ec772
Remove unused callback param when using promises
2016-02-08 23:39:05 -08:00
delenius
7301618671
Add petstore tests for usePromises version
2016-02-08 20:02:38 -08:00
delenius
bf71e6b145
Merge branch 'promises' of https://github.com/delenius/swagger-codegen into promises
2016-02-08 19:15:47 -08:00
delenius
e825b953f7
Add usePromise parameter to JS client
2016-02-08 19:15:00 -08:00
wing328
cabe003e02
Merge pull request #2071 from delenius/prototype-tests
...
Modify JS PetStore tests for prototypes change
2016-02-09 10:41:30 +08:00
David Keene
16f1f74019
adding support for java dates
2016-02-08 16:47:58 -08:00
Joseph Zuromski
d84953d504
add in more tests
2016-02-08 15:22:32 -08:00
Dave Holladay
9673b878a8
Fix #1487 , TypeScript-Angular output path wrong if apiPackage not the default
2016-02-08 22:54:45 +00:00
Joseph Zuromski
2465f398da
add a couple more user tests
2016-02-08 14:43:08 -08:00
Tony Tam
f539fdcfea
Merge pull request #2074 from swagger-api/issue-2073
...
Update parser, inline resolver
2016-02-08 14:37:34 -08:00
Joseph Zuromski
fff0951771
add in some real tests
2016-02-08 14:23:22 -08:00
Tony Tam
e99e322198
adde Date mapping, escape operationId
2016-02-08 13:48:46 -08:00
Tony Tam
e2d61abc10
update parser version
2016-02-08 13:48:31 -08:00
Tony Tam
802f9e4424
revert to Object when model missing
2016-02-08 13:48:20 -08:00
Joseph Zuromski
288acdb2d4
one more gitignore to keep git clean after build
2016-02-08 13:04:18 -08:00
Joseph Zuromski
7c4983df16
fixup gitignore/schemes
2016-02-08 12:59:35 -08:00
Joseph Zuromski
4a0c7966a1
add in pods
2016-02-08 12:56:49 -08:00
Joseph Zuromski
bc0658e81c
add in initial swift client tests
2016-02-08 12:51:14 -08:00
delenius
153faebc6d
Modify JS PetStore tests for prototypes change
...
This is just the result of running ./bin/javascript-petstore.sh
after the fix for #2044 .
2016-02-08 12:39:30 -08:00
delenius
7e9a5f00b1
Add usePromise parameter to JS client
2016-02-08 12:31:00 -08:00
Tony Tam
12ff5cc8cd
updated to 1.0.18-SNAPSHOT for https://github.com/swagger-api/swagger-parser/issues/182
2016-02-08 10:13:23 -08:00
wing328
2a73c1152c
Merge pull request #2063 from mtngld/issue_2037
...
Conitnue fixing of #2037
2016-02-08 23:09:34 +08:00
Matan Goldman
341f862569
change the order of the elif inside to_dict for better performance (dictionary/additionalProperties is less probable)
2016-02-07 21:46:33 +02:00
Matan Goldman
2ddbfa8218
Now it should be fully compatible with python 2.7 and 3.4
2016-02-07 21:46:33 +02:00
wing328
59fde5f072
Merge pull request #2060 from wing328/scottrw93_fix_2036
...
[Python] Fix for Python client upload list of files Issue #2036
2016-02-07 23:47:36 +08:00
Scott Williams
a6fe87a52a
Use more appropriate variable name
2016-02-07 23:34:04 +08:00
Scott Williams
57f38e4433
Update pet-store python client files
2016-02-07 23:33:49 +08:00
Scott Williams
b43e1e2c8f
Change form_param to list of tuples from dict
2016-02-07 23:33:37 +08:00
Scott Williams
2407c494e7
Change post_param from dict to list of tuples to allow list of files
2016-02-07 23:33:27 +08:00
Scott Williams
833ce25cab
Change post_param from dict to list of tuples to allow list of files
2016-02-07 23:33:15 +08:00
Scott Williams
5ac630f7ff
Fix for issue #2036 , python client wont upload list of files
2016-02-07 23:32:52 +08:00
wing328
a968d9000e
Merge pull request #2058 from mtngld/master
...
Add model's "additionalProperties" handling in python client
2016-02-07 22:56:11 +08:00
Matan Goldman
32d2a4d4cb
fix python 3.4 compatabilty
2016-02-07 16:23:12 +02:00
Joseph Zuromski
a4a1372fc1
update swift samples
2016-02-07 05:59:23 -08:00
Matan Goldman
ec4c5502f1
fix identation
2016-02-07 14:21:31 +02:00
Matan Goldman
ab39eff8a1
Add additionalProperties handling in python code genrator by adding dictionary handling in model's to_dict() method
2016-02-07 13:11:28 +02:00
wing328
a9ab8a6e98
Merge pull request #2057 from wing328/fix_local_java_test
...
[Java] fix local Java test issue using fully qualified name
2016-02-07 16:54:20 +08:00
wing328
9f78b3cf9c
fix local java test using fully qualified name
2016-02-07 16:16:06 +08:00
wing328
510a5bdb74
Merge pull request #2055 from delenius/prototype-fixed
...
Use prototypes for model methods
2016-02-07 15:33:23 +08:00
wing328
3174ab0033
Merge pull request #1997 from achew22/javascript_closure
...
Add Closure annotated Javascript Angular generator
2016-02-07 14:53:25 +08:00
Tony Tam
eafd79e8ea
updated index file
2016-02-06 07:07:53 -08:00
Tony Tam
a4d7a97504
added json provider for https://github.com/swagger-api/swagger-core/releases
2016-02-06 06:41:43 -08:00
xhh
d52ebdf684
JavaScript client: Add authentications support
...
Closes #1952
2016-02-06 16:26:15 +08:00
delenius
897c854728
Use prototypes for model methods
...
Fixes #2044 .
2016-02-05 21:27:11 -08:00
Tony Tam
c80df9ee4d
Merge pull request #2052 from swagger-api/issue-2001
...
added x-swagger-router-controller, operationId for node.js versions
2016-02-05 17:24:00 -08:00
Tony Tam
eb9cff7c48
added x-swagger-router-controller, operationId for node.js versions
2016-02-05 17:12:40 -08:00
wing328
161301fda7
Merge pull request #2049 from glederrey/fix-flash-client-library
...
Fix Flash client Library
2016-02-05 19:32:52 +08:00
glederrey
41c735b22c
ADD: Add the flash client library sample
2016-02-05 12:16:46 +01:00
glederrey
00349406f8
FIX: Fix the flash client library.
2016-02-05 12:16:27 +01:00
wing328
192f2367b3
Merge pull request #2048 from swagger-api/revert-2039-master
...
Revert "FIX: Fixed FLash Client library"
2016-02-05 19:09:11 +08:00
wing328
81db72b62f
Revert "FIX: Fixed FLash Client library"
2016-02-05 19:08:57 +08:00
wing328
2f3c093858
Merge pull request #2045 from jimschubert/patch-1
...
[aspnet] Updated -l aspnet5 in example command
2016-02-05 12:10:56 +08:00
Jim Schubert
34c7250ce9
[aspnet] Updated -l aspnet5 in example command
...
Apparently, I missed this in the readme even after the comment in the original pull request
2016-02-04 21:53:24 -05:00
Tony Tam
9eb6993ccc
fixed build error
2016-02-04 18:06:59 -08:00
Tony Tam
5e80b61e3e
updated swagger-core versions
2016-02-04 18:02:19 -08:00
Tony Tam
190f0a6a08
updated swagger-core to 1.5.7
2016-02-04 17:58:57 -08:00
wing328
148de83a48
Merge pull request #2039 from glederrey/master
...
FIX: Fixed FLash Client library
2016-02-04 22:06:48 +08:00
Gael Lederrey
5dc67c15e5
ADD: Add Petstore sample for flash
2016-02-04 14:33:46 +01:00
Gael Lederrey
77f9bc3642
FIX: Fixed FLash Client library
2016-02-04 14:03:13 +01:00
wing328
e926c86141
Merge pull request #2035 from wing328/csharp_fix_default_header
...
[C#] fix default header in async method and sanitize model name
2016-02-04 20:33:46 +08:00
wing328
7b678454f1
fix aspnet5 batch file
2016-02-04 19:30:30 +08:00
wing328
96f9e93cff
Merge pull request #2034 from xhh/javascript-collection-format
...
[JavaScript] Support collectionFormat for parameters in JavaScript client
2016-02-04 19:02:38 +08:00
wing328
8d40b7a890
sanitize model name (C#)
2016-02-04 18:52:16 +08:00
wing328
87253d8533
update sh permission, add aspnet5 bat
2016-02-04 18:18:45 +08:00
wing328
5e1cb9349a
update exmaple, add toExampleValue
2016-02-04 18:18:45 +08:00
wing328
246369ccdd
update csharp help, fix default header
2016-02-04 18:18:44 +08:00
wing328
aac1b259a7
Merge pull request #2021 from chameleon82/feature/jaxrs-resteasy
...
Feature/jaxrs resteasy
2016-02-04 17:56:06 +08:00
xhh
47f25efb25
JavaScript client: support collectionFormat for parameters
...
Closes #1953
2016-02-04 16:30:41 +08:00
wing328
35039bf122
Merge pull request #2030 from xhh/javascript-improvements
...
[JavaScript] some improvements and enhancements to JavaScript client
2016-02-04 15:03:50 +08:00
wing328
8285dea113
Merge pull request #2008 from wing328/license_template
...
[Ruby] add API info as file header to ruby templates
2016-02-04 14:49:57 +08:00
wing328
c33df17590
Merge pull request #2031 from wing328/master
...
Update pom to use swagger parser 1.0.17
2016-02-04 14:27:42 +08:00
wing328
4a8927f0e3
update pom to use swagger parser 1.0.17
2016-02-04 14:14:25 +08:00
xhh
2eb125681e
JavaScript client: handle response deserialization
...
to support array of models and Date property in model
Closes #1951
2016-02-04 12:36:44 +08:00
wing328
2de3e2e88c
Merge pull request #2024 from jimschubert/csharp_webapi_aspnet5_server
...
[aspnet] Initial implementation of ASP.NET 5 server
2016-02-04 12:08:43 +08:00
xhh
c7fa44cd0c
Fix ApiClient.isFileParam in browserify runtime
...
Closes #2028
2016-02-04 08:43:13 +08:00
Alex
d2a3492dd1
Add bin/jaxrs-resteasy-petstore-server.sh
...
Add sample into samples/petstore/jaxrs-resteasy
Update multipart/form-data ability
2016-02-04 01:01:28 +06:00
Jim Schubert
0da1057416
[aspnet] Regenerated models to reflect partial class change
2016-02-03 13:14:26 -05:00
Jim Schubert
328dd93aef
[aspnet] Update readme to aspnet5, add partial class support and windows batch file
2016-02-03 13:10:52 -05:00
Alex
d98063083b
Rename folder resteasy3_0_11 to resteasy
2016-02-03 20:56:18 +06:00
wing328
cd0c8728b7
Merge pull request #2019 from ergon/feature/use-retrofit-beta3
...
Use retrofit2-beta3 and it's dendencies in retrofit2 clients
2016-02-03 17:49:12 +08:00
xhh
fa052ffa19
JavaScript client: ensure a default project/module name
...
when it is an empty string (same for "projectVersion")
Closes #2022
2016-02-03 16:01:52 +08:00
xhh
5463015725
JavaScript client: use brackets to access mobel properties
...
to support nonstandard characters in property names, e.g. "user-status".
2016-02-03 16:01:33 +08:00
wing328
76c3d26c65
Merge pull request #2025 from wizardbyron/master
...
Run docker in vagrant without sudo and won't check locale settings
2016-02-03 15:52:58 +08:00
GU Yu (Byron)
0a3f0166b0
Run docker without sudo and won't check locale settings
2016-02-03 13:14:04 +08:00
Jim Schubert
c785ffea90
Fix documentation merge and incorrect codegen filename
2016-02-02 22:48:38 -05:00
Jim Schubert
455ba9d839
[aspnet] Initial implementation of ASP.NET 5 server
...
Things to work on:
Gaps:
* Missing swagger definition functionality:
- defaultResponse
- examples
- auth
- consumes
- produces
- nickname
- externalDocs
- imports
- security
- schema
* Resolve allParams/hasMore issue with headerParams
* Create functional test project stub
* Resolve all issues with value type return values
In this commit:
* Initial cross-platform ASP.NET 5 API server
* Hook up swagger gen via Swashbuckle and xml comment
* Build script (*nix) in project root
* Dockerfile for container deployment
2016-02-02 22:28:27 -05:00
wing328
cd1e9b0504
add php slim
2016-02-03 10:46:28 +08:00
wing328
17e30f1e3a
fix jaxrs links
2016-02-03 10:42:38 +08:00
Alex
af2c66cb97
Update maven and gradle project definition
2016-02-02 21:56:42 +06:00
wing328
974b8a6ee8
Merge pull request #2020 from wing328/csharp_partial_model
...
[C#] add partial to C# model
2016-02-02 23:32:11 +08:00
wing328
4819f37ed4
Merge pull request #2018 from wing328/haskell_model_notfound
...
[Haskell] minor fix to template location for haskell-servant
2016-02-02 23:00:45 +08:00
wing328
295cf0b2a1
add partial class to C# model
2016-02-02 22:45:57 +08:00
Silvio Heuberger
671dba4284
Use retrofit2-beta3 and it's dendencies in retrofit2 clients
...
Requires some changes to the generated client code
as some package renaming and api changes have occurred.
2016-02-02 15:43:08 +01:00
wing328
743a533c65
minor fix to template location for haskell
2016-02-02 22:37:01 +08:00
wing328
3322b0efd8
update list of generators
2016-02-02 22:28:09 +08:00
wing328
f77a8672fc
Merge pull request #2011 from nickcmaynard/defaultvalue
...
Only define @DefaultValue if it's specified in the swagger spec
2016-02-02 22:21:48 +08:00
Andrew Z Allen
42f669031d
Add tests for API
2016-02-02 00:45:40 -07:00
wing328
b2d98acb21
Merge pull request #2007 from wing328/csharp_readme
...
[C#] Add unit tests for C# APIs and models
2016-02-02 12:43:44 +08:00
Alex
40400e3657
update supporting JodaTime and Java8 DateTime
2016-02-02 00:27:08 +06:00
wing328
b275eefbbf
remove testFolder (not used)
2016-02-02 00:57:57 +08:00
Alex
62b692da1d
fix jboss context-root
2016-02-01 20:30:49 +06:00
wing328
53e74a0bd3
Merge pull request #2006 from wing328/qt5_file_support
...
[Qt5 C++] Fix file support in form parameter
2016-02-01 15:29:49 +08:00
wing328
70cce7411b
Merge pull request #2009 from algas/support-haskell
...
Code generator for haskell-servant framework
2016-02-01 13:41:51 +08:00
Masahiro Yamauchi
30e8154055
Update dependencies and repository info
2016-02-01 08:59:50 +09:00
Masahiro Yamauchi
2ad3171674
Rename
2016-02-01 08:56:15 +09:00
Nick Maynard
943c66a975
Update samples for DefaultValue
2016-01-31 21:12:16 +00:00
Nick Maynard
e29cf209c8
Only define @DefaultValue if it's specified in the swagger spec
2016-01-31 21:02:11 +00:00
Masahiro Yamauchi
cfcd6cbe48
Rename haskell to haskell-servant
2016-01-31 22:33:51 +09:00
wing328
0e0508cf5a
Merge pull request #1998 from WoodWing/master
...
Support file downloading in Java jersey2 client
2016-01-31 19:57:55 +08:00
Masahiro Yamauchi
4e3d94c005
Code generator for haskell-servant framework
2016-01-31 20:20:19 +09:00
wing328
5a53814346
add api info as file header to ruby templates
2016-01-31 17:08:47 +08:00
wing328
2471163d04
Merge pull request #1999 from wizardbyron/gradle_ide_plugins
...
[Java Client] Add Eclipse and IntelliJ IDEA support in build.gradle.mustache
2016-01-31 16:02:30 +08:00
wing328
047abc63a4
add test case for c# method
2016-01-31 12:49:32 +08:00
wing328
4ce255dc38
add unit test files for C#
2016-01-31 01:52:41 +08:00
wing328
587615b656
update c# readme with command to generate DLL
2016-01-30 23:06:45 +08:00
wing328
d5aa285926
fix file support in form parameter (qt5cpp)
2016-01-30 15:31:08 +08:00
wing328
f42f9acf35
Merge pull request #2003 from ad2games/non-explicit-ca-info-config
...
Don't force explicit configuration of CA cert location
2016-01-29 20:00:22 +08:00
chameleon82
46441433e8
initialize commit JaxRS-Resteasy module
2016-01-29 17:48:22 +06:00
Helge Rausch
f85f885191
Don't force explicit configuration of CA cert location
...
In order to allow openssl to figure out the location of CA certificates
on its own, don't apply the `ssl_ca_cert` configuration parameter if it
is not explicitly set.
2016-01-29 12:18:27 +01:00
wing328
59a75072fd
Merge pull request #1934 from xhh/ruby-binary
...
[Ruby] Support "binary" format for body parameter and response
2016-01-29 13:15:05 +08:00
wing328
7aaf97d3ce
Merge pull request #1975 from evigeant/fix-cli-options
...
Added missing cliOptions in some languages
2016-01-29 13:02:12 +08:00
Andrew Z Allen
b9eb26baff
Change indentation to +4 and map binary to string
2016-01-28 21:38:45 -07:00
xhh
172da5b2d8
Merge branch 'master' into ruby-binary
...
Conflicts:
samples/client/petstore/ruby/lib/petstore/api/pet_api.rb
2016-01-29 12:02:30 +08:00
xhh
ee1f401145
Merge branch 'master' into java-imports
...
Conflicts:
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/JavaClientCodegen.java
2016-01-29 11:16:14 +08:00
GU Yu (Byron)
06ef76631c
Add .gradle into .gitignore.
2016-01-29 01:23:45 +08:00
evigeant
4335dc5d16
Merge remote-tracking branch 'upstream/master' into fix-cli-options
...
Conflicts:
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/JaxRSServerCodegen.java
modules/swagger-codegen/src/test/java/io/swagger/codegen/options/JaxRSServerOptionsProvider.java
2016-01-28 12:11:14 -05:00
GU Yu (Byron)
c7c983b733
Add gradle IDE support plugins
2016-01-29 00:41:46 +08:00
Maarten Groot
eee441b72a
Update Petstore Java jersey2 sample
2016-01-28 16:35:11 +01:00
Maarten Groot
77d39b9614
Fix indention
2016-01-28 16:09:16 +01:00
Maarten Groot
2efa50cb7f
Support file downloading in Java jersey2 client
2016-01-28 15:59:32 +01:00
evigeant
6db358dd39
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
modules/swagger-codegen-maven-plugin/src/main/java/io/swagger/codegen/plugin/CodeGenMojo.java
2016-01-28 09:18:24 -05:00
Andrew Z Allen
b1a5080121
Add default includes for Array and Object.
2016-01-27 23:51:25 -07:00
Andrew Z Allen
af6926bd6f
Add sample output from Javascript Closure Angular
2016-01-27 23:29:51 -07:00
Andrew Z Allen
8ea7cbc79d
Add bash script to run
2016-01-27 23:29:17 -07:00
Andrew Z Allen
b950271940
Add a Javascript (Closure) Angular generator.
2016-01-27 23:02:25 -07:00
wing328
564fa04f7c
Merge pull request #1988 from wing328/maven_build_quiet3
...
Rebase on latest master for "Using logger instead of System.out #1871 "
2016-01-28 11:52:35 +08:00
wing328
f8b82e14fe
use logger.info to display command line result
2016-01-28 11:25:11 +08:00
Joseph Zuromski
33b5286ba3
fix issue 1992 - ensure that our variable names don't match the names of the generated enums or we will get a compiler error. Also fix the escaping of reserved words to use an underscore as the comment implies instead of the word Swagger.
2016-01-27 10:14:21 -08:00
Joseph Zuromski
f435cb65ce
fix issue 1989: generate AnyObject type from json object type instead of generating strings
2016-01-27 09:39:42 -08:00
N090536
16f9c8f7dd
Changing to INFO level in order for the following switches to work as
...
expected:
-DdebugModels
-DdebugOperations
-DdebugSupportingFiles
2016-01-28 00:13:00 +08:00
JULIEN MASNADA
8c3bd60a53
Some more...
2016-01-28 00:13:00 +08:00
JULIEN MASNADA
10a9316d75
Fixed some more indentations problems
2016-01-28 00:13:00 +08:00
JULIEN MASNADA
68dc407f1d
Fiexd some indentation problem
2016-01-28 00:12:24 +08:00
JULIEN MASNADA
2a9ead870c
Use LOGGER instead of LOG
...
Use spaces instead of tabs
2016-01-28 00:12:24 +08:00
JULIEN MASNADA
2161907a8f
Using logger instead of System.out
2016-01-28 00:11:54 +08:00
wing328
daec1a7783
update clone URL
2016-01-27 16:43:18 +08:00
wing328
841d7dd6af
update instruction for running docker in vagrant
2016-01-27 16:41:55 +08:00
wing328
a856e6576d
Merge pull request #1943 from wizardbyron/vagrant_new
...
Run docker in vagrant
2016-01-27 16:34:47 +08:00
wing328
bfd17e45fe
Merge pull request #1980 from wing328/ruby_add_test
...
[Ruby] add auto-generated test cases (rspec)
2016-01-27 15:28:56 +08:00
wing328
d779174977
Merge pull request #1986 from xhh/javascript-superagent-version
...
[JavaScript] Lock version of superagent to fix testing issues
2016-01-27 14:37:30 +08:00
xhh
29885ab2ae
Lock version for superagent to 1.7.1
...
to avoid an unexpected behavior on request.header in 1.7.2:
Node version's request.header uses lower-case keys while browser
version's request.header keeps current case.
See also visionmedia/superagent#873
2016-01-27 12:06:22 +08:00
wing328
72d7acc06f
Merge pull request #1979 from wing328/ts_property_double_quote
...
[TypeScript] double quote model property name
2016-01-27 10:37:20 +08:00
Tony Tam
dfe1889436
Merge pull request #1983 from tambykojak/patch-1
...
Typo in README
2016-01-26 10:28:37 -08:00
Tamby Kojak
f12311307e
Typo in README
...
Clent -> Client
2016-01-26 13:18:55 -05:00
wing328
e4a991da0c
add auto-generated test case for ruby
2016-01-26 23:15:02 +08:00
wing328
535cc1dfa7
double quote model property in ts
2016-01-26 18:08:50 +08:00
wing328
f2ab4db419
Merge pull request #1965 from wing328/ts_option_property_naming
...
[TypeScript] add an option to determine property naming convention
2016-01-26 16:54:20 +08:00
wing328
afd451ec04
Merge pull request #1928 from ergon/feature/retrofit2-rx
...
Feature/retrofit2 rx
2016-01-26 15:58:08 +08:00
wing328
fc88cb9801
Merge pull request #1967 from wing328/support-jaxrs-cxf-2
...
[Java][JAX-RS] Support JAX-RS CXF
2016-01-26 15:46:54 +08:00
wing328
2e0047cf86
rename jarxs generator
2016-01-26 15:34:43 +08:00
wing328
2046580d41
update based on discussion on
...
https://github.com/swagger-api/swagger-codegen/pull/1967/files#r50697083
2016-01-26 15:23:50 +08:00
wing328
17f8931887
add default help text for new ts option
2016-01-26 15:02:26 +08:00
wing328
d5d1c7b98f
remove unused default value
2016-01-26 15:00:41 +08:00
wing328
abe039a05f
fix test case
2016-01-26 15:00:41 +08:00
wing328
218ea50d61
update ts samples
2016-01-26 15:00:41 +08:00
wing328
4971461a23
ts add option for model property naming
2016-01-26 15:00:41 +08:00
wing328
6c531142a9
Merge pull request #1969 from jimschubert/csharp_List_to_ICollection_Tests
...
[csharp] Model tests for List/Collection options
2016-01-26 14:45:47 +08:00
Tony Tam
decedb6c91
Merge pull request #1977 from swagger-api/issue-1976
...
added args for maven plugin
2016-01-25 22:08:22 -08:00
Tony Tam
3ddccb5e5c
fix for #1976 , added missing types
2016-01-25 21:34:28 -08:00
Tony Tam
b641d4a17a
refactored for access in maven plugin
2016-01-25 21:33:58 -08:00
wing328
ca941b1e3c
Merge pull request #1947 from xhh/javascript-default-headers
...
[JavaScript] Add default headers and some tests
2016-01-26 12:40:29 +08:00
evigeant
b61d76f291
Removed a duplicate cliOptions (it is already added by the base class)
2016-01-25 22:36:24 -05:00
evigeant
d0b99a0f83
Fixed options provider for all classes where cliOptions were added
2016-01-25 22:17:09 -05:00
evigeant
43807adf4f
Added missing cliOptions for JaxRSServerCodegen
2016-01-25 21:48:54 -05:00
evigeant
faadccf371
Added missing cliOptions for the StaticHtmlGenerator and
...
StaticDocGenerator
2016-01-25 21:39:58 -05:00
evigeant
f13b4deb2e
Added warnings when the additionalProperties are not defined in the
...
cliOptions of a language.
2016-01-25 21:22:18 -05:00
evigeant
68c6954615
Fixed indentation
2016-01-25 13:53:31 -05:00
evigeant
6b59dd0899
Allow mave-codegen-plugin to set additionalProperties even if they are
...
not declared in the cliOptions.
2016-01-25 13:51:42 -05:00
Jim Schubert
c9a0ff7482
[csharp] Model tests for List/Collection options
2016-01-25 12:45:44 -05:00
wing328
741974c1a9
add shell script for jaxrs-cxf
2016-01-25 22:23:25 +08:00
Silvio Heuberger
e34706386f
Change the artifact identifier for the retrofit2-rx sample
2016-01-25 10:29:13 +01:00
Silvio Heuberger
d60f7d1186
Change templates and test code so that the sample is 1.7 compatible
...
Alas.
2016-01-25 10:29:13 +01:00
Silvio Heuberger
8bb774f821
Add retrofit2rx sample to samples profile
...
This is so that the sample gets compiled
and executed on mvn verify.
2016-01-25 10:29:13 +01:00
Silvio Heuberger
042dd59a38
Add sample client usage for retrofit2 with rx adapter and java 8
2016-01-25 10:29:13 +01:00
Silvio Heuberger
7dcc1c839e
Add script for sample generation and adapt gradle and pom templates
2016-01-25 10:29:13 +01:00
Silvio Heuberger
886abda926
Add 'useRxJava' option to retrofit2 java client generator
...
This still uses retrofit 2.0.0-beta2 because the api
in beta3 has changed and the package
has been renamed to retrofit2.*
Change retrofit-rx to be a library option
2016-01-25 10:29:13 +01:00
Silvio Heuberger
06827da943
Remove retrofit remnant from javascript client code generator
...
I highly doubt this code is ever executed.
2016-01-25 10:28:08 +01:00
wing328
9e5e9cba8a
Merge pull request #1964 from jimschubert/csharp_List_to_ICollection
...
[csharp] Return ICollection<T> instead of List<T>
2016-01-25 14:28:20 +08:00
xhh
297597a86c
Merge branch 'master' into ruby-binary
2016-01-25 12:48:25 +08:00
xhh
8c19626095
Handle "binary" as String in Ruby client
...
as it seems weird to handle byte array (array of integer) in Ruby
2016-01-25 12:47:59 +08:00
Jim Schubert
b4eed0d147
Merge branch 'master' into csharp_List_to_ICollection
2016-01-24 23:00:56 -05:00
Jim Schubert
2e958f9223
[csharp] Collections options tests, fix model using directive
2016-01-24 22:55:37 -05:00
wing328
a0b4a07d08
Merge pull request #1960 from dilipkrish/master
...
Updated the code generation for spring mvc
2016-01-25 10:19:12 +08:00
wing328
fc83139483
resolve minor issue after rebase
2016-01-25 01:11:20 +08:00
Maelig Nantel
668610f7fc
Include JAX-RS CXF in the readme
2016-01-25 00:49:41 +08:00
Maelig Nantel
491f97f7ef
rename codegen names
2016-01-25 00:49:41 +08:00
Maelig Nantel
6d6f366db4
Finish
...
Tests ok. Some modifications may be done later, maybe...
2016-01-25 00:49:41 +08:00
Maelig Nantel
f3659f88a8
Work almost finish
...
Aask @wing328 if the modificatgion in the DefaultGenerator class is a
problem. If needed, find a way to do it only for the CXF Codegen.
TODO: Maybe create an abstract JAX-RS Codegen and make Jersey & CXF
extends it ? CXF should not extends Jersey since there at two different
frameworks implementing the JAX-RS specification.
Important: nothing is tested yet, only visual checks during Maven build.
2016-01-25 00:49:07 +08:00
Maelig Nantel
1dbc8a8552
Unit test correction
...
A unit test was in error due to a duplicate key in a map. Joda library
is now used by default for JAX-RS code generation.
2016-01-25 00:48:30 +08:00
Maelig Nantel
63b7e24c22
merge resolution
2016-01-25 00:48:30 +08:00
Maelig Nantel
3648a79965
Add CXF codegen
...
Also rename the existing JAX-RS codegen to JAX-RS-Jersey1 codegen, since
JAX-RS is only a specification. Jersey and CXF are both an
implementation of the JAX-RS specification.
2016-01-25 00:47:29 +08:00
Maelig Nantel
44c1e27680
Add mustache template files for Apache CXF support
...
probably not the final version of the templates
2016-01-25 00:46:02 +08:00
Jim Schubert
0bb30ddccd
Merge branch 'master' of github.com:swagger-api/swagger-codegen into csharp_List_to_ICollection
2016-01-24 09:35:46 -05:00
Jim Schubert
9dc40128ac
[csharp] Options: useCollection, returnICollection
...
This change is inline with Microsoft's recommended guidelines for
collects
(https://msdn.microsoft.com/en-us/library/dn169389(v=vs.110).aspx ).
Added generator options for csharp to:
* useCollection: Deserialize responses into and return Collection<T>
* returnICollection: For List<T> or Collection<T>, return ICollection<T>
instead of the concrete type
As a consequence of useCollection, method imputs will also change to
Collection<T>.
2016-01-24 09:13:39 -05:00
wing328
27d1e380b8
rename nodejs to nodejs-server
2016-01-24 22:08:05 +08:00
wing328
3086bb624f
Merge pull request #1941 from jhancock93/projectfile2
...
CSharp client: optionally build .csproj file
2016-01-24 12:50:40 +08:00
John Hancock
9edbfd6918
Fix csproj to use framework 4.5 instead of 4.5.2 and fix project file option description
2016-01-23 22:59:48 -05:00
wing328
421b70c259
Update CONTRIBUTING.md
2016-01-23 23:20:26 +08:00
wing328
530726911b
build status badge updated to svg
2016-01-23 23:06:10 +08:00
wing328
f0eb227fc7
add badges for PR and issue stats
2016-01-23 22:22:50 +08:00
Tony Tam
407c9121bf
switched from paramName to baseName to avoid changing format
2016-01-22 20:54:15 -08:00
Tony Tam
ee8547f3b4
Merge pull request #1900 from hiveship/fix-java-warnings
...
fix java warnings
2016-01-22 20:36:11 -08:00
Ron
ced433f912
Merge pull request #1962 from vanillajonathan/patch-1
...
Syntax highlighting
2016-01-22 16:25:31 -08:00
Jonathan
acb62810a9
Syntax highlighting
...
Syntax highlighting
2016-01-23 01:22:16 +01:00
Tony Tam
51c66a270e
Merge pull request #1958 from hjacobs/minor-python-flask-clean-up
...
Python Flask (Connexion) clean up
2016-01-22 14:05:45 -08:00
Tony Tam
e89bac3421
partial fix for #1956
2016-01-22 13:59:07 -08:00
hjacobs
4e9d1e8c79
re-generate flaskConnexion sample server with latest changes
2016-01-22 22:35:37 +01:00
hjacobs
103321d872
fix code formatting of flaskConnexion app.py and use more intuitive run(port=..)
2016-01-22 22:34:49 +01:00
hjacobs
aecc367e35
fix flaskConnexion README template to use correct URLs (contextPath is "/v2" for pet store)
2016-01-22 22:33:32 +01:00
Dilip Krishnan
dd6204019a
Updated the generated sample server
2016-01-22 15:32:41 -06:00
hjacobs
9ca83c0174
tweak FlaskConnexionCodegen help string
2016-01-22 22:32:37 +01:00
Dilip Krishnan
a33bff012c
Updated the spring mvc server template to springfox 2.3.1
2016-01-22 15:31:27 -06:00
Tony Tam
4b9aa25d63
Merge pull request #1957 from hjacobs/bugfix/issue-1955-readme-fix-python-flask
...
#1955 fix command in README: flaskConnexion -> python-flask
2016-01-22 13:07:11 -08:00
hjacobs
3cd124603c
#1955 fix command in README: flaskConnexion -> python-flask
2016-01-22 22:05:09 +01:00
wing328
d44aa82cc4
Merge pull request #1950 from akkie/master
...
Namespace is missing for SplFileObject reference
2016-01-22 21:43:09 +08:00
Christian Kaps
618351c11c
Namespace is missing for SplFileObject reference
2016-01-22 12:17:58 +01:00
xhh
794589d6b8
JavaScript: add default headers and some tests
2016-01-22 18:46:29 +08:00
Maelig Nantel
4c7d471203
Merge remote-tracking branch 'refs/remotes/swagger-api/master' into fix-java-warnings
...
# Conflicts:
# modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/JavascriptClientCodegen.java
2016-01-22 11:32:08 +01:00
wing328
a550eec389
Merge pull request #1942 from xhh/javascript-fixes
...
[JavaScript] Fix initialization issues on array and nested model fields
2016-01-22 18:15:20 +08:00
wing328
5d3c8fb811
Merge pull request #1945 from wizardbyron/remove_wrong_tests
...
Remove useless tests
2016-01-22 18:00:02 +08:00
wing328
5b6d224612
Merge pull request #1747 from wing328/add_golang
...
[Go] Add Go API client generator
2016-01-22 17:42:30 +08:00
GU Yu (Byron)
cad64724a5
Remove useless tests
2016-01-22 17:39:25 +08:00
wing328
20e531d6dd
update test case, add beta to go help
2016-01-22 17:27:30 +08:00
wing328
25b60a194b
add sh script for go, add binary mapping for go, fix format
2016-01-22 17:21:51 +08:00
GU Yu (Byron)
66799bc695
Merge branch 'master' into vagrant_new
2016-01-22 16:12:06 +08:00
GU Yu (Byron)
f15341efae
Run docker in vagrant
2016-01-22 14:34:13 +08:00
xhh
f1aeb36e6c
Update JavaScript style guide's link to ES5
2016-01-22 12:02:01 +08:00
xhh
a607856406
JavaScript: fix model name in initialization and import
...
Closes #1935
2016-01-22 11:48:59 +08:00
John Hancock
277e7cfa8d
Remove defaultValue from project guid cliOption because the guid is a random value
2016-01-21 22:47:53 -05:00
xhh
16e367bdc8
JavaScript: fix constructFromObject for Array fields
...
Closes #1721
2016-01-22 11:23:45 +08:00
wing328
03b463bc43
Merge pull request #1920 from Shyri/android-volley-library
...
Android volley library enhancement and tests
2016-01-22 10:52:26 +08:00
John Hancock
60c79d1cae
Fix assembly references in project file generation
2016-01-21 21:16:09 -05:00
wing328
53abd8a8fb
Merge pull request #1898 from xhh/java-binary-support
...
[Java okhttp-gson] Support "binary" (byte array) for body parameter and response
2016-01-22 00:03:14 +08:00
Maelig Nantel
87182124a9
Merge branch 'master' into fix-java-warnings
2016-01-21 11:23:11 +01:00
Maelig Nantel
94315a249d
Merge branch 'java-support-uuid-generation' into fix-java-warnings
2016-01-21 11:21:22 +01:00
Maelig Nantel
687c2b1431
Merge remote-tracking branch 'refs/remotes/swagger-api/master' into fix-java-warnings
...
# Conflicts:
# modules/swagger-codegen/src/main/java/io/swagger/codegen/DefaultCodegen.java
2016-01-21 11:17:32 +01:00
wing328
ae342a07cf
remove var_dump
2016-01-21 11:13:16 +01:00
wing328
43731403a8
add test cases for findPetsByTags
2016-01-21 11:13:16 +01:00
xhh
1f072a697b
Fix Ruby tests of the Petstore sample
2016-01-21 11:13:15 +01:00
xhh
dc32ac18b7
Fix tests of UserAPI
2016-01-21 11:13:14 +01:00
wing328
7f2b3a5587
update csharp readme
2016-01-21 11:13:14 +01:00
xhh
08a2d0d941
Try fixing occasional testing failuers in Java client
...
by using random and atomically increasing IDs
2016-01-21 11:13:13 +01:00
wing328
ec2655165f
Add style guide for JS
2016-01-21 11:13:13 +01:00
xhh
81ed441dfa
Use String for "binary" as a workaronud
2016-01-21 11:13:12 +01:00
xhh
ecbc4a147c
Set accept header for JavaScript client
2016-01-21 11:13:12 +01:00
wing328
93cadcd755
make slim sh executable
2016-01-21 11:13:11 +01:00
wing328
83a4556803
fix silex shell script
2016-01-21 11:13:11 +01:00
wing328
7c619b244f
fix byte[] in spring mvc and java inflector
2016-01-21 11:13:10 +01:00
xhh
c1d5179d72
Some cleanup
2016-01-21 11:13:09 +01:00
xhh
6efbde5691
Make JavaScript client work in both Node.js and browser
...
* Replace jQuery with SuperAgent which works in both Node.js and browser
* Use UMD pattern (returnExports.js) to make the module exporting compatible
with all major systems: AMD, Node.js (CommonJS) and browser
* Implement support of header and form parameters. Closes #1736
* Move HTTP requesting code to `ApiClient` and allow customizing options
in it, e.g. "basePath"
* Update unit tests accordingly and add some tests for `ApiClient`
2016-01-21 11:13:09 +01:00
wing328
a2cb3f7c3c
add comments
2016-01-21 11:13:08 +01:00
wing328
51f2f8c6ad
add test template for php
2016-01-21 11:13:07 +01:00
wing328
f90bd85a4f
fix typo Configuraiton
2016-01-21 11:13:07 +01:00
wing328
6d010f9af7
fix typo
2016-01-21 11:13:06 +01:00
wing328
fb1cc254e4
add api test and model test files
2016-01-21 11:13:05 +01:00
wing328
ccd0db4434
fix empty object serialization issue
2016-01-21 11:13:05 +01:00
wing328
58d920eaf0
update tostring to use sanitizeforserialization
2016-01-21 11:13:04 +01:00
wing328
40796b3f4c
update comment in csharp test
2016-01-21 11:13:03 +01:00
wing328
7a5d9412c5
update csharp configuration to avoid circular dependency, deprecate
...
ApiClient.Default
2016-01-21 11:13:03 +01:00
xhh
aad0547b40
Ruby: support binary (byte array) for body parameter and response
2016-01-21 18:01:03 +08:00
xhh
253a955cff
Merge branch 'master' into java-binary-support
...
Conflicts:
samples/client/petstore/java/default/src/test/java/io/swagger/petstore/test/PetApiTest.java
samples/client/petstore/java/jersey2/src/test/java/io/swagger/petstore/test/PetApiTest.java
samples/client/petstore/java/okhttp-gson/src/test/java/io/swagger/petstore/test/PetApiTest.java
2016-01-21 17:28:14 +08:00
Shyri Villar
877661a1f4
Add OAuth stub [androiod-volley]
2016-01-20 20:59:55 +01:00
Shyri Villar
7f03d5c69e
Added PetApiTest [android-volley]
2016-01-20 20:49:37 +01:00
Shyri Villar
407837ebe2
Added configurable timeout
2016-01-20 20:11:36 +01:00
Shyri Villar
92e7d0e69c
fix ApiKeyAuth applyToHeader when no api-key is provided
2016-01-20 19:59:28 +01:00
wing328
5d156916d7
Merge pull request #1930 from wing328/php_fix_deserialization
...
[PHP] add test cases for findPetsByTags
2016-01-21 00:23:54 +08:00
wing328
751b4cd832
remove var_dump
2016-01-20 21:46:10 +08:00
wing328
9b8b1fbb7f
Merge pull request #1922 from xhh/javascript-nodejs
...
[JavaScript] Make JavaScript client work in both Node.js and browser
2016-01-20 21:44:44 +08:00
wing328
058b408dfb
add test cases for findPetsByTags
2016-01-20 21:42:51 +08:00
xhh
34a941f352
Improve imports in api/models of Java clients
...
Closes #1810
2016-01-20 16:49:25 +08:00
wing328
7772c702ce
Merge pull request #1925 from wing328/csharp_update_readme
...
[C#] update README based on developer's feedback
2016-01-20 14:57:56 +08:00
xhh
8ff488cc01
Fix Ruby tests of the Petstore sample
2016-01-20 14:47:03 +08:00
xhh
5eb1cc04b9
Fix tests of UserAPI
2016-01-20 12:16:38 +08:00
wing328
cb8c3dfc2e
update csharp readme
2016-01-20 12:00:57 +08:00
xhh
1ddc91b8a9
Try fixing occasional testing failuers in Java client
...
by using random and atomically increasing IDs
2016-01-20 11:55:04 +08:00
wing328
75a932bf45
Merge pull request #1912 from wing328/csharp_update_test2
...
[C#] store ApiClient default in Configuration.Default
2016-01-20 11:26:05 +08:00
wing328
e72f8b17f3
Add style guide for JS
2016-01-20 10:58:49 +08:00
xhh
3b5462c1e9
Use String for "binary" as a workaronud
2016-01-20 10:34:36 +08:00
xhh
9c580a2447
Set accept header for JavaScript client
2016-01-20 10:29:09 +08:00
wing328
b21c5f08a7
Merge pull request #1921 from wing328/php_generate_test
...
[PHP] generate files for unit testing models and API files
2016-01-20 10:05:20 +08:00
John Hancock
629567c5ac
Fix project file option handling
2016-01-19 21:00:55 -05:00
John Hancock
b4bce238c2
CSharp: Optionally build csproj file
2016-01-19 21:00:54 -05:00
wing328
719056cf11
Merge pull request #1923 from wing328/java_server_fix_binary
...
[Java] fix binary in Java spring and inflector generator
2016-01-20 09:15:06 +08:00
wing328
2b09e8f3e5
make slim sh executable
2016-01-19 23:39:07 +08:00
wing328
a4eb5a8fa0
fix silex shell script
2016-01-19 23:35:59 +08:00
wing328
38bac9dfb4
fix byte[] in spring mvc and java inflector
2016-01-19 23:35:23 +08:00
xhh
40d83e7f52
Some cleanup
2016-01-19 22:52:05 +08:00
xhh
14630c7632
Make JavaScript client work in both Node.js and browser
...
* Replace jQuery with SuperAgent which works in both Node.js and browser
* Use UMD pattern (returnExports.js) to make the module exporting compatible
with all major systems: AMD, Node.js (CommonJS) and browser
* Implement support of header and form parameters. Closes #1736
* Move HTTP requesting code to `ApiClient` and allow customizing options
in it, e.g. "basePath"
* Update unit tests accordingly and add some tests for `ApiClient`
2016-01-19 22:21:36 +08:00
wing328
61c717b6de
add comments
2016-01-19 19:50:27 +08:00
wing328
8927c1dc0f
add test template for php
2016-01-19 14:49:32 +08:00
wing328
3269a84632
fix typo Configuraiton
2016-01-19 10:42:17 +08:00
wing328
731fd4be33
fix typo
2016-01-19 10:40:43 +08:00
Shyri Villar
060f0f33c2
add test dependencies [android-volley-library]
2016-01-18 22:11:11 +01:00
Shyri Villar
97e1d1e273
fix networ error excetption for synchronous requests [android-volley-library]
2016-01-18 22:06:02 +01:00
Shyri Villar
51468503b2
fix post, put, delete and patch when body is null [android-volley-library]
2016-01-18 22:05:36 +01:00
wing328
86587607e1
add api test and model test files
2016-01-19 00:51:21 +08:00
wing328
0fa1b1a9f9
Merge pull request #1916 from wing328/php_model_str_to_json
...
[PHP] fix __toString for nested models
2016-01-18 22:57:38 +08:00
wing328
dcd2c00fe6
fix empty object serialization issue
2016-01-18 21:42:24 +08:00
wing328
9fd4f39c8c
update tostring to use sanitizeforserialization
2016-01-18 21:27:29 +08:00
Maelig Nantel
a0424433d0
Merge remote-tracking branch 'refs/remotes/swagger-api/master'
2016-01-18 11:53:30 +01:00
wing328
275269e72a
fix indent, update perl & python sample
2016-01-18 11:53:18 +01:00
wing328
f4639f4b7b
add binary mapping for code generator
2016-01-18 11:53:18 +01:00
wing328
f4120893b3
fix null apiclient in .net (windows)
2016-01-18 11:53:17 +01:00
Tony Tam
835da98582
fixed templates
2016-01-18 11:53:16 +01:00
Tony Tam
09e32bb959
added date library option
2016-01-18 11:53:16 +01:00
Ole Lensmar
a39a89521f
fixed cmdline class in custom template examples
2016-01-18 11:53:15 +01:00
Tony Tam
06ac073740
Update README.md
2016-01-18 11:53:14 +01:00
Maelig Nantel
6e69d4e007
Corrent issue 1885
...
Handle the Swagger "default" value for a parameter with the JAX-RS
@DefaultValue annotation. This correction will also be reported in the
new JAX-RS CXF Codegen.
2016-01-18 11:53:13 +01:00
Maelig Nantel
370a8d136f
fixes
2016-01-18 11:35:57 +01:00
Maelig Nantel
89ed3bdb75
New fix
2016-01-18 11:16:04 +01:00
Maelig Nantel
b292ce54ce
Update after merging
2016-01-18 10:10:55 +01:00
Maelig Nantel
a39942f43f
Merge remote-tracking branch 'refs/remotes/swagger-api/master' into fix-java-warnings
...
# Conflicts:
# modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/JaxRSServerCodegen.java
2016-01-18 10:10:27 +01:00
wing328
7b1dde3d85
Merge pull request #1911 from wing328/mapping_update_binary
...
Add "binary" mapping in code generators
2016-01-18 12:29:18 +08:00
wing328
d04d554e0a
update comment in csharp test
2016-01-18 11:45:13 +08:00
wing328
417dcc8a86
update csharp configuration to avoid circular dependency, deprecate
...
ApiClient.Default
2016-01-18 11:39:32 +08:00
wing328
e2f646039c
Merge pull request #1904 from swagger-api/olensmar-patch-1
...
fixed cmdline class in custom template examples
2016-01-18 10:08:59 +08:00
wing328
7e6f1f8bf3
Merge pull request #1909 from wing328/csharp_fix_null_apiclient
...
[C#] fix null ApiClient issue in .net (windows)
2016-01-17 23:45:18 +08:00
wing328
bfc83b330f
fix indent, update perl & python sample
2016-01-17 19:32:50 +08:00
wing328
906bd2c7bf
add binary mapping for code generator
2016-01-17 19:14:11 +08:00
wing328
1bae5c44b2
fix null apiclient in .net (windows)
2016-01-17 16:04:13 +08:00
Tony Tam
bde2bbab56
Merge pull request #1906 from swagger-api/issue-1905
...
added date library option
2016-01-15 16:15:41 -08:00
Tony Tam
70784a3d98
fixed templates
2016-01-15 14:28:55 -08:00
Tony Tam
04e0df3b4a
added date library option
2016-01-15 14:20:20 -08:00
Ole Lensmar
e3d8eb0e0a
fixed cmdline class in custom template examples
2016-01-15 14:02:35 -05:00
Tony Tam
0c2376b429
Update README.md
2016-01-15 09:35:41 -08:00
Tony Tam
e50dc04418
Merge pull request #1902 from hiveship/issue-1885
...
Correct issue 1885
2016-01-15 08:33:33 -08:00
Maelig Nantel
8005931e5a
Corrent issue 1885
...
Handle the Swagger "default" value for a parameter with the JAX-RS
@DefaultValue annotation. This correction will also be reported in the
new JAX-RS CXF Codegen.
2016-01-15 16:49:36 +01:00
Maelig Nantel
467939216c
fix java warnings
...
Do not impact any feature. Juste correct some Java warnings (static
methods, unused imports or parameters...).
2016-01-15 14:02:55 +01:00
Maelig Nantel
faa4ecd0cd
Support java code generation for UUIDProperty
...
A property defined as "type: string & format: uuid" is now generated in
Java using "java.util.UUID" class instead of a classical String. In the
Java, the UUID class do not provide a constructor. You may use the
method UUID.fromString(<uuid_string>) to construct your UUID object.
2016-01-15 12:39:25 +01:00
xhh
319c260678
Java okhttp-gson: support binary (byte array)
...
for body parameter and response.
Also Update Java default, jersey2 and okhttp-gson clients to support
(constant) query string in the `path` (to work with the 2 "fake"
petstore endpoints on binary).
2016-01-15 19:33:33 +08:00
wing328
2a5bd0a80e
Merge pull request #1897 from wing328/perl_fix_replaceall
...
[Perl] fix replaceAll to avoid index out of bound exception in Windows
2016-01-15 16:54:22 +08:00
wing328
bfb8cdce2e
fix another replaceall in perl codegen
2016-01-15 16:03:35 +08:00
wing328
cbbb48a4e4
fix file.separator in replaceall (perl)
2016-01-15 15:47:40 +08:00
wing328
e0738d2bc6
Merge pull request #1891 from wing328/php_binary_support
...
[PHP] addd binary support to response and body parameter
2016-01-15 13:52:30 +08:00
wing328
fee8acef97
fix isBinary, CodegenParameter copy, add isBinary to php api client
2016-01-15 11:43:02 +08:00
wing328
c7b9635e98
add test cases for byte array (body)
2016-01-15 11:43:02 +08:00
wing328
f54185c66d
add binary support for php response
2016-01-15 11:43:02 +08:00
wing328
078f68a211
Merge pull request #1876 from xhh/file-downloading-fixes
...
File downloading improvements for Ruby and Java
2016-01-15 11:25:25 +08:00
wing328
0c4cc10095
Merge pull request #1882 from scottrw93/master
...
Fix for Jaxrs file upload missing param in service class
2016-01-15 11:22:37 +08:00
wing328
56f8d5f9e2
Merge pull request #1886 from bakito/master
...
skip trailing comma for enums in TypeScript angular
2016-01-15 11:02:58 +08:00
wing328
e1f18527f3
Merge pull request #1884 from wing328/csharp_filename_security
...
[C#] sanitize filename for C# API client
2016-01-15 10:37:50 +08:00
11356176
52df082b13
Update pet store for jaxrs
2016-01-14 21:39:08 +00:00
11356176
b439bf020e
Update pet store for Jaxrs
2016-01-14 20:54:47 +00:00
xhh
521ba9924b
Add a method to sanitize filename, add test cases
2016-01-14 23:06:30 +08:00
bakito
341c840bf9
regenerate petshop code
2016-01-14 14:51:06 +01:00
Marc Brugger
198310d5f2
skip trailing comma for enums
2016-01-14 14:06:00 +01:00
tkb16
f1710a1840
skip trailing comma for enums
2016-01-14 12:51:02 +01:00
wing328
f50463da02
fix security issue with filename for c# api client
2016-01-14 10:43:56 +08:00
11356176
c2a001847f
Merge remote-tracking branch 'upstream/master'
2016-01-13 18:14:06 +00:00
Scott Williams
e01cde8010
Fix for Jaxrs file upload service class missing param
2016-01-13 15:18:33 +00:00
wing328
13d5bcfa4d
Merge pull request #1881 from mkrufky/patch-1
...
README.md: Validating your OpenAPI Spec should point to #validating-your-openapi-spec
2016-01-13 21:41:46 +08:00
Michael Ira Krufky
62e19c20e2
README.md: Validating your OpenAPI Spec should point to #validating-your-openapi-spec
2016-01-13 08:15:20 -05:00
John Hancock
584ea2862c
CSharp: Optionally build csproj file
2016-01-12 21:55:17 -05:00
wing328
ece56af43c
Merge pull request #1874 from cbornet/fix_param
...
[Feign]Fix wrong query param key name in feign client
2016-01-12 20:06:29 +08:00
wing328
c110270cf4
Merge pull request #1878 from xhh/ruby-test-fix
...
Ruby: fix testing issue of deleting nonexistent pet
2016-01-12 19:47:46 +08:00
xhh
637cae153c
Ruby: fix testing issue of deleting nonexistent pet
2016-01-12 18:12:54 +08:00
wing328
24980ea1c6
Merge pull request #1866 from xhh/java-okhttp-gson-debugging
...
[Java okhttp-gson] Implement the "debugging" option of ApiClient
2016-01-12 16:53:39 +08:00
xhh
ef8d2fd766
Ruby: IO improvements on file downloading
...
- Use `File.basename` to sanitize the filename got from response header
- Write to the `Tempfile` directly and return it
- Set file encoding according to the response body's encoding
See #1848
2016-01-12 11:59:41 +08:00
wing328
8b430cdeb0
Merge pull request #1864 from wing328/csharp_binary_response
...
[C#] add binary support
2016-01-12 11:58:28 +08:00
wing328
d35d97d145
Merge pull request #1865 from wing328/php_fix_file_security
...
[PHP] better filename handling in ObjectSerializer
2016-01-12 11:28:59 +08:00
wing328
be49dc58bd
Merge pull request #1857 from erikvanzijst/erik/java_object_naming_clash
...
Java Class Name Clashes with java.lang.*
2016-01-12 10:57:53 +08:00
wing328
ef8e5dbcf5
Merge pull request #1862 from cbornet/feign_auth
...
Add auth support to feign library
2016-01-12 09:27:51 +08:00
cbornet
07947d8cad
fix wrong query param key name
2016-01-11 22:25:56 +00:00
Shyri Villar
d40bb8ad32
[android-volley] Added synchronous request support
2016-01-11 23:18:18 +01:00
cbornet
5e4db995c9
add oauth support to feign client
2016-01-11 22:16:01 +00:00
cbornet
58c0e63012
add auth support to feign library
...
Fix #1840
2016-01-11 22:16:01 +00:00
Shyri Villar
59b91c2120
[android-volley] improved RequestQueue configuration and decoupled ApiInvoker from Android Context
2016-01-11 21:18:28 +01:00
xhh
3c6639b4f6
Remove path delimiters from downloading filename
2016-01-11 22:13:07 +08:00
wing328
81436e8ae3
Merge pull request #1839 from Shyri/android-volley-library
...
Android volley fix responses with additionalProperties and update sdk version
2016-01-11 22:11:44 +08:00
wing328
cba7e063e1
add test case for objectserializer
2016-01-11 21:01:02 +08:00
xhh
b87d6a0f36
Java okhttp-gson: implement the "debugging" option
...
for ApiClient and upgrade OkHttp
2016-01-11 18:10:02 +08:00
wing328
3099aa2d85
Merge pull request #1853 from xhh/java-timeout
...
[Java] Support setting connect timeout for the default and jersey2 clients
2016-01-11 17:10:22 +08:00
wing328
eebf743fad
better filename handling in objectseralizer (php)
2016-01-11 16:16:49 +08:00
wing328
3c48202bee
Merge pull request #1833 from frinux/patch-1
...
projectName support to fill package.json template
2016-01-11 12:08:31 +08:00
wing328
391eb1bcb0
Merge pull request #1834 from frinux/patch-2
...
Fixed bug: basePath should not be empty
2016-01-11 11:57:26 +08:00
wing328
e0f43c1c58
add binary support to C# client
2016-01-11 00:45:57 +08:00
wing328
ce82aa41fc
Merge pull request #1863 from wing328/csharp_package_config
...
[C#] Fix comments and add compile-mono.sh
2016-01-10 15:03:59 +08:00
wing328
e1348e7871
add new files for c#
2016-01-10 02:29:58 +08:00
wing328
08756413dc
fix comment in csharpdonet2.0
2016-01-10 00:31:37 +08:00
wing328
6b7439b9d9
add compile-mono, fix csharp comment
2016-01-10 00:17:55 +08:00
wing328
ed2cb1d2e4
Merge pull request #1859 from jhancock93/datetimeoffset2
...
CSharp client: Add support for DateTimeOffset and sourceFolder configuration.
2016-01-09 21:13:01 +08:00
Tony Tam
67e91cdb07
Merge pull request #1861 from erikvanzijst/erik/recursive_equals
...
#1858 : The Java equals/hashcode methods ignores state from superclasses
2016-01-08 15:36:06 -08:00
Erik van Zijst
dbe62bee37
#1858 : The Java equals/hashcode methods ignores state from superclasses
...
This fixes equals/hashCode for derived classes.
2016-01-08 15:11:59 -08:00
Erik van Zijst
995869f4d5
Java Class Name Clashes with java.lang.*
...
A swagger file that contains a definition named "object" compiles into a
class named Object. This is technically not a problem as it lives in a
different package than java.lang.Object, but this requires the templates to
refer to Java's Object using its fully qualified name.
2016-01-08 11:07:18 -08:00
John Hancock
2a7fc2d00e
Fixed whitespace/tab issues
2016-01-08 13:06:25 -05:00
John Hancock
ebe090572f
CSharp: add support for DateTimeOffset and sourceFolder configuration options
...
Adds option to use DateTimeOffset to model datetime fields instead of
DateTime to allow preservation of timezone information. Modifies
ApiClient.ParameterToString to support DateTimeOffset. Also adds
sourceFolder option.
2016-01-08 13:03:33 -05:00
John Hancock
5f9164049c
CSharp: add support for DateTimeOffset and sourceFolder configuration
2016-01-08 13:03:24 -05:00
frinux
15676ff72e
Update NodeJSServerCodegen.java
...
projectName was already defined so never overriden.
2016-01-08 16:19:46 +01:00
frinux
6064f32ba5
Compilation error fixed
...
io.swagger.models.Info dependency added
2016-01-08 16:19:46 +01:00
frinux
4f715342a1
projectName support to fill package.json template
...
Inspired by ClojureClientCodegen.java, it is interesting to use projectName from info.title swagger spec to fill up package.json name attribute
2016-01-08 16:19:46 +01:00
frinux
b6e8ad56b5
Fixed bug: basePath should not be empty
...
This last change was producing a wrong swagger spec
@see https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md
"The value MUST start with a leading slash (/)"
2016-01-08 16:14:50 +01:00
wing328
170bde65e5
Fix link to 2.1.5
2016-01-08 19:55:31 +08:00
wing328
e3b5176792
Merge pull request #1831 from xhh/ruby-deserialize-test
...
Add test cases of nested array/map deserialization to Ruby petstore sample
2016-01-08 19:07:00 +08:00
xhh
3d65218619
Java jersey2 client: get/set connect timeout
2016-01-08 19:05:43 +08:00
wing328
3639cb5bca
Merge pull request #1851 from wing328/csharp_assembly_optional
...
[C#] add cli option to optionally generate Assemblyinfo.cs
2016-01-08 18:33:15 +08:00
xhh
9657d4437e
Java client: get/set connect timeout, fix "debugging"
2016-01-08 17:45:29 +08:00
wing328
468a13dc96
add cli option to optionally generate assemblyinfo.cs (default: true)
2016-01-08 17:03:57 +08:00
Shyri Villar
4261fe402c
android-volley-library updated android sdk, buildtools and target versions
2016-01-08 09:28:00 +01:00
Shyri Villar
9fefd1e7e5
Fixed android-volley-library responses when additionalProperties is present. Clean responses mechanism using volley default's
2016-01-08 09:27:59 +01:00
wing328
8bd7640512
Merge pull request #1838 from expectedbehavior/ruby-el-capitan
...
Minimal update for Ruby testing on El Capitan
2016-01-08 14:55:14 +08:00
wing328
c993b2bd70
Merge pull request #1832 from wing328/php_array_test
...
[PHP] add more test case for php (array of array, map of map)
2016-01-08 14:39:23 +08:00
wing328
a7ff6e22ab
update php sample before runnning CI tests
2016-01-08 14:07:05 +08:00
wing328
a8f5809370
replace httpHeader with httpHeaders in php object serializer
2016-01-08 14:04:10 +08:00
Tony Tam
94abbbdca7
fixed variable
2016-01-07 21:26:19 -08:00
Tony Tam
1b5a7be56d
updated .travis
2016-01-07 21:11:00 -08:00
Tony Tam
7c3406804d
updated versions
2016-01-07 20:43:49 -08:00
xhh
0a3b72cdf9
Add test cases of nested array/map deserialization to Ruby
...
petstore sample
2016-01-08 10:47:08 +08:00
wing328
61e6cbef66
fix httpHeader (remove s)
2016-01-08 10:37:48 +08:00
wing328
64427a16d1
add more test case for php (array of array, map of map)
2016-01-08 10:34:19 +08:00
Tony Tam
60bb355ec2
Merge pull request #1846 from swagger-api/KevinGlinski-master-travis
...
Kevin glinski master travis
2016-01-07 16:18:02 -08:00
Tony Tam
f60c46df4b
Merge branch 'KevinGlinski-master'
2016-01-07 15:40:23 -08:00
Tony Tam
66e3cac8db
Merge branch 'master' of https://github.com/KevinGlinski/swagger-codegen into KevinGlinski-master
2016-01-07 15:40:01 -08:00
Elijah Miller
c0da950fce
Minimal update for Ruby testing on El Capitan.
2016-01-07 18:17:07 -05:00
Tony Tam
30cdb791c3
Merge pull request #1845 from swagger-api/wing328-android_reserved_word-travis
...
Wing328 android reserved word travis
2016-01-07 15:16:16 -08:00
Tony Tam
bf012f973b
Merge branch 'wing328-android_reserved_word'
2016-01-07 14:53:02 -08:00
Tony Tam
e63a4c6651
Merge branch 'android_reserved_word' of https://github.com/wing328/swagger-codegen into wing328-android_reserved_word
2016-01-07 14:52:40 -08:00
Tony Tam
2cf122add6
Merge pull request #1844 from swagger-api/arnested-java-8-doc-travis
...
Arnested java 8 doc travis
2016-01-07 14:51:33 -08:00
Tony Tam
309906ce3a
updated travis file
2016-01-07 14:35:47 -08:00
Tony Tam
939f0a45ca
Merge branch 'arnested-java-8-doc'
2016-01-07 14:35:17 -08:00
Kevin Glinski
06717fb307
Merge remote-tracking branch 'upstream/master'
2016-01-07 16:35:08 -05:00
Arne Jørgensen
b256ccb045
Document Java 8 as requirement.
2016-01-07 22:01:22 +01:00
Tony Tam
503fb83e25
Merge pull request #1841 from swagger-api/travis-fix
...
Travis fix
2016-01-07 12:13:31 -08:00
Tony Tam
352b4ea923
travis
2016-01-07 11:19:29 -08:00
Tony Tam
4fe6381fcf
updated travis
2016-01-07 11:03:24 -08:00
Tony Tam
771ddccbe9
updated jersey version
2016-01-07 08:42:21 -08:00
wing328
f7ceace086
Added URL to public docker image
...
URL added: https://hub.docker.com/r/swaggerapi/swagger-generator/
2016-01-07 21:21:06 +08:00
wing328
0bdff1c50b
update reserved word to include local variable names for android, scala
2016-01-07 11:33:16 +08:00
wing328
fc218d0b4f
Merge pull request #1812 from captin411/perl-flexible-module-name
...
[Perl] more flexible perl module naming (Allow::This even without WWW::)
2016-01-07 10:37:45 +08:00
Kevin Glinski
3465a746d3
adding configurable options to the gemspec file
2016-01-06 21:02:29 -05:00
Ron
3a2ad9e2e4
Happy new year!
2016-01-06 16:04:16 -08:00
Tony Tam
cc0d29f3ec
fixed javadoc plugin
2016-01-06 12:30:24 -08:00
Tony Tam
ccea106148
Merge pull request #1827 from swagger-api/release-prepare
...
updated versions
2016-01-06 10:16:30 -08:00
Tony Tam
d4d4c43032
updated versions
2016-01-06 09:47:32 -08:00
Tony Tam
8c8e3227d9
Merge pull request #1826 from swagger-api/issue-1825
...
added serverPort detection from the spec
2016-01-06 09:41:06 -08:00
Tony Tam
ab91fc8c78
Merge pull request #1824 from wing328/php_update_reserved_wrod
...
Update reserved word list to include local variable names in API methods
2016-01-06 09:36:00 -08:00
Tony Tam
1110bd7a08
added to templates
2016-01-06 09:31:14 -08:00
Tony Tam
151de79a98
formatting
2016-01-06 09:31:06 -08:00
wing328
61bf45bda4
update typescript reserved word list to include local variable names
...
used in api methods
2016-01-06 23:58:58 +08:00
wing328
30445633d6
update objc reserved word list to include local variable name in api
...
methods
2016-01-06 23:58:58 +08:00
wing328
f033f59867
update reserved word list for C# .net 2.0 with local variable name in
...
api method
2016-01-06 23:58:58 +08:00
wing328
eeaf832cae
update csharp reserved words with local variable names in api methods
2016-01-06 23:58:58 +08:00
wing328
22b5f02ec3
update python reserved words to include local variable names in api
...
methods
2016-01-06 23:58:58 +08:00
wing328
9ab27cd848
update reserved words for php and ruby to include local variable names
...
in api methods
2016-01-06 23:58:58 +08:00
Tony Tam
19ff7dc19c
pom updates
2016-01-06 06:30:25 -08:00
Tony Tam
55cdf68192
Merge pull request #1823 from swagger-api/issue-1822
...
Added duplicate operation ID generation
2016-01-06 06:25:44 -08:00
Tony Tam
19c81bf7bd
fix, tests for #1822
2016-01-06 05:29:44 -08:00
Tony Tam
8923a541c0
Merge pull request #1821 from swagger-api/issue-1819
...
adds a parentSchema name, escapes reserved words in java client
2016-01-05 16:53:07 -08:00
Tony Tam
ed4a729cd2
added internal names to reserved words list
2016-01-05 16:40:17 -08:00
Tony Tam
b074bfb852
updted to jdk
2016-01-05 16:12:40 -08:00
Tony Tam
e82c12ccf8
updated tests, added parentSchema
2016-01-05 16:12:03 -08:00
Tony Tam
5a956df108
updated jdk version
2016-01-05 16:11:17 -08:00
Tony Tam
d5f17a1c3b
Merge pull request #1818 from swagger-api/issue-1817
...
updated parentModel names in inheritence situations
2016-01-05 15:22:22 -08:00
Tony Tam
ba9bd11a8d
updated parentModel names in inheritence situations
2016-01-05 14:58:36 -08:00
Tony Tam
e83cea0a48
Update Dockerfile
2016-01-05 12:30:02 -08:00
Tony Tam
3d6a3e28c2
Update .travis.yml
2016-01-05 12:29:48 -08:00
Tony Tam
4a56369662
Update README.md
2016-01-05 12:25:22 -08:00
Tony Tam
19beb90c27
Update .travis.yml
2016-01-05 12:23:38 -08:00
Tony Tam
8d120a0330
updated scripts
2016-01-05 06:08:22 -08:00
Tony Tam
e1afe7da65
remove println
2016-01-05 05:02:45 -08:00
Tony Tam
380d8c1d15
added config help, example for https://github.com/swagger-api/swagger-codegen/pull/1784#issuecomment-168599569
2016-01-05 05:02:05 -08:00
Tony Tam
ceadea10aa
Merge pull request #1813 from swagger-api/issue-1811
...
added Docker support
2016-01-05 04:31:49 -08:00
Tony Tam
69e7990fe1
updated to enable docker
2016-01-05 04:08:52 -08:00
Tony Tam
a57be19870
updated to install bundler
2016-01-05 03:59:55 -08:00
wing328
1acf5d2ff4
Merge pull request #1816 from xhh/android-volley-library
...
[Android] Change the android-volley client codegen to an Android library (sub template)
2016-01-05 17:19:05 +08:00
wing328
0635c60cf1
Merge pull request #1815 from wing328/java_server_fix_import
...
[Java] To fix missing imports in inline models in server templates
2016-01-05 17:06:36 +08:00
xhh
beabe8cda2
Merge branch 'master' into android-volley-library
...
Conflicts:
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/AndroidClientCodegen.java
2016-01-05 16:39:15 +08:00
wing328
e21edea98c
add sh to generate all java petstore client
2016-01-05 15:07:48 +08:00
wing328
3eb78b12ef
Merge pull request #1814 from wing328/master
...
[Java] To fix missing imports in inline models for java (retrofit, okhttp)
2016-01-05 15:05:40 +08:00
wing328
5a74370180
fix import for java server templates
2016-01-05 15:02:18 +08:00
wing328
99d19575f0
fix missing object import in java (retrofit, okhttp)
2016-01-05 14:44:26 +08:00
Tony Tam
fe151bcb67
.
2016-01-04 21:12:43 -08:00
David Bartle
99842f646f
more flexible perl module naming
...
- No more presuming 'WWW::' is at the beginning
(default is now "WWW::SwaggerClient" vs "SwaggerClient" in order
to accomodate)
- Test that module names Like::This write to the filesystem and in
the mustache templates properly
2016-01-04 20:38:07 -08:00
Tony Tam
43928a7726
enabled docker
2016-01-04 20:25:45 -08:00
Tony Tam
881d1407dc
exclusions
2016-01-04 20:24:15 -08:00
Tony Tam
4a5dd60182
added Dockerfile
2016-01-04 20:21:15 -08:00
Tony Tam
a45b72e4da
updated to include swagger-ui in war file
2016-01-04 20:21:09 -08:00
Tony Tam
608f045bd0
removed debug level
2016-01-04 20:20:51 -08:00
Tony Tam
40a11004b3
removed logic to make default location
2016-01-04 20:20:37 -08:00
Tony Tam
37a370e662
updated default port
2016-01-04 20:19:16 -08:00
Tony Tam
d18d848729
added relative file logic
2016-01-04 20:19:00 -08:00
wing328
ba8e992806
Merge pull request #1807 from wing328/java_fix_import
...
[Java] To fix missing imports in inline models
2016-01-05 11:45:50 +08:00
wing328
54a8ebd7d8
Merge pull request #1808 from wing328/python_add_reserved_word
...
[Python] add 'self' as a reserved keyword to python
2016-01-05 10:30:06 +08:00
wing328
4597d27fe9
add self as a reserved keyword to python
2016-01-05 10:17:07 +08:00
wing328
6967c0c2c7
add comment about java.utils.Objects
2016-01-05 09:59:27 +08:00
wing328
ff9e04e4dd
fix #1804
2016-01-05 09:52:33 +08:00
Tony Tam
90d1e280ed
Merge pull request #1805 from lugaru1234/options-default-value
...
Default values have been added to the boolean options
2016-01-04 08:31:22 -08:00
lugaru1234
b88e96ae10
Default values have been added to the boolean options
2016-01-04 16:33:34 +03:00
xhh
bed94ac3d0
Add the missing "volley" dependency
2016-01-04 20:22:33 +08:00
xhh
0103c2f906
Change the android-volley client codegen to an Android library
2016-01-04 19:09:07 +08:00
wing328
563cabe931
Merge pull request #1499 from arnested/collectionFormat
...
Accept arrays as arguments to collection parameters in PHP client.
2016-01-04 15:41:25 +08:00
wing328
d741ce0d91
Merge pull request #1729 from benmccann/rm-bin
...
Remove bin directory
2016-01-04 15:31:09 +08:00
wing328
dee885e9f5
Merge pull request #1803 from Tengah/issue-1802
...
Fixed configuration of host in api_client so that it gets done at run-time not load-time
2016-01-04 15:19:07 +08:00
wing328
c56252e4a0
Merge pull request #1801 from MyPureCloud/issue-1799
...
Issue 1799 - Inherited classes must come before implemented interface…
2016-01-04 14:52:45 +08:00
wing328
106f20fe51
Merge pull request #1800 from MyPureCloud/issue-1797
...
Issue 1797 - Adding assembly info
2016-01-04 14:51:40 +08:00
wing328
c315d7f3df
Merge pull request #1775 from Shyri/android-volley
...
Android volley client generator
2016-01-04 14:30:55 +08:00
wing328
ef24b66c6c
Merge pull request #1731 from evigeant/feature/jaxrs-no-sys-property
...
[jaxrs] Updated generator to use additional properties instead of system properties
2016-01-04 11:48:00 +08:00
wing328
3072247ca9
Merge pull request #1792 from xhh/java-model-indented
...
[Java] Update imports in models of Java clients
2016-01-04 11:04:25 +08:00
Tony Tam
3b8fe6a3cd
Merge pull request #1794 from DevFactory/staging/Local-Variables-should-not-be-declared-and-then-immediately-returned-or-thrown-fix-4
...
Local Variables should not be declared and then immediately returned or thrown
2016-01-03 17:06:49 -08:00
Arne Jørgensen
1292fe4dfd
Regenerated PHP petstore sample.
2016-01-03 22:59:15 +01:00
Arne Jørgensen
d71d164843
Accept arrays as arguments to collection parameters.
2016-01-03 22:45:07 +01:00
evigeant
ca67e3506b
Fixed idententation to use spaces instead of tab
2016-01-03 15:07:27 -05:00
evigeant
5867608ee1
Merge branch 'master' into feature/jaxrs-no-sys-property
...
Conflicts:
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/JaxRSServerCodegen.java
modules/swagger-codegen/src/test/java/io/swagger/codegen/options/JaxRSServerOptionsProvider.java
2016-01-03 08:18:31 -05:00
Bob Pasker
dfae08adc8
in Python, a method as the default value of a formal parameter defines the value when the module is loaded (normally at import time), not when the method is invoked
2015-12-31 18:10:19 -05:00
unknown
58694d0623
Issue 1799 - Inherited classes must come before implemented interfaces in the class definition
...
* Switched the order of parent class and the interface
2015-12-31 15:34:25 -07:00
unknown
6b39fde35a
Issue 1797 - Adding assembly info
...
* New mustache template created for AssemblyInfo.cs
* Properties added to the C# codegen file to specify the assembly property values and adding AssemblyInfo.mustache to list of supporting files
2015-12-31 14:58:26 -07:00
Kirill Vlasov
6fc871db38
Fixing squid:S1488 - Local Variables should not be declared and then immediately returned or thrown
2015-12-31 17:08:59 +05:00
xhh
f4581d3008
Update imports in models of Java clients
...
- Remove the StringUtil import which is no longer needed
- Remove duplicated imports of Objects and io.swagger.annotations.*
- Only include jackson related imports in the Java clients needing it
(i.e. the default, jersey2 and feign Java clients)
2015-12-31 12:44:34 +08:00
Tony Tam
cafea6f726
Merge branch 'DevFactory-staging/serializable-classes-should-have-a-version-id-fix-3'
2015-12-30 19:58:43 -08:00
Tony Tam
b98085eaa5
merged
2015-12-30 19:58:28 -08:00
Tony Tam
1e2abbe422
Merge pull request #1774 from DevFactory/staging/redundant-field-initializer-fix-2
...
Redundant Field Initializer
2015-12-30 19:54:23 -08:00
Tony Tam
f73acc7c18
Merge pull request #1791 from scottrw93/master
...
Issue 1631 Valid yml definition generates API error in node js server
2015-12-30 19:51:44 -08:00
Tony Tam
470c17db36
removed printout
2015-12-30 19:48:06 -08:00
11356176
eb2c7708cb
Issue 1631 Valid yml definition generates API error in node js server
2015-12-31 01:07:10 +00:00
Tony Tam
0c12971bbb
Merge pull request #1790 from swagger-api/issue-1789
...
updated templates for pojos, enums
2015-12-30 16:21:09 -08:00
Tony Tam
4bd17323d5
pom cleanup
2015-12-30 15:18:00 -08:00
Tony Tam
88fab0b85f
Merge branch 'master' into issue-1789
2015-12-30 15:06:54 -08:00
Tony Tam
bf93d48ef2
merged
2015-12-30 15:06:32 -08:00
Tony Tam
2081d9d154
added import-mappings documentation
2015-12-30 15:05:23 -08:00
Ron
9a54371ca9
Swagger Spec -> OpenAPI Spec
2015-12-30 14:52:15 -08:00
Tony Tam
adb3795a44
formatting
2015-12-30 14:51:43 -08:00
Tony Tam
e08e578c58
updated templates per #1789
2015-12-30 14:51:37 -08:00
Tony Tam
9ca914f769
updated jaxrs generator pojos
2015-12-30 14:20:52 -08:00
Tony Tam
83460ba81a
improved install instructions
2015-12-30 13:40:58 -08:00
Tony Tam
788c70922d
updated cli name
2015-12-30 13:40:51 -08:00
Tony Tam
f0dc103736
Merge pull request #1788 from swagger-api/issue-1764
...
made imports more intelligent
2015-12-30 13:25:44 -08:00
Tony Tam
ff6a9fc244
Merge pull request #1787 from swagger-api/issue-1454
...
added BigDecimal java serialization options
2015-12-30 13:16:25 -08:00
Tony Tam
d75e602168
made imports more intelligent
2015-12-30 13:16:08 -08:00
Tony Tam
1cd54ee685
added bigDecimalAsString option to allow serializing with strings
2015-12-30 12:32:37 -08:00
Tony Tam
ac7856d009
formatting
2015-12-30 12:27:31 -08:00
Tony Tam
6f324e069e
Merge pull request #1786 from lugaru1234/options-type-fix
...
CliOption.type has been set to "boolean" for boolean options
2015-12-30 11:01:07 -08:00
Tony Tam
26c50ce0a3
Merge pull request #1785 from swagger-api/issue-1748
...
added `serverPort`
2015-12-30 11:00:58 -08:00
Tony Tam
460e5befec
fixed index issue
2015-12-30 10:42:20 -08:00
lugaru1234
67bea9ec27
CliOption.type has ben set to boolean for boolean options
2015-12-30 18:17:45 +03:00
wing328
96889d47ba
Merge pull request #1742 from icha024/master6
...
Spring-MVC config "j8-async": Uses async servlet & Java 8 interface
2015-12-30 17:00:35 +08:00
Tony Tam
05b0d8f1bf
added serverPort
2015-12-30 00:06:24 -08:00
Tony Tam
8146f1dce6
Merge pull request #1750 from swagger-api/issue-1749
...
added library param
2015-12-30 00:05:05 -08:00
Tony Tam
b5e9ca0295
Merge pull request #1784 from swagger-api/issue-1035
...
adds configurable date library, prepares for multiple jaxrs versions
2015-12-29 23:57:08 -08:00
Tony Tam
405e09a057
added tests
2015-12-29 23:44:15 -08:00
Tony Tam
29f928d644
prepare for multiple jaxrs libraries
2015-12-29 23:28:31 -08:00
Tony Tam
ffe12b0620
added library, date library
2015-12-29 23:28:09 -08:00
wing328
0b841cb17a
Merge pull request #1778 from bradmsmith/master
...
Update README.mustache
2015-12-30 15:06:27 +08:00
wing328
751051f0e9
Merge pull request #1776 from wing328/update_pom_commonio
...
Update Apache Common IO to the latest version (2.4)
2015-12-30 14:59:10 +08:00
wing328
dcad165871
Merge pull request #1783 from ModelSolv/Issue-1781
...
[Akka-Scala] Fix #1781 re specs w/o security defs
2015-12-30 14:49:44 +08:00
wing328
9782bf8981
Merge pull request #1780 from wing328/perl_fix_datetime
...
[Perl] fix DateTime mapping
2015-12-30 14:36:45 +08:00
wing328
974e0125ce
Merge pull request #1768 from pculligan/master
...
Outstanding fix for #1173 : Added support for vendor extensions on model and property
2015-12-30 14:20:24 +08:00
wing328
43b047c720
Merge pull request #1779 from wing328/php_remove_duplicated_mapping
...
[PHP] remove duplicated type mapping
2015-12-30 14:12:21 +08:00
wing328
0c4214b93c
Merge pull request #1777 from xhh/java-model-indented
...
[Java] Move method StringUtil.toIndentedString to model
2015-12-30 13:54:36 +08:00
Shyri Villar
b41efdab5f
updated android-volley build.gradle
2015-12-29 18:12:11 +01:00
Andy Lowry
e864994b62
[Akka-Scala] Fix #1781 re specs w/o security defs
...
Per issue recommendation, fix is to DefaultCodegen#fromSecurity, which
now returns an empty list rather than null if no securityDefinitions
property is present in the swagger spec
2015-12-29 11:58:28 -05:00
wing328
6180b7b059
Merge pull request #1720 from artem-dudarev/patch-2
...
[C#] Escape \r in XML comments
2015-12-30 00:40:30 +08:00
Shyri Villar
29c05b5d65
Added string responses [android-volley]
2015-12-29 15:47:38 +01:00
Shyri Villar
58cb5716cb
move android-volley generated sample
2015-12-29 15:47:37 +01:00
Shyri Villar
69e1eecee0
Added petstore sample [android-volley]
2015-12-29 15:47:36 +01:00
Shyri Villar
2613e597dd
Added petstore sample [android-volley]
2015-12-29 15:47:35 +01:00
Shyri Villar
8260c661b3
Fix AndroidManifest xml schema [android-volley]
2015-12-29 15:47:33 +01:00
Shyri Villar
d162fc5362
Add permissions to manifest [android-volley]
2015-12-29 15:47:32 +01:00
Shyri Villar
602abdd242
Added http basic authentication method [android-volley]
2015-12-29 15:47:31 +01:00
Shyri Villar
ea1cbdaf8f
Fix API template [android-volley]
2015-12-29 15:47:30 +01:00
Shyri Villar
e9990d610f
Fix API template [android-volley]
2015-12-29 15:47:29 +01:00
Shyri Villar
b91e5c95d5
Rename request templates and fixed patch request [android-volley]
2015-12-29 15:47:28 +01:00
Shyri Villar
a897a2f28b
Added PATCH request [android-volley]
2015-12-29 15:47:26 +01:00
Shyri Villar
cb9e4bf961
Added DELETE request [android-volley]
2015-12-29 15:47:25 +01:00
Shyri Villar
a68ecf7809
Added [android-volley] petstore.sh
2015-12-29 15:47:24 +01:00
Shyri Villar
b28e0893f1
Added PUT request [android-volley]
2015-12-29 15:47:23 +01:00
Shyri Villar
9b2a04c787
Added Android-Volley to readme and pom
2015-12-29 15:47:22 +01:00
Shyri Villar
c30720289b
Import corrections [android-volley]
2015-12-29 15:45:10 +01:00
Shyri Villar
3c275f1831
try catch when string response removed
2015-12-29 15:45:09 +01:00
Shyri Villar
2af665a8e3
Added ApiKeyAuth implementation [android-volley]
2015-12-29 15:45:08 +01:00
Shyri Villar
e054c3cfc0
Moved request templates [android-volley]
2015-12-29 15:45:06 +01:00
Shyri Villar
89b4d9b4e9
fixed requests packages and imports [android-volley]
2015-12-29 15:45:05 +01:00
Shyri Villar
5cfcb0b60b
fixed response parsing in post request template [android-volley]
2015-12-29 15:45:04 +01:00
Shyri Villar
2e4f6dc0a1
Added error listeners in api template [android-volley]
2015-12-29 15:45:03 +01:00
Shyri Villar
cfdf2bc3b8
fix returnContainer [android-volley]
2015-12-29 15:45:02 +01:00
Shyri Villar
b55f8802ac
throw volley error on body post null [android-volley]
2015-12-29 15:45:01 +01:00
Shyri Villar
f5aba6d0a5
removed faulty setuseragent [android-volley]
2015-12-29 15:45:00 +01:00
Shyri Villar
93ed2e639d
added android-volley to CodegenConfig
2015-12-29 15:44:59 +01:00
Shyri Villar
b290d2d919
fix responses template [android-volley]
2015-12-29 15:44:57 +01:00
Shyri Villar
5c9606bc66
fix apiInvoker template imports [android-volley]
2015-12-29 15:44:56 +01:00
Shyri Villar
7b811ad44b
various api template fixes [android-volley]
2015-12-29 15:44:55 +01:00
Shyri Villar
b9abe2b51d
Added apiException template [android-volley]
2015-12-29 15:44:54 +01:00
Shyri Villar
84a22c8344
Added build.gradle and AndroidManifest [android-volley]
2015-12-29 15:44:53 +01:00
Shyri Villar
f5e757e6b9
Added build.gradle and AndroidManifest [android-volley]
2015-12-29 15:44:52 +01:00
Shyri Villar
52ebd25732
Added responses class [android-volley]
2015-12-29 15:44:51 +01:00
Shyri Villar
c80ff7ed0d
Added responses class
2015-12-29 15:44:49 +01:00
Shyri Villar
980957b9a9
fix getrequest import [android-volley]
2015-12-29 15:44:48 +01:00
Shyri Villar
f3ff567d3f
added default string response to api template [android-volley]
2015-12-29 15:44:47 +01:00
Shyri Villar
e098e8f372
Added PostRequest [android-volley]
2015-12-29 15:44:46 +01:00
Shyri Villar
5c79c21f3c
fixed Api returnType [android-volley]
2015-12-29 15:44:45 +01:00
Shyri Villar
c3679893df
Added jsonUtil and Pair android-volley
2015-12-29 15:44:43 +01:00
Shyri Villar
090839fe06
Added AndroidVolley ClientCodegen
2015-12-29 15:44:42 +01:00
Shyri Villar
acac1bb83b
Added GetRequest template android-volley
2015-12-29 15:44:41 +01:00
Shyri Villar
efac324b73
Added api template android-volley
2015-12-29 15:44:40 +01:00
Shyri Villar
16bf228a41
Added model template android-volley
2015-12-29 15:44:38 +01:00
Shyri Villar
a2aeb5a129
Added ClientOptions android-volley
2015-12-29 15:44:37 +01:00
Shyri Villar
795b324fe5
Added imports to Android Volley apiInvoker
2015-12-29 15:44:36 +01:00
Shyri Villar
78352dd454
First steps on Android Volley ApiInvoker
2015-12-29 15:44:35 +01:00
wing328
564f6e2bb5
Merge pull request #1767 from xhh/java-simple-profiling
...
[Java] Add simple profiling for Java Petstore sample
2015-12-29 16:34:55 +08:00
wing328
e4078855f5
fix date mapping for perl
2015-12-29 16:29:20 +08:00
wing328
8882c36c91
fix perl datetime mapping
2015-12-29 15:21:38 +08:00
wing328
fed4ba3cf8
use DateTime for php date
2015-12-29 15:04:27 +08:00
wing328
11d6bb9a95
php remove duplicated type mapping
2015-12-29 15:00:56 +08:00
wing328
6e4d097710
Merge pull request #1769 from arnested/php-wildcard-response-code
...
Handle wildcard response codes correct in PHP
2015-12-29 14:49:01 +08:00
wing328
c5ccb3f8eb
Merge pull request #1772 from xhh/ruby-inline-base-object
...
[Ruby] Remove base_object from Ruby model
2015-12-29 13:27:23 +08:00
Brad Smith
acc43e7f71
Update README.mustache
...
Fix broken link
2015-12-28 21:14:08 -08:00
wing328
745e4f7dc2
Merge pull request #1771 from wing328/perl_simple_model
...
[Perl] remove base_object from Perl model
2015-12-29 12:54:55 +08:00
xhh
3d4b5ff1c7
Java: Move method StringUtil.toIndentedString to model
...
Closes #1701
2015-12-29 12:30:54 +08:00
Ian Chan
3103846f45
Enforce Java 1.8 when generating spring-mvc with j8-async option
...
The spring-mvc j8-async code is now located in it's own sample directory
with Java 8 enforced via Maven plug-in.
2015-12-29 13:40:46 +13:00
wing328
861ea27db7
update pom commonio to latest version
2015-12-29 00:01:18 +08:00
Kirill Vlasov
7a63dd1416
Fixing pmd:RedundantFieldInitializer - Redundant Field Initializer
2015-12-28 17:38:54 +05:00
xhh
670e56f692
Remove base_object from Ruby model
...
and move methods from base_object to each model so that model files will
have no dependency when generating "models only"
2015-12-28 17:42:33 +08:00
wing328
d6125483cf
remove commented code in perl
2015-12-28 16:32:41 +08:00
wing328
7b10023784
update perl sample
2015-12-28 16:12:18 +08:00
wing328
fa9844af7e
remove baseobject from perl, add README.mustache
2015-12-28 16:08:43 +08:00
wing328
3a2447634c
Merge pull request #1766 from wing328/swift_promisekit_3
...
[Swift] update promisekit and alamofire to the latest version
2015-12-28 16:01:52 +08:00
wing328
858d44a27f
Merge pull request #1761 from xhh/ruby-timeout
...
Ruby client: add "timeout" to configuration
2015-12-27 23:42:53 +08:00
Arne Jørgensen
84c35bd0cb
Regenerated PHP petstore sample.
2015-12-27 15:29:08 +01:00
Tony Tam
cbfdffb09a
Merge pull request #1734 from wing328/fix_array_inline_response
...
Fix array/map inline response/model
2015-12-27 06:18:01 -08:00
Arne Jørgensen
6a45111e10
Handle wildcard response codes correct in PHP
...
Wildcard response codes was handled like all other response codes
resulting in a misleading construction like this:
```
switch ($e->getCode()) {
case 0:
$data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\Error', $e->getResponseHeaders());
$e->setResponseObject($data);
break;
}
```
This commit fixes it to use the default fallback of the PHP switch
statement:
```
switch ($e->getCode()) {
default:
$data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\Error', $e->getResponseHeaders());
$e->setResponseObject($data);
break;
}
```
2015-12-27 15:17:18 +01:00
Patrick Culligan
3266fbbf81
corrected JavaDos issues that were UNRELATED to this PR to get the CI server moving.
2015-12-26 18:18:14 -06:00
Patrick Culligan
ef1222f2bf
Added support for vendor extensions on model and property
2015-12-26 17:29:56 -06:00
xhh
a2c020f9e8
Add simple profiling for Java Petstore sample
2015-12-26 16:48:49 +08:00
wing328
5638027179
remove downloadImage from petstore.json
2015-12-26 16:15:58 +08:00
wing328
6124062a70
update promisekit and alamofire to the latest version
2015-12-26 16:12:56 +08:00
wing328
89daeb3bf8
Merge pull request #1755 from xhh/java-timeout
...
Java okhttp-gson client: get/set connect timeout
2015-12-25 14:50:10 +08:00
Ian Chan
916793b820
Added spring-mvc-petstore-j8-aysnc-server.sh executable.
...
Added the executable and config file for spring-mvc's j8-async target.
2015-12-25 16:34:35 +13:00
xhh
8fa14446e3
Add milliseconds hint to comment of getConnectTimeout
2015-12-24 17:56:19 +08:00
xhh
43c0d20743
Ruby client: add "timeout" to configuration
2015-12-24 14:54:39 +08:00
wing328
732212cdb2
Merge pull request #1763 from wing328/update_pom
...
Update pom to use latest core and parser
2015-12-24 14:31:40 +08:00
wing328
9181b6b0a7
update pom to use latest core and parser
2015-12-24 14:13:18 +08:00
Tony Tam
3e5f23dc7a
Merge pull request #1759 from ePaul/feature/1743-fix-gitignore-for-eclipse-settings
...
Fix #1743 by removing `*/` from the .settings ignore line.
2015-12-23 10:15:34 -08:00
Paŭlo Ebermann
f2a510912b
Fix #1743 by removing */ from the .settings ignore line.
...
`*/.settings` applies to just the directory below the current one, where there is no such file.
`.settings` applies to all files/directories named such in the whole project.
2015-12-23 19:12:03 +01:00
Tony Tam
609240c389
Merge pull request #1757 from swagger-api/issue-1756
...
Add binary, byte array properties
2015-12-23 05:59:33 -08:00
Tony Tam
7381b816ff
fixes #1756
2015-12-23 05:50:46 -08:00
xhh
a58901f375
Java okhttp-gson client: get/set connect timeout
2015-12-23 18:58:16 +08:00
Ian Chan
638ee88830
Removed Jersey2 test from spring-mvc codegen
...
The previous patch to allow sub options to spring-mvc had removed the
invalid Jersey2 option from spring-mvc codegen, this patch also fixes
the associated test.
2015-12-23 10:29:47 +13:00
wing328
55fece195d
Merge pull request #1733 from DevFactory/staging/override-annotation-should-be-used-where-necessary-fix-1
...
Fixing squid:S1161 - @Override annotation should be used where necessary
2015-12-22 22:22:46 +08:00
Justus Thorvaldsson
2c1b71429a
Fixed space between inline enumclasses and removed extra tostring
2015-12-22 13:49:04 +01:00
Justus Thorvaldsson
3b95df3ca7
Added construct that was removed when merge wrongly
2015-12-22 12:24:08 +01:00
Justus Thorvaldsson
ea55c9c901
Some generated dates was merged incorrectly
2015-12-22 11:00:20 +01:00
Justus Thorvaldsson
7c9832c741
Merge remote-tracking branch 'upstream/master' https://github.com/swagger-api/swagger-codegen.git
2015-12-22 10:43:42 +01:00
Justus Thorvaldsson
7d9bddbe23
Added sample files generated
2015-12-22 08:19:44 +01:00
Tony Tam
b46e3ad400
updated for #1749
2015-12-21 22:16:11 -08:00
wing328
7305b9b4e1
Merge pull request #1745 from wing328/fix_need_to_import
...
Fix default needToImport
2015-12-22 14:00:01 +08:00
wing328
6b2f15b2cf
add packageName support to golang
2015-12-22 00:12:18 +08:00
wing328
0d377507b4
fix post model and update test
2015-12-21 22:34:56 +08:00
wing328
4062deed92
remove logger, fix deserialization of json response
2015-12-21 22:34:56 +08:00
wing328
3ebefba678
better return for golang method
2015-12-21 22:34:56 +08:00
wing328
a05076ed09
first commit of golang generator before fixing return
2015-12-21 22:34:56 +08:00
wing328
33b8e8aa5b
add golang
2015-12-21 22:34:56 +08:00
Justus Thorvaldsson
dd568afc0a
add all default values
2015-12-21 10:41:58 +01:00
Justus Thorvaldsson
d59dde9fb3
send enum always, default is used
2015-12-21 10:38:33 +01:00
wing328
aa55c95d1b
fix default needToImport
2015-12-21 14:12:19 +08:00
wing328
391d0b9f9d
Merge pull request #1741 from wing328/csharp_set_timeout
...
[C#] add timeout and update default constructor with optional value
2015-12-20 23:35:20 +08:00
Ian Chan
29b4098a8d
Spring-MVC config "j8-async": Uses async servlet & Java 8 interface
...
default
This template is mainly for Maven code-gen plugin use-case - when
Swagger spec on existing project changes there is no need to manually
copy/paste the new functions from the generated client. This will
provide a default (empty) implementation to existing impl and user just
need to override the stub implementation.
Because it generates an interface instead of a concrete stub, an
implementation will be needed to actuate a service end-point. And don't
forget to put @Controller on the implementation!
2015-12-20 09:53:41 +13:00
wing328
2cc5924498
update test case, docstring for timeout
2015-12-19 23:15:54 +08:00
wing328
0aa4d2fb8e
csharp add timeout, fix default constructor
2015-12-19 22:55:52 +08:00
Tony Tam
968c943c44
more enum support
2015-12-18 10:58:30 -08:00
Tony Tam
24ed12f448
Merge pull request #1740 from swagger-api/issue-1357
...
Add generation of enum models
2015-12-18 09:34:31 -05:00
wing328
7e3ad18faf
Merge pull request #1725 from hacki11/patch-1
...
[C#] fix filename and Content-Disposition parsing on FileStream
2015-12-18 21:23:25 +08:00
Tony Tam
a3a269c801
Merge branch 'master' into issue-1357
2015-12-18 08:13:20 -05:00
Tony Tam
5814cd47bc
updated parser for #1357
2015-12-18 08:12:31 -05:00
Tony Tam
5b0b759e4e
added enum class support
2015-12-18 08:12:15 -05:00
wing328
c1dda0ca17
update test case for inline model
2015-12-18 16:50:55 +08:00
wing328
20755bde2b
Merge pull request #1735 from xhh/javascript-testing
...
[Javascript] NPM module, bug fixes, clean-ups, unit tests
2015-12-18 11:44:34 +08:00
xhh
1777124e62
Javascript: remove call to apiClietn.parameterToString
2015-12-17 21:37:04 +08:00
xhh
1b0294dac0
Javascript: fix the constructFromObject issue
...
Closes #1721
Also fixed indentations in models
2015-12-17 21:29:58 +08:00
xhh
a58f755a6a
Escape path parameters with encodeURIComponent
...
and tweak the test command
2015-12-17 21:19:28 +08:00
xhh
180d2ae908
Merge branch 'master' into javascript-testing
2015-12-17 20:42:37 +08:00
xhh
f07b75f419
Include Javascript client into integration test
...
and return the promise-like result of $.ajax for API
2015-12-17 20:41:09 +08:00
xhh
794783a4bb
Javascript: bug fixes, clean-ups, tests
...
- Fix the "apiClient.escapeString" issue
- Remove unused code in api.mustache
- Add test case for creating and getting Pet
2015-12-17 20:05:00 +08:00
xhh
dcfe40fc44
Configure Javascript tests to allow running in browser
2015-12-17 18:51:12 +08:00
wing328
03e3a2d0dd
remove logger, replace tab with space
2015-12-17 18:05:39 +08:00
xhh
146b4a4813
Use a more real jquery mocking in test
2015-12-17 18:00:09 +08:00
wing328
c8c047a2bc
fix map in inline model
2015-12-17 17:55:47 +08:00
wing328
2e143ec054
fix map of inline response
2015-12-17 17:39:55 +08:00
wing328
13b03d92d4
update response to support array of inline model
2015-12-17 17:01:14 +08:00
wing328
c8a10aee33
add support for inline array model defined in inline model
2015-12-17 16:44:35 +08:00
wing328
c5c1712374
fix array of inline model body parameter
2015-12-17 15:44:22 +08:00
evigeant
e19d4228e9
Fixed CodeGen tests following addition of implFolder additional property
...
in jaxrs
2015-12-16 22:22:01 -05:00
wing328
b073dce1e7
Merge pull request #1726 from tomekc/alamofire-bump-31
...
Bumped Alamofire library (dependency for Swift client). Alamofire 3.1.x is compatible with previous version and resolves a few annoying bugs, like proper handling of empty HTTP responses.
2015-12-17 10:46:44 +08:00
evigeant
6f4f293943
Updated jaxrs generator to use additional properties instead of java
...
properties which are very difficult to set from maven
2015-12-16 21:41:43 -05:00
Ben McCann
89be4231db
Remove bin directory
2015-12-16 16:09:25 -08:00
hacki11
5f13484157
- add downloadImage to Petstore
...
- fixed equal instead of ':' after Content-Disposition
- added definition of file (swagger-maven-plugin generates them)
2015-12-17 00:14:21 +01:00
Tomek Cejner
5a1c6e6c17
Updated samples, and cartfile
2015-12-16 21:55:31 +01:00
xhh
cc408a0dd7
Add unit tests to Javascript Petstore sample
2015-12-17 00:32:50 +08:00
xhh
2c1d8b19d2
Make Javascript client a Node.js (NPM) module
2015-12-16 23:51:48 +08:00
Tomek Cejner
10885790f8
Bumped alamofire to 3.1.x
2015-12-16 14:56:37 +01:00
xhh
625e712d7b
Javascript: add package.json
2015-12-16 19:57:44 +08:00
xhh
199c4f70ad
Add some config options to Javascript client codegen
2015-12-16 19:57:44 +08:00
wing328
0078dc11d1
Merge pull request #1703 from evigeant/feature/simple-jaxrs-serialization
...
Simplify Jersey and Jersey2 client serialization
2015-12-16 11:32:11 +08:00
hacki11
322e7a4b4b
[C#] fix filename and Content-Disposition parsing on FileStream
2015-12-15 23:33:48 +01:00
xhh
3f3e444ab1
Some clean-ups for the Javascript client codegen
2015-12-15 23:00:09 +08:00
wing328
89f269969d
Merge pull request #1716 from wing328/csharp_config_remove_static
...
[C#] remove some static methods in configuration
2015-12-15 19:51:29 +08:00
wing328
adf7ffb3a8
Merge pull request #1718 from artem-dudarev/patch-1
...
[C#] Fixed ArgumentOutOfRangeException. Optimized string concatenation.
2015-12-15 18:31:53 +08:00
Kirill Vlasov
4ed0173a21
Fixing squid:S2057 - Serializable classes should have a version id
2015-12-15 15:03:33 +05:00
Artyom
b1869c1cae
Escape \r in XML comments
...
Workaround for #1336
2015-12-15 11:21:20 +02:00
Kirill Vlasov
49a6d0e6c1
Fixing squid:S1161 - @Override annotation should be used on any method overriding (since Java 5) or implementing (since Java 6) another one
2015-12-15 14:09:31 +05:00
Artyom
fbf4d0e419
Fixed ArgumentOutOfRangeException
...
If the list is empty you get the ArgumentOutOfRangeException when calling flattenString.Remove(flattenString.Length - 1).
Also using a StringBuilder is the prefered way to concatenate strings in a loop.
2015-12-15 10:51:04 +02:00
wing328
b01b414aae
add constructor to configuration
2015-12-14 22:26:32 +08:00
wing328
f03bc1f3bc
remove some static methods in configuration
2015-12-14 16:07:41 +08:00
wing328
2a5b96dbcf
Merge pull request #1698 from xhh/ruby-config
...
Ruby client: allow setting Configuration in ApiClient
2015-12-14 15:14:08 +08:00
wing328
99c40ae8a0
Merge pull request #1706 from mirthy/issue-1705
...
[C#] Fix date-time serialization to be ISO 8601
2015-12-14 15:05:07 +08:00
wing328
0d3fdba764
Merge pull request #1714 from wing328/ruby_sinatra_fix
...
[Ruby][Sinatra] fix bug with adding routes and add swagger.yaml
2015-12-14 11:32:28 +08:00
wing328
1596944ef5
Merge pull request #1712 from xhh/ruby-property-doc
...
[Ruby] Place properties on separate lines with description
2015-12-14 10:41:21 +08:00
wing328
909ec298af
update regex to non-greedy match
2015-12-13 18:18:49 +08:00
wing328
1dd05bb90f
add swagger.yaml to ruby sinatra
2015-12-13 17:39:52 +08:00
wing328
bef2dac022
fix add route in sinatra
2015-12-13 17:22:30 +08:00
xhh
ddc4b0a548
Ruby: place properties on separate lines with description
2015-12-12 21:33:32 +08:00
wing328
79033e57fe
Merge pull request #1709 from xhh/ruby-profiling
...
[Ruby] Add simple profiling script and results for Ruby Petstore sample
2015-12-12 16:27:53 +08:00
Jeff Kwan
e0582ae912
Added the ability to customize the DateTimeFormat
...
Updated Configuration to have a DateTimeFormat
Added Unit Tests for Configuration.DateTimeFormat
Cleaned up namespaces in SwaggerClientTest
Added an embedded resource for testing uploads
2015-12-11 18:28:37 -05:00
evigeant
8fc27b5f0c
Fixed a bug where the JSON.mustache file was removed from the jersey2
...
code generation
2015-12-11 12:57:05 -05:00
xhh
4272e9c027
Add profiling script and results for Ruby Petstore sample
2015-12-11 23:24:19 +08:00
wing328
ca3f0cc4df
Merge pull request #1708 from wing328/php_profile
...
[PHP] add profiling script and result for php
2015-12-11 15:57:34 +08:00
wing328
2a8afbec8d
Merge pull request #1697 from wing328/objc_minor_style
...
[ObjC] minor style change for objc client
2015-12-11 14:43:38 +08:00
wing328
3acb5d60a0
add swgger client profiling for php
2015-12-11 14:36:28 +08:00
wing328
207b14283c
Merge pull request #1702 from wing328/php_profile
...
[PHP] add Php profiler for petstore sample
2015-12-11 12:29:17 +08:00
wing328
5ea073816d
Merge pull request #1693 from xhh/clojure-json-mime
...
[Clojure] Use case-insensitive checking on JSON MIME in Clojure client
2015-12-11 11:52:11 +08:00
Jeff Kwan
ca26608b28
Add some tests for time zones
2015-12-10 20:42:30 -05:00
Jeff Kwan
74d80289dd
Add a unit test for the datetime serialization
2015-12-10 20:28:44 -05:00
Jeff Kwan
23fa84bff8
Add some reasonable comments to this
2015-12-10 20:03:29 -05:00
Jeff Kwan
cf3144d31f
[C#] Fix date-time serialization to be ISO 8601
...
Fix the date-time serialization so that it's actually ISO 8601
compliant, currently it generates a date-time string
Issue #1705
2015-12-10 19:56:10 -05:00
wing328
2bb2ab6cad
Merge pull request #1700 from wing328/java_feign_update_test
...
[Java] Update Feign client sample and test cases
2015-12-11 00:41:22 +08:00
evigeant
a3024a3553
Updated PetStore sample for java client jersey2
2015-12-10 10:45:47 -05:00
evigeant
0f67be5590
Simplified Jersey2 java client by letting Jersey do most serialization
...
and deserialization
2015-12-10 10:45:46 -05:00
evigeant
d51746d7fa
Updated PetStore sample for Java client (default)
2015-12-10 10:43:30 -05:00
evigeant
ee39977726
Let Jersey do the serialization and deserialization (including JSON)
2015-12-10 10:43:28 -05:00
evigeant
84ee958117
Simplified Jersey ApiClient by delegating much serialization to Jersey
2015-12-10 09:21:53 -05:00
wing328
9faf6f4068
add php profiler for petstore, fix empty/null string check
2015-12-10 18:55:28 +08:00
wing328
1bab13ab27
Merge pull request #1689 from xhh/java-json-mime
...
[Java] Improve the checking of JSON MIME
2015-12-10 17:22:40 +08:00
wing328
5ef169de15
update sample and test case for java feign
2015-12-10 16:37:56 +08:00
wing328
f5693b6c73
update sample and test case for java feign
2015-12-10 16:35:38 +08:00
wing328
83dc5393cb
Merge pull request #1625 from davidkiss/master
...
adding support for both Java client using Netflix Feign and JMeter tests
2015-12-10 16:07:48 +08:00
xhh
e9ef143d8f
Ruby client: allow setting Configuration in ApiClient
...
Removed the singleton design from the Configuration class.
Added a `config` field to ApiClient to hold the settings the ApiClient
uses.
2015-12-10 15:25:07 +08:00
wing328
75a1f97a1e
minor style change for objc client
2015-12-10 15:21:52 +08:00
wing328
b2b06d72d5
Merge pull request #1685 from mateuszmackowiak/master
...
Support for extended 'application/json' HeaderAccept types
2015-12-10 14:52:05 +08:00
wing328
2b6b500c35
Merge pull request #1688 from wing328/objc_model_default_value
...
[ObjC] add default value to ObjC model properties
2015-12-10 14:17:16 +08:00
wing328
1241cdc8aa
Merge pull request #1687 from wing328/python_default_value
...
[Python] add default value to python model's properties
2015-12-10 14:09:29 +08:00
David Kiss
0d19b30c99
using isBodyParam instead of vendorExtention.x-isBody
2015-12-09 23:12:42 -05:00
wing328
ae17f97c99
Merge pull request #1537 from lugaru1234/ensureUniqueParamsRefactor
...
Code refactoring: ensureUniqueParams default value has been moved from description to the defaultValue field
2015-12-09 23:02:20 +08:00
xhh
63092b8923
Clojure client: use case-insensitive checking on JSON MIME
2015-12-09 22:55:49 +08:00
wing328
7642314b20
Merge pull request #1690 from thibaultclem/master
...
[Javascript] Fix syntax issue when generating Javascript client operation without parameters
2015-12-09 18:01:54 +08:00
thibaultclem
7c72552780
Update JS Client Petstore samples after fixing issue on the JS api.mustache
2015-12-09 16:32:18 +07:00
wing328
fcd3d3dce1
Merge pull request #1683 from xhh/ruby-default-value
...
[Ruby] Add default value to Ruby model
2015-12-09 17:15:00 +08:00
thibaultclem
8e0816b5dd
Fix syntax issue when generating Javascript client operation without parameters
2015-12-09 16:11:08 +07:00
xhh
ba48f8712d
Add test case for the "json_mime?" method
2015-12-09 16:34:53 +08:00
xhh
be0bc71c86
Improve checking of JSON MIME in Java default and jersey2
...
to support suffix like charset in "application/json; charset=UTF8"
2015-12-09 16:30:55 +08:00
wing328
e767a7d6d8
add default value to objc model properties
2015-12-09 16:21:00 +08:00
xhh
921659be5c
Improve checking of JSON MIME in Java okhttp-gson client
...
to support suffix like charset in "application/json; charset=UTF8"
2015-12-09 16:09:15 +08:00
wing328
36dfa15f93
Merge pull request #1680 from wing328/php_default_value
...
[PHP] add default value to PHP model
2015-12-09 15:39:34 +08:00
wing328
bf3c1d36d5
add default value to python model
2015-12-09 15:34:39 +08:00
Tony Tam
2e81bf34ce
Merge branch 'master' of github.com:swagger-api/swagger-codegen
2015-12-08 20:40:42 -08:00
Tony Tam
78158d79ca
updated instructions
2015-12-08 20:40:34 -08:00
xhh
4fdaeb7371
Improve checking of JSON MIME
2015-12-09 12:38:38 +08:00
xhh
b896c9169a
Add comments to model classes in Ruby client
2015-12-09 11:30:48 +08:00
xhh
21bd4fbbc1
Add default value to Ruby model
2015-12-09 11:30:09 +08:00
wing328
a866c7fef4
Merge pull request #1682 from wing328/cpp_improve_test
...
[Qt5] improve Qt5 test cases
2015-12-09 11:19:34 +08:00
wing328
0dd2ebc78e
Merge pull request #1679 from wing328/csharp_default_value
...
[C#] add default member's value for C# models
2015-12-09 10:43:26 +08:00
wing328
f2af05737a
Merge pull request #1677 from xhh/ruby-api-with-http-info
...
Added with-http-info API methods to Ruby client
2015-12-09 10:34:03 +08:00
Mateusz Mackowiak
a01dfb693b
Support for extended 'application/json' HeaderAccept types
2015-12-08 18:52:59 +01:00
wing328
258bb27f30
Merge pull request #1672 from wing328/php_add_http_info
...
[PHP] add `WithHttpInfo` method to return HTTP status code and response headers
2015-12-08 18:31:43 +08:00
wing328
bf63be3a63
improve cpp test case
2015-12-08 17:23:54 +08:00
wing328
2e6da5c0d2
Merge pull request #1678 from lmikkelsen/qt5-include
...
Replace #import with #include in the Qt5 generator
2015-12-08 17:00:52 +08:00
Justus Thorvaldsson
b434fb517f
Fixes enums c#
2015-12-08 09:43:28 +01:00
wing328
4b656c516f
add default value to php model
2015-12-08 15:59:46 +08:00
wing328
b122107a80
Merge pull request #1653 from ianmcorvidae/clojure-tweaks
...
Clojure client: docstrings tweaks
2015-12-08 15:21:45 +08:00
wing328
d7fe8e5505
Merge pull request #1670 from xhh/java-api-with-http-info
...
Add WithHttpInfo API methods to Java okhttp-gson client
2015-12-08 15:17:03 +08:00
wing328
f9f0992cc8
add default member's value for C# models
2015-12-08 15:09:30 +08:00
Lars Mikkelsen
0cef7116e8
Replace #import with #include in the Qt5 generator
...
The SWGHelpers.cpp file uses non-standard #import statements. This
causes the following error when built using Visual Studio 2013:
SWGHelpers.cpp(4): fatal error C1083: Cannot open type library file:
'c:\qt\qt5.5.1\5.5\msvc2013_64\include\qtcore\qdebug': Error loading
type library/DLL.
2015-12-07 23:30:37 -05:00
David Kiss
1723078508
added support in feign for binary uploads
2015-12-07 22:34:38 -05:00
David Kiss
538ccb3f12
Merge remote-tracking branch 'xhh2/davidkiss-master'
...
Conflicts:
samples/client/petstore/java/feign/README.md
samples/client/petstore/java/feign/build.gradle
samples/client/petstore/java/feign/pom.xml
samples/client/petstore/java/feign/settings.gradle
samples/client/petstore/java/feign/src/main/java/io/swagger/client/ApiClient.java
samples/client/petstore/java/feign/src/main/java/io/swagger/client/StringUtil.java
samples/client/petstore/java/feign/src/main/java/io/swagger/client/api/PetApi.java
samples/client/petstore/java/feign/src/main/java/io/swagger/client/api/StoreApi.java
samples/client/petstore/java/feign/src/main/java/io/swagger/client/api/UserApi.java
samples/client/petstore/java/feign/src/main/java/io/swagger/client/model/Category.java
samples/client/petstore/java/feign/src/main/java/io/swagger/client/model/Order.java
samples/client/petstore/java/feign/src/main/java/io/swagger/client/model/Pet.java
samples/client/petstore/java/feign/src/main/java/io/swagger/client/model/Tag.java
samples/client/petstore/java/feign/src/main/java/io/swagger/client/model/User.java
2015-12-07 21:29:14 -05:00
wing328
9ed5b863c4
Update README.md
2015-12-07 16:58:51 +08:00
wing328
b4c6fc20cb
Update CONTRIBUTING.md
2015-12-07 16:38:07 +08:00
wing328
105e3e3327
Create CONTRIBUTING.md
2015-12-07 16:36:32 +08:00
xhh
07de03c09b
Return data before response status code and headers
2015-12-07 16:10:24 +08:00
xhh
66112d9eb5
Added with-http-info API methods to Ruby client
...
to allow accessing response status code and headers, and removed the methods of
recording last response info from ApiClient.
2015-12-07 15:48:59 +08:00
David Kiss
eb4acd0971
added unit tests to feign client
2015-12-07 01:13:20 -05:00
xhh
80ed75eef0
Add more javadoc to Java okhttp-gson client
2015-12-07 12:23:50 +08:00
wing328
d1361ab529
Merge pull request #1673 from wing328/js_add_bin
...
[Javascript] add bin and petstore samples
2015-12-07 12:04:51 +08:00
wing328
b40ee50167
Add batch file for running on Windows, update JS client
2015-12-07 11:53:38 +08:00
xhh
b1bc75189a
Add WithHttpInfo API methods to Java okhttp-gson client
...
to allow accessing response status code and headers
and removed the methods of recording last response info from
ApiClient.
2015-12-07 11:17:32 +08:00
wing328
c5a48d9891
Merge pull request #1664 from xhh/clojure-resp-info
...
Support accessing response status code and headers in Clojure client
2015-12-07 10:55:14 +08:00
wing328
7aab20485a
add bin and petstore samples for JS
2015-12-07 10:53:40 +08:00
wing328
e2679b2aa7
Merge pull request #1671 from jfiala/master
...
Add basic Javascript SDK support
2015-12-07 10:35:02 +08:00
wing328
340e60002e
more style change for php client
2015-12-07 00:52:30 +08:00
wing328
442f87c19a
minor style change for php functions
2015-12-07 00:42:25 +08:00
wing328
17b14fa281
update php sample
2015-12-07 00:37:22 +08:00
wing328
11466570f7
php add test case for withinfo method returnig void
2015-12-07 00:30:17 +08:00
wing328
b282d4fbea
add http_parse_headers, update test case
2015-12-06 23:58:25 +08:00
wing328
19b409eeaf
Merge pull request #1571 from wing328/ts_node_fix_url
...
[TypeScript][Node] remove url API, fix test case
2015-12-06 23:14:32 +08:00
Johannes Fiala
b0e3be8fb3
add AMD support #1294
2015-12-06 13:45:08 +01:00
Johannes Fiala
a7f754faad
Cleanup unused code from Java template in Javascript
2015-12-06 12:08:17 +01:00
Johannes Fiala
d9e024a7bf
Cleanup mandatoryParam variable in mustache and Codegen, replaced using
...
-last
2015-12-06 12:06:23 +01:00
wing328
bb341832a5
add http info to php api methods
2015-12-06 19:00:52 +08:00
Johannes Fiala
b3588da6b7
add @const to enumeration values #1294
2015-12-06 11:02:05 +01:00
Johannes Fiala
529a7abfce
Add missing template files #1294
2015-12-06 10:40:30 +01:00
Johannes Fiala
da15cf7867
Ignore settings #1294
2015-12-06 10:38:50 +01:00
Johannes Fiala
8fd6b604d3
Add all required parameters as default constructor parameters #1294
2015-12-06 10:37:06 +01:00
Johannes Fiala
1a8a03ee52
cleanup unused templates #1294
2015-12-06 10:36:12 +01:00
Johannes Fiala
7b64816107
Merge branch 'master' of https://github.com/jfiala/swagger-codegen
2015-12-06 10:34:03 +01:00
Johannes Fiala
34fb2c561f
cleanup build error due to missing CodegenConfig configuration entry
...
#1294
2015-12-06 10:33:52 +01:00
Johannes Fiala
3c3c93a53d
refine handling of nested properties #1294
2015-12-05 21:11:55 +01:00
Johannes Fiala
637b9937a8
Merge branch 'master' of https://github.com/jfiala/swagger-codegen
2015-12-05 20:34:55 +01:00
Johannes Fiala
e95e0c88cb
add support for clean response object creation in the API class #1294
2015-12-05 20:32:19 +01:00
Johannes Fiala
2b4c6d926e
Merge branch 'master' of https://github.com/jfiala/swagger-codegen
...
Conflicts:
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/JavascriptClientCodegen.java
2015-12-05 17:44:45 +01:00
Johannes Fiala
7c4471a4d6
Adapt output path for api/model
2015-12-05 17:43:35 +01:00
Johannes Fiala
adb26d83f7
Add basic JS SDK support, see Document client SDK #1294
2015-12-05 17:35:18 +01:00
wing328
9367b7f6a6
Merge pull request #1643 from wing328/csharp_refactor
...
[C#] refactor code to support multiple API keys in multi-threading environment
2015-12-05 11:16:34 +08:00
Ian McEwen
4edeed6053
Clojure client: put docstrings in the right place in core.clj.
2015-12-04 10:01:07 -07:00
wing328
a2025c286e
Merge pull request #1652 from wing328/issue1623
...
[PHP] fix issue with PHP codegen in Windows
2015-12-04 22:50:53 +08:00
wing328
ddd52f613f
remove logging from php generator
2015-12-04 22:37:16 +08:00
wing328
e182ad7897
add log to php code gen
2015-12-04 22:29:29 +08:00
wing328
1f68d0f7b0
fix issue with petstore in windows
2015-12-04 18:54:12 +08:00
wing328
7fd281a98e
Merge pull request #1665 from wing328/windows_batch
...
Add Windows batch files to generate Petstore API client samples
2015-12-04 18:28:00 +08:00
wing328
fe96d8769f
minor fix to csharp and objc batch file
2015-12-04 18:16:46 +08:00
wing328
3f328a4994
add batch files for other languages
2015-12-04 18:08:59 +08:00
wing328
14ec9c42cb
add ruby windows patch, fix php batch file
2015-12-04 17:48:48 +08:00
wing328
0818f0c8ad
add batch script for php
2015-12-04 17:38:29 +08:00
xhh
4dde0a793d
Accessing response status code and headers in Clojure client
...
Closes #1656
2015-12-04 17:23:57 +08:00
wing328
ab520e41be
update return tag in documentation (C#)
2015-12-04 17:07:20 +08:00
wing328
e5cd37ee9b
Merge pull request #1659 from xhh/clojure-auth
...
Improvements on Clojure client: authentications, collectionFormat
2015-12-04 12:37:37 +08:00
wing328
0cd801b952
add async with http info method to C# client
2015-12-03 22:09:40 +08:00
wing328
dd28075a0e
add back deprecated method
2015-12-03 17:33:25 +08:00
xhh
9d6b1bb224
Support collectionFormat for array parameters in Clojure client
...
Closes #1655
2015-12-03 17:25:27 +08:00
wing328
4482f71e05
add apiresponse.mustache
2015-12-03 16:47:14 +08:00
wing328
506b8d2b77
add WithHttpInfo method
2015-12-03 16:34:51 +08:00
xhh
afb7e31e21
Add authentications support to Clojure client
...
Closes #1654
2015-12-03 13:25:59 +08:00
wing328
a5a4f8c7e0
add api response to C#
2015-12-03 11:10:34 +08:00
wing328
409d66bdd2
Merge pull request #1651 from xhh/jersey2-upload
...
Fix file uploading issue with Java jersey2 client codegen
2015-12-03 10:10:42 +08:00
wing328
d1c31a53f1
Merge pull request #1647 from evigeant/master
...
Fixed xml validation in web.xml
2015-12-03 10:00:05 +08:00
wing328
330053902e
Merge pull request #1649 from xhh/clojure-escape-char
...
[Clojure] Escape characters for text in Clojure client
2015-12-03 00:07:53 +08:00
xhh
d11a19d171
Fix file uploading issue with Java jersey2 client codegen
...
Closes #1650
2015-12-02 18:31:02 +08:00
wing328
cea8ad40cd
make apiclient less mutable
2015-12-02 16:01:29 +08:00
wing328
5bb444ba6d
Merge pull request #1644 from wing328/objc_special_word
...
[ObjC] escape objc special words with "var"
2015-12-02 10:50:34 +08:00
wing328
032faf7c89
Merge pull request #1646 from wing328/jaxrs_security2
...
[JAX-RS] Inject JAX-RS SecurityContext information into JAX-RS server implementation
2015-12-02 10:43:15 +08:00
xhh
2b9fe5c9bf
Escape characters for text in Clojure client
...
Closes #1648
2015-12-02 10:25:30 +08:00
evigeant
d49b0e3afd
Fixed xml validation in web.xml
2015-12-01 12:05:26 -05:00
wing328
b2bfe8de51
update sample
2015-12-01 23:36:43 +08:00
Nick Maynard
acda5d0bc5
Update samples for JAXRS server SecurityContext
...
Conflicts:
samples/server/petstore/jaxrs/src/gen/java/io/swagger/model/Category.java
samples/server/petstore/jaxrs/src/gen/java/io/swagger/model/Order.java
samples/server/petstore/jaxrs/src/gen/java/io/swagger/model/Pet.java
samples/server/petstore/jaxrs/src/gen/java/io/swagger/model/Tag.java
samples/server/petstore/jaxrs/src/gen/java/io/swagger/model/User.java
2015-12-01 23:36:43 +08:00
Nick Maynard
f9185c3f6f
JAXRS server :: Inject SecurityContext into every operation
2015-12-01 23:36:43 +08:00
wing328
76de987cd2
Merge pull request #1614 from xhh/auto-generate-operation-id
...
Auto generate operationId for python-flask server codegen
2015-12-01 17:58:08 +08:00
wing328
d5e394bfcc
restore petstore sample
2015-12-01 17:47:37 +08:00
wing328
c64f352ba6
escape objc special word with var
2015-12-01 17:44:07 +08:00
wing328
70dd3a6e4b
update to handle model without any properties
2015-12-01 16:28:23 +08:00
wing328
0abe787b58
add default api client
2015-12-01 16:17:22 +08:00
xhh
eb0e47461c
Add petstore client sample for Java-feign
2015-12-01 16:13:31 +08:00
wing328
c9f2380f0f
add test case for status code and response header
2015-12-01 14:08:20 +08:00
wing328
a78f33581a
Merge pull request #1622 from xhh/not-escape-enum-value
...
[Java] Fix issue of escaping HTML elements in enum values
2015-12-01 11:51:23 +08:00
Tony Tam
ce9f8baefc
Merge pull request #1642 from swagger-api/inflector-update
...
updated templates, files
2015-11-30 10:43:01 -08:00
Tony Tam
88d8ea23e3
updated templates, files
2015-11-30 10:24:15 -08:00
David
21e8822343
cleaned up output folder from repo
2015-11-30 10:44:32 -05:00
davidkiss
340e8b3671
reverting changes to swagger-codegen pom.xml
2015-11-30 10:41:44 -05:00
davidkiss
bb4589dca1
cleaned up README.md
2015-11-30 10:40:12 -05:00
317959997
9cfb1c91db
removing references to fork in te main README.md file
2015-11-30 10:31:01 -05:00
317959997
44c2751d80
added missing files to support JMeter
2015-11-30 10:27:16 -05:00
317959997
62c9a3d96f
Merge remote-tracking branch 'origin/master'
2015-11-30 10:26:14 -05:00
317959997
83223ae6d0
rolling back previous accidental push on changes to pom.xml files
2015-11-30 10:25:12 -05:00
David Kiss
ff7d177de3
Delete gen-config.json
2015-11-30 10:21:00 -05:00
317959997
845dd22942
added missing JMeter files
2015-11-30 10:18:29 -05:00
wing328
5494b694b7
Merge pull request #1458 from gaalandr/params_support_2.0_spec
...
fix: codegen does not support spec 2.0 properties for parameters:
2015-11-30 22:02:12 +08:00
xhh
2c6c902878
Merge branch 'master' into auto-generate-operation-id
...
Conflicts:
modules/swagger-codegen/src/main/resources/Java/libraries/okhttp-gson/api.mustache
2015-11-30 21:05:47 +08:00
xhh
ba549a966e
Merge branch 'master' into not-escape-enum-value
...
Conflicts:
modules/swagger-codegen/src/main/resources/Java/enumClass.mustache
2015-11-30 21:00:05 +08:00
wing328
6405fba663
add test cases for configuration
2015-11-30 20:12:58 +08:00
wing328
bb086a7f91
refactor apiclient, configuration, authentication for c# client
2015-11-30 19:45:08 +08:00
wing328
f2aac7a858
Merge pull request #1634 from wing328/objc_update_test_case
...
[ObjC] skip findPetByStatus test case for objc due to invalid data
2015-11-30 16:14:04 +08:00
wing328
d7460dac32
Merge pull request #1633 from wing328/fix_window_test_case
...
Add exception handling in the test case (for Windows)
2015-11-30 13:24:13 +08:00
wing328
2bb129b094
skip findPetByStatus test case for objc due to invalid data
2015-11-30 11:45:27 +08:00
wing328
90c93522b3
undo ios sample change
2015-11-30 10:59:51 +08:00
wing328
96003a1e90
fix typo
2015-11-30 10:57:22 +08:00
wing328
1913b0594f
Merge pull request #1628 from wing328/csharp_optional_parameter
...
[C#] add optional parameter to c# API client
2015-11-30 00:09:25 +08:00
wing328
6685bad8de
Merge pull request #1629 from wing328/fix_gradle_var
...
[Java][Retrofit2] update retrofit2 gradle to use double quote
2015-11-29 23:32:37 +08:00
wing328
a41ca7278a
update retrofit2 gradle to use double quote
2015-11-29 23:21:44 +08:00
wing328
aadc07396d
add better exception handling in test case
2015-11-29 18:31:14 +08:00
wing328
2d34f567ff
Merge pull request #1619 from EduGraph/issue-1075
...
[PHP] Slim Framework v3 - Server Generator #1075
2015-11-29 00:54:03 +08:00
wing328
a9fdb8f424
Merge pull request #1630 from wing328/java_update_sample1
...
[Java] update java petstore sample
2015-11-29 00:39:07 +08:00
wing328
3e213267aa
update java petstore sample
2015-11-29 00:18:34 +08:00
wing328
e1eac1ed5d
Merge pull request #1621 from dantran/master
...
Honor Enum's value
2015-11-29 00:08:21 +08:00
wing328
dfc0813a18
add optional parameter to c# api client (enabled by default)
2015-11-28 15:40:44 +08:00
317959997
a7f225b6ac
added support for generating JMeter project from swagger
2015-11-27 12:25:00 -05:00
317959997
7272cb0feb
fixed feign api template
2015-11-27 12:21:59 -05:00
jfastnacht
41936ab5c9
Adjusted index.mustache to fit camelCase variable naming.
...
Updated index.php sample.
2015-11-27 15:37:25 +01:00
jfastnacht
aebfacaa22
Adjusted codegen to fit pull request comments in https://github.com/swagger-api/swagger-codegen/pull/1619
2015-11-27 15:25:40 +01:00
xhh
7731bc9d37
Fix issue of escaping HTML elements in enum values
...
See swagger-api/swagger-editor#727
2015-11-27 17:32:31 +08:00
dantran
dfda666806
Honor Enum's value
2015-11-26 21:57:37 -08:00
317959997
4b9b7a6a01
updated README.md on the new Netflix Feign library
2015-11-26 13:37:58 -05:00
317959997
3cf8f24a07
updated README.md on the new Netflix Feign library
2015-11-26 13:37:19 -05:00
317959997
077a24f694
updated README.md on the new Netflix Feign library
2015-11-26 13:34:33 -05:00
317959997
be944650df
added initial Netflix Feign support
2015-11-26 13:30:04 -05:00
wing328
bf19d99e5e
Merge pull request #1618 from xhh/non-model-body-param
...
Do not resolve non-model body parameter as inline model
2015-11-26 22:32:55 +08:00
xhh
4531bc41eb
Update CodegenTest to apply InlineModelResolver to swagger
2015-11-26 17:44:56 +08:00
xhh
d250ce3bec
Do not resolve non-model body parameter as inline model
2015-11-26 17:16:28 +08:00
wing328
1fbdb92625
Merge pull request #1613 from xhh/ruby-eql-hash
...
[Ruby] Add "==", "eql?" and "hash" methods to Ruby client
2015-11-26 10:29:59 +08:00
wing328
cc6cb176f8
Merge pull request #1600 from zxy198717/master
...
add upload & downlod progress for Java okhttp
2015-11-26 09:59:34 +08:00
wing328
037616e2d9
Merge pull request #1609 from xhh/java-equals-hash-code
...
[Java] Add "equals" and "hashCode" methods to Java servers: "jaxrs" and "spring-mvc"
2015-11-25 22:07:34 +08:00
xhh
27e43d3fbb
Implement toOperationId for python-flask server codegen
...
and use "operationId" in the template to replace
vendorExtensions.x-operationId
2015-11-25 19:43:31 +08:00
xhh
801efaa3d4
Replace "nickname" with "operationId" in some API templates
2015-11-25 18:13:39 +08:00
Alvin Zeng
c69f396928
merge
2015-11-25 18:04:16 +08:00
xhh
6675cbc20e
Auto generate operationId for python-flask server codegen
2015-11-25 17:55:04 +08:00
Alvin
cc58711490
update okhttp-gson samples
2015-11-25 15:17:43 +08:00
wing328
a55088c3cd
fix php access token setter
2015-11-25 15:14:04 +08:00
wing328
0bc0d1808e
add eq for python, update test case
2015-11-25 15:14:03 +08:00
Tony Tam
0cb8e4ca69
updated readme, base path
2015-11-25 15:14:03 +08:00
xhh
630def9d19
Add "equals" and "hashCode" methods to Java clients
...
for the "retrofit" and "retrofit2" libraries
2015-11-25 15:14:03 +08:00
xhh
5ae96c61a9
Add "equals" and "hashCode" methods to Java clients
...
Added for the default, "jersey2" and "okhttp-gson" clients
2015-11-25 15:14:03 +08:00
wing328
3b308bd36f
update auth for php to skip empty apikey/username,password
2015-11-25 15:14:03 +08:00
xhh
11d7e44756
Use separate library to do base64 encoding in Java
...
default and jersey2 clients to make it work in both JVM and Android
2015-11-25 15:14:03 +08:00
wing328
ff3ba73d18
add documentation to test cases in C#
2015-11-25 15:14:03 +08:00
wing328
0ed70dcb4d
update basic auth to allow only username/password
2015-11-25 15:14:02 +08:00
wing328
d5b80ac8cd
better auth for C#, format change
2015-11-25 15:14:02 +08:00
wing328
6712754f6a
Add python flask
2015-11-25 15:14:02 +08:00
wing328
a2982c248a
add test case for pet equal
2015-11-25 15:14:02 +08:00
wing328
1496bf89b9
add equal and gethashcode to C# model
2015-11-25 15:14:02 +08:00
xhh
136d0aaa87
Use okhttp's Credentials class to build basic auth string
2015-11-25 15:14:02 +08:00
wing328
1d47ca69fe
update perl auth to skip null apikey/username&password
2015-11-25 15:14:02 +08:00
xhh
e4ac6ef033
Ignore auths when value not specified in Java clients
2015-11-25 15:14:01 +08:00
wing328
7c0fd4b85f
update python auth to skip empty token/username,password
2015-11-25 15:12:04 +08:00
Testo Nakada
5a5a716bfd
- make Meta generator take the swagger code gen version
...
- generate the class name correctly if the name contains hyphen
2015-11-25 15:12:04 +08:00
xhh
0dac326230
Add "==", "eql?" and "hash" methods to Ruby client
2015-11-25 11:46:43 +08:00
wing328
d589facb21
Merge pull request #1610 from wing328/python_add_equal
...
[Python] add eq for python, update test case
2015-11-25 10:59:35 +08:00
wing328
cf947811df
Merge pull request #1611 from wing328/php_fix_accesstoken
...
[PHP] fix access token setter
2015-11-25 10:58:21 +08:00
wing328
ddc4d8460d
fix php access token setter
2015-11-25 00:00:26 +08:00
wing328
b592819e3b
add eq for python, update test case
2015-11-24 17:36:38 +08:00
wing328
34a021cdb5
Merge pull request #1596 from wing328/csharp_auth_update
...
[C#] better authentication, minor format change
2015-11-24 16:27:21 +08:00
xhh
76fe8357ce
Add "equals" and "hashCode" methods to Java servers
...
for "jaxrs" and "spring-mvc"
2015-11-24 15:46:42 +08:00
wing328
a7e1e128f6
Merge pull request #1605 from xhh/java-equals-hash-code
...
[Java] Add "equals" and "hashCode" methods to Java clients
2015-11-24 15:38:20 +08:00
Tony Tam
bbb7fb5abc
updated readme, base path
2015-11-23 14:27:22 -10:00
jfastnacht
d38933f927
Added model.mustache for basic class definitions. Added sample class files.
2015-11-23 17:49:19 +01:00
jfastnacht
70efc066b5
Added notes, output formats, header params and body params
2015-11-23 16:43:13 +01:00
jfastnacht
a81d8c56e3
Adjusted index.mustache to fit Slim Framework v3
...
Added composer support for Slim Framework v3 RC
Updated samples
2015-11-23 15:34:36 +01:00
xhh
f2a8955926
Add "equals" and "hashCode" methods to Java clients
...
for the "retrofit" and "retrofit2" libraries
2015-11-23 19:59:44 +08:00
wing328
3872599be2
Merge pull request #1406 from testn/fix-meta
...
Use the version from the codegen for meta generator
2015-11-23 17:20:46 +08:00
Justus Thorvaldsson
3aff6e8328
removed one extra string enummember
2015-11-23 09:50:43 +01:00
xhh
2e51aa5076
Add "equals" and "hashCode" methods to Java clients
...
Added for the default, "jersey2" and "okhttp-gson" clients
2015-11-23 15:57:14 +08:00
wing328
5183683692
Merge pull request #1603 from xhh/java-ignore-empty-auth-values
...
[Java] Improvements on authentications
2015-11-23 15:08:46 +08:00
wing328
09082ab2cb
Merge pull request #1604 from wing328/php_update_auth
...
[PHP] update auth for PHP API client to skip empty API key/username,password
2015-11-23 11:29:36 +08:00
wing328
df6acdd3cf
Merge pull request #1602 from wing328/python_auth_update
...
[Python] update python authentication to skip empty token/username, password
2015-11-23 01:41:02 +08:00
wing328
e11a3d468e
update auth for php to skip empty apikey/username,password
2015-11-22 18:35:45 +08:00
xhh
fc3925a1cd
Merge branch 'master' into java-ignore-empty-auth-values
2015-11-22 16:35:34 +08:00
xhh
4f831e032c
Use separate library to do base64 encoding in Java
...
default and jersey2 clients to make it work in both JVM and Android
2015-11-22 16:27:14 +08:00
wing328
11daa87e44
add documentation to test cases in C#
2015-11-22 16:14:16 +08:00
wing328
9d76d39c00
update basic auth to allow only username/password
2015-11-22 16:09:15 +08:00
wing328
a9da01a451
better auth for C#, format change
2015-11-22 16:08:35 +08:00
wing328
c6021da8a1
Merge pull request #1601 from wing328/csharp_obj_compare
...
[C#] Add Equal and GetHashCode to models
2015-11-22 15:41:40 +08:00
wing328
6f27a8512d
Add python flask
2015-11-22 00:06:12 +08:00
Alvin
98396d04a7
update sample & test
2015-11-21 20:12:11 +08:00
Alvin
dc65b5647f
update okhttp-gson samples
2015-11-21 19:42:01 +08:00
wing328
3988c28c4b
Merge pull request #1597 from wing328/perl_auth_update
...
[Perl] better authentication, minor format change
2015-11-21 18:55:16 +08:00
wing328
a8119049ad
add test case for pet equal
2015-11-21 15:16:38 +08:00
Alvin
b9cf790d1c
add upload & downlod progress for Java okhttp
2015-11-21 15:06:00 +08:00
wing328
1ce3b67aa4
add equal and gethashcode to C# model
2015-11-21 13:22:00 +08:00
Justus Thorvaldsson
f4773d3333
Added json enum to csharp with decoration
...
using newtonsoft decoration
2015-11-20 14:33:22 +01:00
xhh
81cf57a00b
Use okhttp's Credentials class to build basic auth string
2015-11-20 20:10:05 +08:00
wing328
8303374aa5
update perl auth to skip null apikey/username&password
2015-11-20 17:36:17 +08:00
xhh
b823e8bd35
Ignore auths when value not specified in Java clients
2015-11-20 17:34:46 +08:00
wing328
271661aec7
update python auth to skip empty token/username,password
2015-11-20 17:01:21 +08:00
wing328
c150247dca
Merge pull request #1579 from xhh/fix-java-date-format
...
[Java okhttp-gson] Fix datetime format for Android
2015-11-20 15:59:07 +08:00
wing328
5c50e08965
Merge pull request #1591 from xhh/clojure-client
...
[Clojure] Integration tests and config options
2015-11-20 08:54:03 +08:00
Andras Gaal
ab062b1386
fix boolean getter errors
2015-11-19 15:15:48 +01:00
Andras Gaal
2c52cc1d86
Merge branch 'masterswaggerio' into params_support_2.0_spec
...
Conflicts:
.gitignore
2015-11-19 15:09:08 +01:00
xhh
d198a5a419
Add support config options to Clojure client
2015-11-19 17:38:08 +08:00
xhh
1358a39d0d
Include the petstore clojure client into integration tests
2015-11-19 16:04:27 +08:00
wing328
ff1dd034a8
Merge pull request #1585 from xhh/clojure-client
...
Add a Clojure client codegen
2015-11-19 10:58:40 +08:00
gaalandr
b9c1158bfe
Update CodegenParameter.java
2015-11-18 17:52:32 +01:00
Tony Tam
7727d740f0
Merge pull request #1584 from swagger-api/issue-1582
...
added connexion python server generator
2015-11-18 08:45:22 -06:00
Tony Tam
041eb94a27
renamed
2015-11-18 08:44:45 -06:00
jfastnacht
65b9f9dcce
Added basic Slim Framework support based on silex-PHP
2015-11-18 15:05:05 +01:00
wing328
46d675225f
Merge pull request #1580 from CrossfireCurt/master
...
[Java jersey2] Update Jersey to 2.12 for generated clients
2015-11-18 21:56:41 +08:00
xhh
50c27d258c
Merge branch 'master' into clojure-client
2015-11-18 17:27:29 +08:00
xhh
473aab2d8e
Support file uploading in Clojure client
2015-11-18 17:21:32 +08:00
Tony Tam
f95409210b
fixed cp bug
2015-11-18 00:43:52 -06:00
Tony Tam
5e68bd58fc
fixed swagger listing
2015-11-18 00:33:49 -06:00
Tony Tam
7f62576d88
added connexion
2015-11-18 00:17:33 -06:00
Tony Tam
5db7f6ebb9
updated configuration for system properties
2015-11-18 00:17:21 -06:00
Tony Tam
d71d5ac119
added files
2015-11-17 20:14:53 -08:00
Tony Tam
1e2449c568
Merge pull request #1583 from swagger-api/issue-1581
...
fixes #1581 , rebuilt server
2015-11-17 19:53:25 -08:00
Tony Tam
28c4946945
added initial files
2015-11-17 19:51:48 -08:00
Tony Tam
c7e5c305a9
fixes #1581 , rebuilt server
2015-11-17 18:46:33 -08:00
Curt Hostetter
951e56071f
Ran ./bin/java-petstore-jersey2.sh to update the Petstore sample
2015-11-17 11:18:55 -05:00
Curt Hostetter
5eacb4d12c
Update Jersey to 2.12
...
to help MIMEXXX.tmp cleanup https://github.com/swagger-api/swagger-codegen/issues/1576
2015-11-17 09:38:34 -05:00
xhh
431cdc9c37
Java okhttp-gson: fix datetime format for Android
...
by detecting the current environment (Android SDK version and Java
version) and determine a default datetime format accordingly
Closes #1573
2015-11-17 17:54:13 +08:00
wing328
f1e86f861e
Merge pull request #1574 from wing328/csharp_fix_class_name
...
[C#] add logic to handle model and its property having the same name
2015-11-17 10:17:01 +08:00
wing328
ce7a707ec1
reapply the fix after rebase
2015-11-17 10:06:38 +08:00
wing328
a4e5b5334f
Merge pull request #1572 from wing328/csharp_remove_restsharp_extension
...
[C#] remove dependency on RestSharp extension
2015-11-17 09:53:48 +08:00
xhh
473d34ef76
Merge branch 'master' into clojure-client
2015-11-17 00:47:49 +08:00
xhh
9cf7cd9ef6
And bin/clojure-petstore.sh and build the petstore clojure client sample
2015-11-17 00:47:12 +08:00
xhh
31cb5b1167
Add serialize method to handle JSON serialization
2015-11-17 00:36:52 +08:00
xhh
ff5b1c86ba
Set project URL and license from spec
2015-11-16 23:04:17 +08:00
xhh
cd8cfc50ed
Add Clojure client codegen
2015-11-16 18:00:43 +08:00
wing328
b815163ceb
replace restsharp extension functions with functions in apiclient
2015-11-16 11:30:34 +08:00
wing328
95d8585dce
Merge pull request #1534 from xhh/java-datetime-format
...
[Java] Improvement date-time format in Java clients
2015-11-16 09:57:52 +08:00
wing328
9789eb4ee8
remove url form ts-node, fix test case
2015-11-15 18:26:36 +08:00
wing328
96f71e420a
Merge pull request #1543 from dvz5/master
...
Moose role, docs, and automatic docs
2015-11-14 18:26:49 +08:00
Dave Baird
40f8012cbc
Minor cleanup
2015-11-13 21:52:44 +01:00
Dave Baird
5f61d5465e
Merge remote-tracking branch 'upstream/master'
2015-11-13 18:32:31 +00:00
Dave Baird
995a1f547f
Removed endpoint API class documentation code
...
- there is no standard way for a swagger spec to define descriptive
information for an endpoint API
- added markdown as a format to the autodoc script
- added some version information to autogenerated docs
2015-11-13 19:30:47 +01:00
wing328
302272ba9c
Merge pull request #1563 from conet/master
...
Fix typo in swift error variable name.
2015-11-13 09:59:26 +08:00
Dave Baird
970c94a4d9
autodoc retrieves descriptions for delegated methods
2015-11-12 16:55:20 +01:00
Cristian Oneț
f8db16c5cd
Fix typo in swift error variable name.
2015-11-12 17:10:10 +02:00
wing328
30c361edd7
Merge pull request #1548 from conet/master
...
The swift code generator can't handle endpoints that return an array of objects
2015-11-12 23:04:58 +08:00
Dave Baird
25c19135ff
autodoc can analyse arbitrary classes
...
- added -c option to load and analyse any class
2015-11-12 14:55:48 +01:00
Dave Baird
c097696276
Added more formats to autodoc output
...
- narrow
- wide
- POD
- HTML
2015-11-12 13:03:04 +01:00
wing328
08bb339398
Merge pull request #1559 from wing328/remove_setting_files
...
Remove eclipse file
2015-11-12 19:52:18 +08:00
xhh
93c6966501
Fix code of customizing date-time format in test
2015-11-12 17:34:12 +08:00
wing328
ee60b5f4f1
Merge pull request #1494 from cbornet/android_manifest
...
Add android manifest to java codegen
2015-11-12 17:17:01 +08:00
wing328
6d470d1896
remove eclipse files
2015-11-12 17:14:20 +08:00
xhh
6b3fc79dec
Merge branch 'master' into java-datetime-format
2015-11-12 17:10:08 +08:00
xhh
55bcceac07
Fix tests on date format by using custom date format
2015-11-12 17:10:03 +08:00
wing328
7603bd7b7c
Merge pull request #1558 from wing328/ts_remove_linebreak
...
[TypeScript] remove extra line break in documentation
2015-11-12 16:41:37 +08:00
wing328
cbc63d3285
remove line break in TS methods' comment
2015-11-12 16:13:10 +08:00
Dave Baird
389ce144ef
Improved documentation methods
...
- API classes have rudimentary class doc info and useful method doc info
- object classes have more detailed method and class info
- added more tests for doc methods
2015-11-12 00:36:30 +01:00
Dave Baird
3ca7ce6ce6
Merge remote-tracking branch 'upstream/master'
2015-11-11 23:24:39 +00:00
wing328
52320e5f71
Merge pull request #1541 from cbornet/retrofit_oauth_loop
...
[Retrofit] Don't retry if the access token doesn't change
2015-11-11 21:32:41 +08:00
wing328
edfeb48c12
Merge pull request #1550 from wing328/scala_better_test
...
[Scala] better scala test (UserApi)
2015-11-11 21:21:49 +08:00
wing328
d5f5d43c36
Merge pull request #1553 from aersamkull/master
...
Adds comments to TypeScript Generator & updates samples
2015-11-11 21:00:30 +08:00
aersamkull
684062ccbf
Updates samples
2015-11-11 13:47:09 +01:00
Dave Baird
2144cf5d31
Handle missing security spec more elegantly
...
- remove the optional auth_setup_handler() callback mechanism
- add _global_auth_setup() method on ApiClient to analyse config when
security spec not provided
- add methods on the Configuration class to abstract getting and setting
tokens
2015-11-11 13:43:40 +01:00
Cristian Oneț
d125b9c490
Update swift petstore client.
2015-11-11 14:21:52 +02:00
aersamkull
2886ca0312
Adds comments to TypeScript Generator
2015-11-11 11:54:42 +01:00
wing328
05efd193c0
update test username for scala
2015-11-11 16:42:00 +08:00
wing328
cbd1b98bf5
better scala test (UserApi)
2015-11-11 16:35:17 +08:00
Cristian Oneț
cf8d8deacd
For each object and a decoder that can handle an array of objects.
...
Otherwise REST endpoints that return a list of resources can't be used.
2015-11-10 21:19:32 +02:00
wing328
8836644d37
Merge pull request #1546 from xhh/java-enum-array
...
Fix error with array of enum in Java client
2015-11-10 23:39:21 +08:00
Dave Baird
06db67210c
Tiny doc tweak
2015-11-10 14:50:22 +01:00
Dave Baird
92a758e1b3
Merge remote-tracking branch 'upstream/master'
2015-11-10 13:23:40 +00:00
Dave Baird
77b9f51927
More documentation, and clean up a couple of ragged edges
...
- added documentation for configuring authentication
- made auth_setup_handler() optional
- get_api_key_with_prefix() is more self-documenting
2015-11-10 14:22:32 +01:00
wing328
e00d102c47
Merge pull request #1545 from emilianobonassi/support_retrofit2
...
Add support to Retrofit2
2015-11-10 20:43:19 +08:00
Emiliano Bonassi
e104803781
fix pom.xml added retrofit2 as a module
2015-11-10 12:39:30 +01:00
Emiliano Bonassi
47f4396fb7
- fix source/target java version to 1.6
...
- add test profile for CI
2015-11-10 12:30:13 +01:00
Dave Baird
521b73b3ef
Apply the singleton pattern to ApiClient
...
- make the api_client a singleton
- remove it from the configuration namespace
2015-11-10 09:47:58 +01:00
xhh
c07e30b8cf
Update testCreateUser to avoid occasional failures
2015-11-10 13:22:06 +08:00
xhh
aaafd0632c
Fix error with array of enum in Java client
...
ref: https://github.com/swagger-api/swagger-codegen/pull/1457#issuecomment-155185530
2015-11-10 12:04:29 +08:00
wing328
8408b97771
Merge pull request #1529 from crissdev/patch-1
...
[TypeScript] mark optional model properties
2015-11-10 10:35:39 +08:00
Emiliano Bonassi
3a7204d66c
Add support to Retrofit2
2015-11-10 03:20:49 +01:00
Dave Baird
c6cd88b281
Merge remote-tracking branch 'upstream/master'
2015-11-09 22:05:38 +00:00
Dave Baird
c06af6d141
Documentation and automatic documentation
...
- added POD to Role.pm
- added README.md files translated from Role.pm POD
- added an autodoc script (based on AutoDoc.pm role). The script prints
a listing of the methods built in Role.pm
- added class_documentation() and method_documentation() accessors on
all object and API classes which return the documentation supplied in
the Swagger spec for the API
2015-11-09 23:04:59 +01:00
crissdev
d9f7944102
typescript: mark optional model properties
2015-11-09 23:20:02 +02:00
Dave Baird
49034946a0
Make class and method documentation available
...
Documentation from the swagger spec is available via methods
class_documentation() and method_documentation() on object and API
classes.
2015-11-09 17:04:19 +01:00
cbornet
dad28dcba0
don't retry if the access token doesn't change
...
This is to avoid an infinite loop if the server always gives an invalid token
2015-11-09 16:10:55 +01:00
Nadezhda Makarkina
87786f0145
ensureUniqueParams default value has been mooved from description to the defaaultValue field
2015-11-09 14:01:50 +03:00
cbornet
99c503319b
use platform independant file separator
2015-11-09 11:38:26 +01:00
wing328
47a4cf4709
Merge pull request #1533 from rostskadat/springmvc_request_body_1532
...
Added @RequestBody annotation in order for the generated code to
2015-11-09 17:48:34 +08:00
xhh
e3c44b5af3
Improvement on comment
2015-11-09 16:47:33 +08:00
xhh
c48b93384b
Merge branch 'master' into java-datetime-format
2015-11-09 15:59:32 +08:00
xhh
8cab7e785d
Customizing date format in Java okhttp-gson client
2015-11-09 13:49:50 +08:00
xhh
cbc18c97ba
Customizing date format in Java jersey2 client
2015-11-09 11:58:41 +08:00
xhh
a45af48e35
Fix test
2015-11-09 10:23:46 +08:00
Dave Baird
f0f43f5fdf
Fix method names clash in Moose Role
...
When flattening all endpoint API methods into a single class, some
method names may clash, e.g. every API has a new() method. So we skip
them, they must be accessed via the API method. Warnings are emitted to
document skipped methods.
2015-11-08 21:51:26 +01:00
rostskadat
730202deb2
Added @RequestBody annotation in order for the generated code to
...
properly create API Model object.
@RequestBody Annotation Ref:
http://docs.spring.io/spring/docs/current/spring-framework-reference/html/mvc.html#mvc-ann-requestbody
2015-11-08 17:24:22 +01:00
Dave Baird
6a5f583ab0
Merge remote-tracking branch 'upstream/master'
2015-11-08 10:13:34 +00:00
wing328
4feca0d680
Merge pull request #1491 from cbornet/javax_android
...
Provide dependency to javax.annotation.Generated for android templates
2015-11-08 11:12:57 +08:00
Dave Baird
6c19f0c26c
Flatten entire API into a single class
...
Added a Moose role which flattens all the individual endpoint APIs into
a single class.
2015-11-07 20:37:13 +01:00
xhh
c59be88a3e
Support customizing date format in model (de)serialization in Java client
...
and update the default date format to conform to RFC3339
2015-11-07 15:16:13 +08:00
wing328
a5878130c4
Merge pull request #1523 from wing328/perl_update_cli
...
[Perl] update CLI option for perl
2015-11-07 10:51:42 +08:00
wing328
f19a8d41e4
Merge pull request #1525 from wing328/ts-reserved-word
...
[TypeScript] add reserved word handling for OperationId (method name)
2015-11-07 10:42:24 +08:00
Tony Tam
195359008a
improved definitions, messages, fixed init params
2015-11-06 10:11:23 -08:00
Tony Tam
33df72ff5b
made host+scheme configurable
2015-11-06 09:13:15 -08:00
Tony Tam
2bcb5f8fc2
Merge pull request #1524 from lugaru1234/optionsCleanup
...
Fixes #1516 : apiPackage and modelPackage options haave been moved from DefaultCodegen
2015-11-06 08:42:42 -08:00
Tony Tam
5b80e95b96
Merge pull request #1519 from swagger-api/issue-1518
...
remove duplicate tags, replace with extensions in templates
2015-11-06 06:22:08 -08:00
wing328
147d8047fe
update typescript sample
2015-11-06 21:49:03 +08:00
wing328
3ff060fa90
add reserved word handling for typescript
2015-11-06 21:46:47 +08:00
wing328
f7ffc7f118
update test case for perl
2015-11-06 21:24:04 +08:00
wing328
0d12f32b05
update cli option for perl
2015-11-06 21:00:04 +08:00
Nadezhda Makarkina
2f76f28dd4
apiPackage and modelPackage options haave been moved from DefaultCodegen to classes, that uses it
2015-11-06 15:44:32 +03:00
wing328
eaf985069b
Merge pull request #1521 from xhh/java-readme
...
[Java] Add README.md to Java clients
2015-11-06 20:31:15 +08:00
xhh
8d3e555f8a
Add README.md to Java clients
...
containing documentation like how to build and use the client
2015-11-06 17:15:32 +08:00
wing328
bd8f7a7aeb
Merge pull request #1509 from xhh/ruby-collection-format
...
[Ruby] Support collectionFormat for header, query and form parameters
2015-11-06 17:07:48 +08:00
Tony Tam
40992c0a9b
rebuilt
2015-11-05 22:31:56 -08:00
Tony Tam
be0232fa35
moved tags to extension to avoid path collisions #1518
2015-11-05 22:26:49 -08:00
wing328
471fc75381
Merge pull request #1508 from wing328/csharp_support_oauth
...
[C#] add oauth2 support to csharp
2015-11-06 14:06:37 +08:00
wing328
5a8d2c834f
add oauth support to csharp
2015-11-06 13:56:40 +08:00
wing328
a3b90c516d
Merge pull request #1507 from wing328/perl_support_ouath
...
[Perl] add oauth2 support for Perl
2015-11-06 11:39:15 +08:00
Tony Tam
c8ea36e188
rebuilt
2015-11-05 18:52:47 -08:00
Tony Tam
b30cbd9261
correctly set host
2015-11-05 18:52:23 -08:00
Tony Tam
c4b2f210be
fixed context path
2015-11-05 18:49:11 -08:00
Tony Tam
4f2eee771d
Merge branch 'master' of github.com:swagger-api/swagger-codegen
2015-11-05 18:19:29 -08:00
Tony Tam
cdd20ac408
updated swagger definitions for opts
2015-11-05 18:19:21 -08:00
wing328
f5153e6550
Merge pull request #1512 from wing328/csharp_fix_file_import
...
[C#] fix import for file type in model files
2015-11-06 09:34:40 +08:00
Tony Tam
b3d29bfb56
Merge pull request #1501 from lugaru1234/optionsResource
...
changed resource, method stub for generator options
2015-11-05 16:25:38 -08:00
wing328
44df21240f
Merge pull request #1511 from boxed/master
...
Some spelling and grammar fixes
2015-11-05 23:06:50 +08:00
wing328
080e302c63
fix csharp import for file in model files
2015-11-05 22:47:53 +08:00
Anders Hovmöller
4a5a8b7363
Some spelling and grammar fixes
2015-11-05 15:40:05 +01:00
Nadezhda Makarkina
dcd8302f42
added @ApiModelProperty and @JsonIgnore annotations, set defailtValue to java library option
2015-11-05 17:07:40 +03:00
Nadezhda Makarkina
4eeee3b24d
changed resource, method stub for generator options
2015-11-05 16:54:06 +03:00
Nadezhda Makarkina
5d8c23dd09
CliOption hah been change to allow enum values
2015-11-05 16:54:06 +03:00
Tony Tam
dadc85b6fd
added resource, method stub for generator options
2015-11-05 16:54:06 +03:00
xhh
76eeb51af6
Support collectionFormat in Ruby client
...
for header, query and form parameters
2015-11-05 20:02:09 +08:00
wing328
b4146d3f9c
Merge pull request #1479 from sfurholm/feature/add-support-for-sortParamsByRequiredFlag-config-option-to-csharp-and-python
...
Added support for sortParamsByRequiredFlag config option to C# and Python
2015-11-05 18:55:55 +08:00
wing328
51d9e92a00
add homebrew
2015-11-05 17:12:51 +08:00
wing328
4bfc032a64
add oauth2 support for Perl
2015-11-05 16:32:46 +08:00
wing328
30a4be833b
Merge pull request #1502 from dvz5/master
...
Rebuild perl petstore client after previous updates
2015-11-05 11:59:11 +08:00
wing328
cd733e562e
Merge pull request #1506 from xhh/unique-param-name
...
Make parameters unique in generated code
2015-11-05 11:40:38 +08:00
xhh
9863b631f7
Fix comment to conform to javadoc guideline
2015-11-05 11:23:15 +08:00
Dave Baird
107452d406
Merge remote-tracking branch 'upstream/master'
2015-11-04 22:00:13 +00:00
Dave Baird
baf20ca226
Fix errors from using wrong JSON spec
...
I've been using http://petstore.swagger.io/v2/swagger.json instead of
modules/swagger-codegen/src/test/resources/2_0/petstore.json as the
input spec for building the petstore. This commit reverts the changes
introduced from that.
2015-11-04 22:24:49 +01:00
Dave Baird
f521680c0f
Moved object classes' constructor into base class
2015-11-04 21:42:27 +01:00
Dave Baird
4264b74e40
Minor tidying up
...
Some documentation, fix a warning, added a couple of logger calls.
2015-11-04 20:27:23 +01:00
wing328
3b77b6ab39
fix link in toc
...
fix link in toc (Generating a client from local files)
2015-11-04 22:35:29 +08:00
wing328
449fa3a0f5
add guidelines for contriubtion
2015-11-04 22:32:06 +08:00
xhh
5a7bb600d6
Set the ensureUniqueParams option to true by default
2015-11-04 21:28:52 +08:00
xhh
e9ba5ed57c
Fix tests
2015-11-04 21:20:16 +08:00
xhh
1a67f452e2
Make parameters unique in generated code
...
through a config option "ensureUniqueParams" which is false by default
Closes #1422
2015-11-04 20:51:56 +08:00
wing328
76cee8bc6b
Merge pull request #1423 from rbhunt/issue-1391
...
Fix for #1391
2015-11-04 16:12:54 +08:00
wing328
40bd4415f9
Merge pull request #1497 from aersamkull/master
...
Aligns the two typescript generators
2015-11-04 15:54:13 +08:00
wing328
12b872cd14
Merge pull request #1498 from xhh/ruby-deserialize-additional-properties
...
Ruby: support map/hash in model deserialization with additionalProperties
2015-11-04 15:13:12 +08:00
wing328
8fa06a1878
Merge pull request #1496 from wing328/python_improvement1
...
[Python] Add OAuth support
2015-11-04 14:33:47 +08:00
xhh
7813976d9b
Minor changes
2015-11-04 10:26:14 +08:00
xhh
18abc56688
Add tests for array and map property deserialization
2015-11-04 10:23:21 +08:00
Dave Baird
a93eb8aeaa
Merge remote-tracking branch 'upstream/master'
2015-11-03 20:39:09 +00:00
Tony Tam
7ac91ced2e
updated parser version
2015-11-03 09:13:29 -08:00
Dave Baird
37b123530f
Add ApiFactory class and proper accessors on object classes
...
ApiFactory provides a get_api() method to generate API objects without
having to hard-code class names. All API and object classes are loaded
automatically.
Also, added proper accessors for attributes of object classes.
2015-11-03 17:58:53 +01:00
Dave Baird
8428e7963b
Rebuild perl petstore client after previous updates
...
At least 2 previous updates were committed without rebuilding the perl
petstore client. One was my fault (BaseObject.pm changes), the other
changes come from an upstream update or updates I can't identify.
2015-11-03 16:46:47 +01:00
wing328
1b538f6eaf
Merge pull request #1471 from wing328/invalid_array_type
...
Better error handling for invalid array/map type
2015-11-03 21:46:24 +08:00
wing328
c8ce84f650
replace tab with space, update samples
2015-11-03 21:34:44 +08:00
wing328
42e10fbb14
better error handling for invalid array/map type
2015-11-03 21:33:06 +08:00
wing328
5bf4d022cf
Merge pull request #1490 from xhh/java-oauth
...
Add oauth support for Java client
2015-11-03 20:34:12 +08:00
xhh
abe44df1ec
Ruby: support map/hash in model deserialization with additionalProperties
...
For example, the "scoreMap" and "cateMap" properties below:
"definitions": {
"User": {
"properties": {
"scoreMap": {
"type": "object",
"additionalProperties": {
"type": "integer",
"format": "int32",
}
},
"cateMap": {
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/Category"
}
}
}
}
}
2015-11-03 16:39:54 +08:00
aersamkull
5580eb7ac3
Aligns the two typescript generators
2015-11-03 09:03:52 +01:00
wing328
792726ddc5
update sample, better handle of $ in naming
2015-11-03 10:29:28 +08:00
wing328
eebb6c4dd0
rename auth token to access token
2015-11-03 10:17:47 +08:00
wing328
89ec500744
add oauth support in python
2015-11-03 10:14:20 +08:00
wing328
2778857714
Merge pull request #1409 from sfurholm/feature/allow-overriding-of-only-some-templates-v2
...
Allow overriding of only some templates when using --template-dir option
2015-11-03 09:33:16 +08:00
wing328
86efdc5b54
Merge pull request #1485 from xhh/ruby-oauth
...
Add oauth support for Ruby client
2015-11-03 09:13:53 +08:00
wing328
cb429149bc
Merge pull request #1492 from tomekc/swift_custom_headers
...
Custom headers in Swift; base URL is now modifyable
2015-11-03 09:05:30 +08:00
wing328
6b857d7acc
Merge pull request #1395 from cbornet/retrofit_improvements
...
[Retrofit]Add a listener on new token reception
2015-11-03 09:03:58 +08:00
cbornet
8b0bf8ff72
add a listener on new token reception
...
Add a listener on new token reception that can then be stored or logged for debug
Add an helper method to add authorizations (otherwise if the swagger def is not complete or correct, it is hard to configure from the main app)
2015-11-02 19:20:24 +01:00
cbornet
5b1f287176
add android manifest to java codegen
2015-11-02 18:32:52 +01:00
cbornet
645b8a01e1
provide dependency to javax.annotation.Generated for android
2015-11-02 16:16:14 +01:00
xhh
a94f9b69af
Add oauth support to other Java clients
...
with libraries jersey2 and okhttp-gson
2015-11-02 22:52:51 +08:00
wing328
1f38ce724f
Merge pull request #1486 from aersamkull/master
...
Addes default headers for TypeScript Angular
2015-11-02 21:36:46 +08:00
wing328
9f7427b1cf
Merge pull request #1489 from dvz5/master
...
Fix array query param processing
2015-11-02 21:36:25 +08:00
xhh
b27931cd8c
Add oauth support for Java client
2015-11-02 21:27:53 +08:00
Tomek Cejner
884b853e1f
Custom headers in Swift; base URL is nor modifyable
2015-11-02 14:20:15 +01:00
Dave Baird
3559a8bd09
Fix array query param processing
...
A couple of PHP functions that don't exist in Perl were being called to
process array query parameters.
2015-11-02 10:47:46 +01:00
aersamkull
3762ea472d
Adds default headers
2015-11-02 08:28:46 +01:00
Dave Baird
d28737ffd2
Fix misleading comment
2015-11-02 08:24:06 +01:00
aersamkull
a4538e989c
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2015-11-02 07:45:01 +01:00
xhh
1c3dc28c67
Add oauth support for Ruby client
2015-11-02 12:50:23 +08:00
wing328
742508281a
Merge pull request #1484 from dvz5/patch-1
...
Tests for deserialization
2015-11-02 10:03:11 +08:00
dvz5
08f424824c
Update 02_store_api.t
2015-11-01 23:14:22 +01:00
dvz5
2e03ecc4b8
Update 01_pet_api.t
...
Add tests for photoUrls, to check correct mapping from object attribute name to JSON attribute name.
2015-11-01 23:10:20 +01:00
wing328
15c5fff3d8
Merge pull request #1481 from dvz5/patch-1
...
Update BaseObject.mustache
2015-11-01 22:40:15 +08:00
wing328
c3a98c2fb1
add online generators
2015-11-01 00:02:08 +08:00
Tony Tam
d64ed9088a
Merge pull request #1483 from jacobrask/patch-1
...
Fix path typo in readme
2015-10-31 08:49:10 -07:00
Jacob Rask
48bf89cb1d
Fix path typo in readme
2015-10-31 16:35:14 +01:00
wing328
ad590793e7
Update server generator
2015-10-31 23:17:58 +08:00
wing328
47b4f9fa2c
Merge pull request #1477 from baverbud/issue-1476
...
Issue 1476
2015-10-31 23:04:56 +08:00
wing328
7bc523324d
Merge pull request #1446 from wing328/php_improvement1
...
[PHP] add OAuth support
2015-10-31 22:46:52 +08:00
dvz5
a4426cf2de
Update BaseObject.mustache
...
Fix deserialization.
2015-10-31 09:01:40 +01:00
Steffen Furholm
dcaa2dcb22
Merge branch 'master' of github.com:swagger-api/swagger-codegen into feature/add-support-for-sortParamsByRequiredFlag-config-option-to-csharp-and-python
2015-10-31 02:20:36 +01:00
Tony Tam
9fc5fdbc8d
Merge pull request #1474 from lugaru1234/genratorOptionsPart2
...
Test data were moved to the separete classes and OnlineGeneratorOptionsTest has been refactored
2015-10-30 18:10:17 -07:00
Steffen Furholm
5da0b96f17
Added support for sortParamsByRequiredFlag config option to C# and Python
2015-10-31 01:14:17 +01:00
Richard Baverstock
97a28165c7
Additional locations where float/double handling is needed
2015-10-30 11:48:48 -07:00
Richard Baverstock
8565975b99
Issue 1461
...
Add float and double handling to functions in SWGHelpers.cpp
2015-10-30 11:44:55 -07:00
wing328
28069fa1b4
Merge pull request #1472 from thorsten/master
...
Added missing visibility for constructor
2015-10-30 23:14:55 +08:00
wing328
eb598b641c
Merge pull request #1473 from dvz5/patch-1
...
Update BaseObject.mustache
2015-10-30 23:07:38 +08:00
Nadezhda Makarkina
81090bb4e2
Test data were moved to the separete classes and OnlineGeneratorOptionsTest has been refactored
2015-10-30 16:32:33 +03:00
dvz5
afcf90798a
Update BaseObject.mustache
...
Fix deserialization
2015-10-30 14:32:10 +01:00
Thorsten Rinne
f23370774b
Added missing visibility for constructor
2015-10-30 11:10:38 +01:00
wing328
b7481586c3
Merge pull request #1405 from lugaru1234/returnTypeFix
...
ReturnType processing has been fixed
2015-10-30 12:21:05 +08:00
wing328
df72beada6
Merge pull request #1463 from xhh/jersey2-client
...
Java jersey2: reuse a shared Client instance
2015-10-30 09:56:15 +08:00
Tony Tam
3d3fda9c79
Merge pull request #1468 from baverbud/issue-1461
...
Issue #1461
2015-10-29 14:39:41 -07:00
Richard Baverstock
4438c63f6b
Issue #1461
...
Add float and double to languageSpecificPrimitives
2015-10-29 10:50:07 -07:00
Tony Tam
837ffc8947
Merge pull request #1466 from lugaru1234/optionsTestPart3
...
processOptions tests have been added for the rest of languages
2015-10-29 06:34:40 -07:00
Nadezhda Makarkina
faf79be477
processOptions tests have been added for Objc, perl, spring-mvc, swift, scala, async-scala, qt5cpp, html, dynamic-html, swagger, swagger-yaml, tizen, typescript-angular, typescript-node, akka-scala, inflector, scalatra, silex and sinatra
2015-10-29 15:46:01 +03:00
aersamkull
2b24aa8f91
adds default headers
2015-10-29 09:15:18 +01:00
wing328
4ed819c4a0
Merge pull request #1457 from xhh/java-default-value
...
[Java] Assign default value for primitive properties
2015-10-29 10:11:05 +08:00
xhh
953edc940f
Java jersey2: use a shared Client instance
2015-10-29 09:40:07 +08:00
Steffen Furholm
c0dc273e7a
Merge remote-tracking branch 'origin/master' into feature/allow-overriding-of-only-some-templates-v2
2015-10-28 23:30:19 +01:00
Tony Tam
29ea8d5501
Merge pull request #1459 from lugaru1234/optionsTestPart2
...
processOptions tests have been added for Android, Ruby, nodeJS, php, python, csharp, CsharpDotNet2, dart, flash
2015-10-28 07:22:38 -07:00
wing328
6c12e5ac8b
update php sample
2015-10-28 21:45:22 +08:00
wing328
964850a8de
rename authToken to accessToken
2015-10-28 21:44:12 +08:00
wing328
67815ed5f2
add oauth support for php
2015-10-28 21:44:12 +08:00
Nadezhda Makarkina
6008664ff8
processOptions tests have been added for Android, Ruby, nodeJS, php, python, csharp, CsharpDotNet2, dart, flash
2015-10-28 14:55:42 +03:00
Andras Gaal
a5fcda9926
fix: codegen does not support spec 2.0 properties for parameters:
...
maximum
,exclusiveMaximum
,minimum
,exclusiveMinimum
,maxLength
,minLength
,pattern
,maxItems
,minItems
,uniqueItems
,multipleOf
2015-10-28 10:52:29 +01:00
xhh
ef29f70508
Handle default value for Integer, Double and Float properties
2015-10-28 16:37:31 +08:00
wing328
2e6199ac3b
Merge pull request #1456 from wing328/master
...
[C#] update C# petstore sample code
2015-10-28 16:08:49 +08:00
wing328
55d69d80bc
update c# sample code
2015-10-28 15:33:56 +08:00
xhh
2595992df7
Assign default value for model properties
...
in Java-related client and server codegen.
Closes #1448
2015-10-28 15:26:16 +08:00
wing328
55f1b0f642
Merge pull request #1450 from paralin/fix-path-var
...
Change usage of "path" in C# code generation
2015-10-28 15:21:01 +08:00
wing328
bd67cda1a7
Merge pull request #1451 from arnested/CURLFile-object
...
Use CURLFile object on PHP5.5+
2015-10-28 14:33:49 +08:00
Arne Jørgensen
47b2ae934b
Regenerated PHP petstore sample.
2015-10-27 22:58:25 +01:00
Arne Jørgensen
d907822fa9
Use CURLFile object on PHP5.5+.
2015-10-27 22:56:19 +01:00
Christian Stewart
5cdee3f424
Path is a commonly used variable name
2015-10-27 17:35:21 -04:00
Tony Tam
09c5aa3827
Merge pull request #1447 from lugaru1234/optionsTest
...
Options tests have been added for Java and JaxRS
2015-10-27 10:32:25 -07:00
Nadezhda Makarkina
9e791c229b
processOptions tests have been added for Java and JaxRS
2015-10-27 15:51:39 +03:00
wing328
4551076b22
Merge pull request #1438 from wing328/better_doc
...
Better documentation for DefaultCodegen.java
2015-10-27 15:53:17 +08:00
wing328
cf59b5dc7e
Merge pull request #1444 from xhh/retrofit-syntex-error
...
Fix syntax error on authMethods in java retrofit client
2015-10-27 13:56:53 +08:00
wing328
28521b34f2
Merge pull request #1439 from wing328/fix_jaxrs_path
...
[JAXRS] fix Jax-RS path with basePath
2015-10-27 11:57:55 +08:00
xhh
fa3661ff5d
Merge branch 'master' into retrofit-syntex-error
2015-10-27 11:32:29 +08:00
xhh
33358d44a9
Simplify tags in mustache
2015-10-27 11:08:37 +08:00
wing328
dd8ae250b2
Merge pull request #1433 from iushankin/allowableValues-fix
...
Fix for allowable values in the Mustache template
2015-10-27 11:04:42 +08:00
xhh
95113dbe22
Fix syntax error on authMethods in java retrofit client
2015-10-27 10:45:23 +08:00
xhh
f1e3809279
Fix partial template reading
2015-10-27 01:12:57 +01:00
Tony Tam
8914a30935
Merge pull request #1434 from lugaru1234/generatorOptions
...
Options processing has been fixed
2015-10-26 08:46:21 -07:00
wing328
5964f7b841
Merge pull request #1414 from dgreenbean/feature/csharp_binary_files
...
Raw Binary for File Output
2015-10-26 23:35:52 +08:00
wing328
cc7105b5d8
fix jarxs path with basepath
2015-10-26 18:00:15 +08:00
wing328
6792aea7f8
better comment for default codegen
2015-10-26 16:12:05 +08:00
Nadezhda Makarkina
c298b7d152
ReturnType processing has been fixed
2015-10-26 10:37:36 +03:00
Tony Tam
6b7ceab081
updated to dev version
2015-10-25 20:59:52 -07:00
Tony Tam
c00f4ba805
Merge pull request #1437 from swagger-api/release-prepare
...
updated versions for release
2015-10-25 19:41:11 -07:00
Tony Tam
dd3b253e15
updated versions
2015-10-25 19:31:36 -07:00
Tony Tam
3969a9f294
fix for #925
2015-10-25 17:02:08 -07:00
Tony Tam
78f8eaa687
set to release version
2015-10-25 16:31:40 -07:00
wing328
fe676c83c0
Merge pull request #1412 from Edubits/swift-alamofire-3.0
...
Swift Alamofire 3.0
2015-10-25 18:28:39 +08:00
wing328
18370b9076
Merge pull request #1402 from lugaru1234/issue960
...
Fixes #960 : Enums have been added to result file
2015-10-25 17:52:37 +08:00
wing328
70d987666e
Merge pull request #1436 from tomekc/swift_enum_naming
...
Swift enum names capitalization follows Swift convention.
2015-10-25 17:46:14 +08:00
Tomek Cejner
6247dd0cde
Swift enum names capitalization follows Swift convention.
2015-10-25 00:06:00 +02:00
Testo Nakada
f76a789a49
- make Meta generator take the swagger code gen version
...
- generate the class name correctly if the name contains hyphen
2015-10-24 11:36:00 -07:00
wing328
ea7ef990b9
Merge pull request #1432 from xhh/ruby-empty-array
...
Ruby client: include empty arrays in model serialization
2015-10-24 11:45:27 +08:00
Tony Tam
83afaffd92
Merge pull request #1430 from nbruno/java-child-enum-bug
...
Ensure hasMore is updated when reconciling enum properties from parent
2015-10-23 08:08:30 -07:00
Nadezhda Makarkina
c957641079
Options processing has been fixed
2015-10-23 17:59:40 +03:00
Ivan Ushankin
c6946a36c4
Fix for allowable values in the Mustache template
2015-10-23 15:49:51 +03:00
wing328
d2faa63ebc
Merge pull request #1431 from wing328/fix_empty_operation_id
...
Better error message for empty operationId
2015-10-23 18:47:04 +08:00
xhh
dcec2e7b5d
Forgot to use _to_hash for non-array value
2015-10-23 18:03:38 +08:00
xhh
940e76f45f
Ruby client: include empty arrays in model serialization
2015-10-23 17:08:12 +08:00
wing328
fecbc3c45d
Merge pull request #1306 from fdorothy/master
...
Specifying configuration files from Codegen class
2015-10-23 15:41:00 +08:00
Tony Tam
a6e4203cd5
added property check
2015-10-22 22:39:09 -07:00
wing328
dd34d75f00
better error message for empty operationId
2015-10-23 12:46:44 +08:00
Nick Bruno
1eed1917b9
Ensure hasMore is updated when reconciling enum properties from parent
2015-10-22 22:33:20 -04:00
Tony Tam
91afec43a6
fixed NPE on empty props
2015-10-22 15:43:02 -07:00
Tony Tam
adeff7855c
instructions for selective generation
2015-10-22 15:34:20 -07:00
Tony Tam
e289b858a9
Merge pull request #1428 from swagger-api/feature/selective-generation
...
made selective generation of models
2015-10-22 15:28:58 -07:00
Tony Tam
7170f7fa01
updated supporitng file support
2015-10-22 15:28:49 -07:00
Tony Tam
6253a592d9
added optional support for apis, supoprtingFiles
2015-10-22 14:54:29 -07:00
Tony Tam
9f842a1295
added environment variable support
2015-10-22 14:34:52 -07:00
Tony Tam
723cf9b823
made selective generation of models
2015-10-22 14:03:44 -07:00
Tony Tam
bbb59f93db
Merge pull request #1427 from crissdev/patch-1
...
Update TypeScriptAngularClientCodegen.java
2015-10-22 14:00:27 -07:00
Cristian Trifan
2fcb705826
Update TypeScriptAngularClientCodegen.java
...
Fix minor typo
2015-10-22 23:19:46 +03:00
David Greenberg
390ddc9ef3
Changing Stream deserialization to use raw bytes from response, rather than UTF-8 decoded text.
2015-10-22 09:04:54 -04:00
wing328
4723f51c63
Merge pull request #1397 from lugaru1234/issue1251
...
Fixes #1251 , #1212 : Form parameters has been added to the html template
2015-10-22 16:48:13 +08:00
wing328
485186e6b6
Merge pull request #1418 from ampem/master
...
[Perl] Ensure parameters to "each" is a hash in TO_JSON and from_hash
2015-10-22 15:14:27 +08:00
Richard Hunt
f44eb766b4
Replace File.separator with '/' to fix Windows path generation and avoid regular expression issues
2015-10-22 15:54:28 +13:00
Ampem Darko
1ac6842b5a
Update mustache template to pass hashes in TO_JSON and from_hash
2015-10-21 16:15:42 +00:00
Ampem Darko
57e3ea3e9c
Ensure parameters to "each" is a hash in TO_JSON and from_hash
2015-10-21 13:35:48 +00:00
wing328
0f75b053c8
Merge pull request #1417 from akkie/master
...
ApiException doesn't use deserialized data
2015-10-21 19:13:18 +08:00
wing328
eee69f1e05
Merge pull request #1416 from xhh/java-do-not-serialize-nulls
...
[Java] Ignore null fields in model serialization in Java clients
2015-10-21 19:00:09 +08:00
akkie
9b8a633435
ApiException doesn't use deserialized data
...
This is a fix for #1394 . I had not merged the data correctly after the rebase
2015-10-21 12:56:15 +02:00
Tony Tam
dcc47a92b5
added https support
2015-10-20 21:25:51 -07:00
Tony Tam
e9aaa6da36
enabled https
2015-10-20 21:25:35 -07:00
Tony Tam
568a7be994
enabled https
2015-10-20 21:25:21 -07:00
xhh
214e0186e8
Ignore null fields in model serialization
...
in Java clients.
Closes #1413
2015-10-21 12:05:27 +08:00
Tony Tam
7f5cdba606
rebuilt
2015-10-20 11:42:40 -07:00
Tony Tam
295af57c9a
fixed build error
2015-10-20 11:31:21 -07:00
Tony Tam
bade71c6ba
merged
2015-10-20 10:59:20 -07:00
Tony Tam
9adb077a7b
Merge branch 'feature/inline-models'
2015-10-20 10:57:50 -07:00
Tony Tam
10a9c62e2b
merged
2015-10-20 10:57:36 -07:00
Tony Tam
a6bd0773f7
added files
2015-10-20 10:56:18 -07:00
Tony Tam
b2506ab598
rebuilt
2015-10-20 10:32:19 -07:00
Tony Tam
a21f08118e
rebuilt
2015-10-20 10:31:42 -07:00
Tony Tam
96380bbc83
rebuilt
2015-10-20 10:31:17 -07:00
Tony Tam
abe4980449
rebuilt
2015-10-20 10:30:19 -07:00
Tony Tam
e3151c57a0
rebuilt
2015-10-20 10:29:48 -07:00
Tony Tam
d2dc333699
rebuilt
2015-10-20 10:29:25 -07:00
Tony Tam
b41a40f9be
rebuilt
2015-10-20 10:28:49 -07:00
Tony Tam
2f3a2413c7
rebuilt
2015-10-20 08:49:26 -07:00
Tony Tam
19ea3ecf66
update test for inline body param flattening
2015-10-20 08:48:44 -07:00
Tony Tam
5c29562926
ensure body params are flattened when type ModelImpl
2015-10-20 08:48:26 -07:00
Tony Tam
b827d06077
fix for npe on map models
2015-10-20 08:48:04 -07:00
Tony Tam
539496d735
rebuilt
2015-10-20 07:10:05 -07:00
wing328
6b7059d23f
Merge pull request #1394 from akkie/api-exception-json
...
Deserialize the response body in case of an ApiException
2015-10-20 18:01:09 +08:00
wing328
bff8f96b99
Merge pull request #1404 from tomekc/swift-enhanced
...
Add default initializer to Swift model classes.
2015-10-20 17:54:41 +08:00
Tony Tam
5e69d929a0
rebuilt
2015-10-19 23:13:27 -07:00
Tony Tam
e1ee7065d5
rebuilt client
2015-10-19 23:12:02 -07:00
Tony Tam
aaf1df1971
more flattening fixes
2015-10-19 23:10:48 -07:00
Tony Tam
555fd54fbb
updated swagger-core versions
2015-10-19 22:09:33 -07:00
Tony Tam
905a7746e7
updated test
2015-10-19 21:45:47 -07:00
Tony Tam
eeaf4071f9
updated to not flatten array, map properties in responses unless necessary
2015-10-19 21:35:45 -07:00
Tony Tam
84b7302f12
updated swagger-core version
2015-10-19 21:34:42 -07:00
Robin Eggenkamp
1b0963ebe0
Minimal changes to upgrade to Alamofire 3.0.0
2015-10-19 17:06:41 +02:00
akkie
b054cd3cc6
Deserialize the response body in case of an ApiException
...
Currently it's not possible to use custom models in the ApiException because the body gets not deserialized to Json and therefore the object deserializer cannot deserialize it to a custom model. This pull request uses the same mechanism as used to deserialize the response body in case of a 2xx status code.
2015-10-19 15:17:29 +02:00
wing328
4ea797d0e8
Merge pull request #1392 from nbruno/add-auth-annotations-jaxrs
...
Add authorization scope data to CodegenSecurity
2015-10-19 14:15:05 +08:00
Tony Tam
002feb3e7c
build error
2015-10-18 21:10:13 -07:00
Tony Tam
89dc4d29ab
added map support
2015-10-18 21:05:57 -07:00
Tony Tam
3cf1f1a56a
added support for array and model inline types
2015-10-18 20:51:55 -07:00
Nick Bruno
b83db8e535
Merge remote-tracking branch 'upstream/master' into add-auth-annotations-jaxrs
2015-10-18 17:19:44 -04:00
wing328
eb1e0b5034
Merge pull request #1408 from kkrauth/patch-1
...
Fix syntax issue when no auth methods defined
2015-10-18 16:34:11 +08:00
wing328
d7b4f58994
Merge pull request #1411 from wing328/master
...
Add support for top-level consumes and produces
2015-10-17 17:41:19 +08:00
wing328
e8fbdaabe3
replace tabs with spaces
2015-10-17 16:44:55 +08:00
wing328
b82333aea4
Add support for top-level consumes and produces
...
This reverts commit 0b4b5e8839 .
2015-10-17 16:30:19 +08:00
Nick Bruno
7bbb883a00
Generate JAXRS and SpringMVC samples to demo Authorization annotations
2015-10-16 21:25:54 -04:00
Nick Bruno
6477a27579
Update SpringMVC template to include Authorization annotations
2015-10-16 21:24:17 -04:00
Tony Tam
ad1626ad2d
added yaml sample
2015-10-16 18:22:13 -07:00
Tony Tam
bfa4303e6e
added inline model resolver
2015-10-16 18:21:34 -07:00
Tony Tam
9508579eed
added inline resolver
2015-10-16 18:21:06 -07:00
Steffen Furholm
8bc4c1f05e
Allow overriding of only some templates when using --template-dir option. Templates which aren't found in the template directory will fall back to the ones packaged/distributed with Swagger
2015-10-16 23:29:08 +02:00
Kosta Krauth
9ac980298f
Fix syntax issue when no auth methods defined
...
When no authentication methods are defined, the generated code does not compile due to where the authMethods closing tag is located. Moved the closing tag further down and opening tag further up so that the generated code is correct both when authentication are and aren't present.
2015-10-16 16:45:34 -04:00
wing328
a2fda604f8
Merge pull request #1396 from akkie/disable-ssl-verification
...
Allow to disable SSL verification
2015-10-16 21:08:31 +08:00
Tomek Cejner
8339e4b092
Add default initializer to Swift model classes.
2015-10-16 14:09:55 +02:00
wing328
90eab19305
Merge pull request #1401 from xhh/ruby-base-url-slashes
...
Ruby client: remove trailing slashes from base_url
2015-10-16 19:32:13 +08:00
wing328
8a2c34ba7a
Merge pull request #1403 from cbornet/retrofit_useless_import
...
Remove useless import
2015-10-16 19:12:35 +08:00
wing328
8c5991b793
Merge pull request #1372 from cbornet/retrofit_collectionformat
...
Add colllectionFormat support to retrofit
2015-10-16 18:50:59 +08:00
cbornet
3debd08a32
remove useless import
2015-10-16 12:47:25 +02:00
cbornet
92d1e8a1d9
use StringUtil to format csv
2015-10-16 12:21:45 +02:00
cbornet
71c5160739
add colllectionFormat support to retrofit
...
Fix #1364
2015-10-16 12:21:45 +02:00
Nadezhda Makarkina
3dd0b04fb9
Enums have been added to result file
2015-10-16 11:53:05 +03:00
Nadezhda Makarkina
04369ddfce
Form parameters has been added to the html template
2015-10-16 10:33:56 +03:00
wing328
084e7f7199
Merge pull request #1380 from xhh/java-global-security
...
Apply global security to operations when necessary
2015-10-16 12:50:41 +08:00
wing328
ab026fdde3
Merge pull request #1393 from gwen15/genfix
...
REST client code generation bug fix proposal
2015-10-16 12:42:32 +08:00
xhh
e0dfc1b43d
Ruby client: remove trailing slashes from base_url
...
Closes #1399
2015-10-16 12:02:30 +08:00
wing328
d5e2aea723
Merge pull request #1375 from xhh/issue-1308
...
Remove duplicate fields from sub-classes of the Java codegen
2015-10-16 12:02:25 +08:00
wing328
d2df310290
Merge pull request #1400 from testn/add-library
...
add library in the additional option
2015-10-16 12:00:28 +08:00
Nat Luengnaruemitchai
7db67aa192
add library in the additional option
2015-10-15 20:44:27 -07:00
xhh
a1fa0b0834
Rebuild Petstore samples
2015-10-16 10:47:00 +08:00
xhh
02a9fe2618
Add more test cases for global security
2015-10-16 10:30:26 +08:00
akkie
97a5a8922f
Allow to disable SSL verification
...
This pull request adds the possibility to disable SSL verification for hosts using a self-signed SSL certificate
2015-10-15 16:07:35 +02:00
gwen15
0802f94d94
Bug fix: some character replacement where done on the local directories
...
names.
The dot character was replaced by the file separator on the whole paths,
not only on the package name based part.
2015-10-15 12:35:23 +02:00
gwen15
21eb406140
Fix default long value in java client code generation
...
The generated java code for a Long was "Long id=1;" which is not
compilable by javac because "1" is a primitive integer that cannot be
cast to a Long object. This fix generates now "Long id=1l;".
2015-10-15 12:35:16 +02:00
xhh
84928abd8d
Merge branch 'master' into java-global-security
2015-10-15 17:57:27 +08:00
xhh
1c21730607
Log a warning on more than 1 security requirements
2015-10-15 17:56:38 +08:00
xhh
5a76a1b155
Fix tests regarding security
2015-10-15 16:51:43 +08:00
xhh
bc5a610567
Use the first security requirement from the array
...
According to swagger spec, "there is a logical OR between the security
requirements". The original behavior was to apply the security
requirements as the logic AND and skip security requirements that
include more that 1 security.
2015-10-15 15:17:30 +08:00
wing328
860b551e9b
Merge pull request #1376 from xhh/java-util-model-package
...
[Java] Add a config option to use fully qualified name for java.util classes
2015-10-15 12:12:37 +08:00
wing328
22218cb132
Merge pull request #1378 from xhh/java-invalid-enum-name
...
[Java] Handle enum names starting with number in Java client
2015-10-15 10:51:03 +08:00
Nick Bruno
300a0dc82c
Update retrofit library for changes to OAuth scope handling
2015-10-14 22:50:58 -04:00
wing328
3a66c0c710
Merge pull request #1384 from cbornet/retrofit_test_sample
...
Add retrofit to CI verified samples
2015-10-15 10:42:40 +08:00
xhh
a94384ca7f
Merge branch 'master' into java-util-model-package
2015-10-15 10:38:19 +08:00
xhh
6d50ce6a77
Fix a typo
2015-10-15 10:34:45 +08:00
wing328
583493f5ca
Merge pull request #1377 from cbornet/java_gradle_android
...
Add gradle files with android support to java templates
2015-10-15 10:28:28 +08:00
Nick Bruno
6cc17d8508
Add authorization scope data to CodegenSecurity, demo use in JAXRS
2015-10-14 22:07:43 -04:00
wing328
265b4b5945
Merge pull request #1385 from aersamkull/master
...
Updates to TypeScript Templates 2
2015-10-15 09:46:46 +08:00
xhh
65e63a8c52
Merge remote-tracking branch 'origin/master' into java-global-security
2015-10-14 20:42:20 +08:00
xhh
e4e77d03f5
Add test cases for global security
2015-10-14 20:40:10 +08:00
wing328
638bbfaf43
Merge pull request #1386 from swagger-api/revert-1370-global_consume
...
Revert "Add support for top-level consumes and produces"
2015-10-13 23:56:57 +08:00
wing328
0b4b5e8839
Revert "Add support for top-level consumes and produces"
2015-10-13 23:47:42 +08:00
wing328
c7b08bc112
Merge pull request #1373 from estiller/master
...
Fix bug in handling 204 "No Content" responses from the server in Android & Java generated clients
2015-10-13 22:47:47 +08:00
wing328
f1b0cf839a
Merge pull request #1370 from wing328/global_consume
...
Add support for top-level consumes and produces
2015-10-13 22:35:33 +08:00
aersamkull
988de07c17
Fixes noImplicitAny Error
2015-10-13 13:32:01 +02:00
cbornet
f603efc419
add retrofit to CI verified samples
2015-10-13 12:18:32 +02:00
aersamkull
4e7d893a8e
Updates to TypeScript Templates
2015-10-13 12:01:34 +02:00
xhh
1ef51e5ad7
Apply global security to operations when necessary
...
Closes #1365
2015-10-13 16:22:02 +08:00
xhh
17545e959a
Handle enum names starting with number in Java client
2015-10-13 10:32:07 +08:00
cbornet
5ed52b3e1d
add gradle files with android support
2015-10-12 16:16:38 +02:00
wing328
6ce09ee779
Update config option
2015-10-12 17:34:07 +08:00
xhh
7b1799f874
Merge branch 'master' into java-util-model-package
...
Conflicts:
samples/client/petstore/java/default/src/main/java/io/swagger/client/api/PetApi.java
samples/client/petstore/java/default/src/main/java/io/swagger/client/api/StoreApi.java
samples/client/petstore/java/default/src/main/java/io/swagger/client/api/UserApi.java
samples/client/petstore/java/default/src/main/java/io/swagger/client/model/Order.java
samples/client/petstore/java/default/src/main/java/io/swagger/client/model/Pet.java
2015-10-12 17:11:43 +08:00
xhh
43b3acf550
Remove duplicate fields from sub-classes of the Java codegen
...
Closes #1308
2015-10-12 17:07:17 +08:00
wing328
d162d48fa3
Merge pull request #1359 from wing328/better_exception_handling2
...
Better exception handling
2015-10-12 16:58:01 +08:00
Eran Stiller
e562b0ae34
Fix indentation
2015-10-12 09:52:20 +03:00
Eran Stiller
748460488a
Regenerate only the ApiInvoker.java file in the sample
2015-10-12 09:25:24 +03:00
Eran Stiller
1fb2a97497
Revert "Regenerate Android-Java sample"
...
This reverts commit 15f5eae2a8 .
2015-10-12 09:22:36 +03:00
Eran Stiller
15f5eae2a8
Regenerate Android-Java sample
2015-10-12 08:52:52 +03:00
Eran Stiller
6fd54d5285
Fix bug in handling 204 responses
2015-10-12 08:51:00 +03:00
wing328
00517a1ad3
remove unused operation in test json file
2015-10-10 23:27:21 +08:00
wing328
5cd01af350
fix typo in test cases
2015-10-10 23:22:42 +08:00
wing328
9ecb2e92ae
restore sample files for objc, php and ruby
2015-10-10 23:13:26 +08:00
wing328
6cc5a32d40
update objc sample
2015-10-10 23:09:41 +08:00
wing328
64fd94262f
add globalConsumesAndProduces.json
2015-10-10 22:54:13 +08:00
wing328
5144c54895
add test case for global consumes and produces
2015-10-10 22:47:24 +08:00
wing328
9311dcaccb
update codegen to support global consumes and produces
2015-10-10 18:39:54 +08:00
Tony Tam
a5a6ae72c3
Merge pull request #1368 from ducin/badge-maven-central
...
maven central badge added
2015-10-09 09:38:50 -07:00
Tomasz Ducin
c31ed5a30d
maven central badge added
2015-10-09 18:14:27 +02:00
xhh
aa0fbada07
Add a "fullJavaUtil" option to Java clients
...
to toggle whether to use full qualified name (with full package prefix)
for classes under java.util
2015-10-09 22:10:22 +08:00
xhh
ab34dc5697
Rebuild Java cilents of the Petstore sample
2015-10-09 22:10:21 +08:00
xhh
edf2642e73
Support model name like "List" in Java clients
...
Support generating model files with name like "List", "Map" and "Date"
by using full qualified names when using them from the java.util
package.
2015-10-09 22:10:21 +08:00
wing328
d95660aca1
Merge pull request #1340 from onnertech/ios-tweaks
...
[objc] Add casts that avoid method resolution errors for `count`
2015-10-09 16:44:54 +08:00
wing328
297f9e961c
Merge pull request #1362 from cristiangarciascmspain/fix-OSX-Pom-TestNG
...
Add StartAttachListener that fixes #1330
2015-10-09 15:34:15 +08:00
wing328
42b716207f
Merge pull request #1360 from wing328/nodejs_server_port
...
[NodeJS] update index.js to use the var serverPort
2015-10-09 11:32:01 +08:00
wing328
7d69107696
Merge pull request #1356 from arnested/deserialize-httpHeader
...
Deserialize httpHeader.
2015-10-09 11:31:24 +08:00
wing328
4d2fb1cc9a
Merge pull request #1355 from arnested/usage-of-httpHeader-in-exceptions
...
Use HTTP headers from ApiException in PHP client.
2015-10-09 11:31:15 +08:00
cristiangarciascmspain
503ffd06d0
Add StartAttachListener that fixes #1330
2015-10-08 18:30:13 +02:00
wing328
725df15dd5
update sample for nodejs
2015-10-08 23:57:14 +08:00
wing328
8e9e3a6171
update nodejs to use the var serverport
2015-10-08 23:52:41 +08:00
wing328
6ee42bebe6
add exception handling for #1267
2015-10-08 23:38:09 +08:00
wing328
69a346cb57
remove python3 frmo all-petstore.sh
2015-10-08 23:38:09 +08:00
wing328
d451d4efb8
fix NPE when model's allof with no property
2015-10-08 23:38:09 +08:00
Arne Jørgensen
b7b8b527db
Use HTTP headers from ApiException in PHP client.
...
The `$httpHeader` variable was not set when catching exceptions.
See also #1354 .
Regenerated php-petstore sample.
2015-10-08 11:46:36 +02:00
Arne Jørgensen
3bd4502bbf
Deserialize httpHeader.
...
See #1354 .
Regenerated php-petstore sample.
2015-10-08 11:25:43 +02:00
Tony Tam
733e19c113
fixed NPE for objc client
2015-10-07 17:11:52 -07:00
wing328
735cae7b49
Merge pull request #1335 from wing328/html_remove_site_css
...
[HTML] remove site.css from html docs
2015-10-07 16:26:53 +08:00
wing328
3b36bbe97d
Update README.mustache
2015-10-06 18:39:44 +08:00
wing328
228e039046
Merge pull request #1333 from wing328/csharp_fix_accept
...
[C#] better Accept header selection for C# API client
2015-10-06 18:26:02 +08:00
wing328
b27663e1ad
Update README.md
2015-10-06 16:14:13 +08:00
wing328
eaddebe220
Update list of generator
2015-10-06 16:13:06 +08:00
wing328
f8485f26d3
Merge pull request #1317 from cbornet/online_options
...
Add options to online generator
2015-10-06 12:00:51 +08:00
Ches Martin
d9117480f8
[objc] Add casts that avoid method resolution errors
...
Because the `data` that we're deserializing is of type `id` (essentially
untyped), it's possible to have method resolution clashes without
explicitly casting here once we've parsed a type. I had this issue with
a pagination container model, for instance, which has a field named
`count` that conflicts with the property of the same name on `NSArray`
or `NSDictionary`.
2015-10-06 10:58:48 +07:00
wing328
7b79abef63
update c# sample
2015-10-06 11:33:00 +08:00
wing328
dbd89092f0
add accept header select to async method
2015-10-06 11:30:17 +08:00
wing328
6ed7663466
add remarks to csharp method
2015-10-06 11:28:18 +08:00
wing328
d882e9fe0a
remove site.css from html docs
2015-10-05 22:33:25 +08:00
wing328
ea1c2809f7
Merge pull request #1329 from iushankin/issue-1304-part3
...
Fixed #1304 : Migrate tests from the Scala to the plain Java. Part 3
2015-10-05 18:29:36 +08:00
wing328
3c78e29a12
better Accept header for C#
2015-10-05 13:19:58 +08:00
wing328
6cb4473526
Merge pull request #1328 from ducin/docs-toc
...
readme: Table of Contents
2015-10-05 00:05:32 +08:00
wing328
65a9c78544
Merge pull request #1319 from cbornet/online_version
...
Add version to swagger.json from pom's version
2015-10-04 23:57:16 +08:00
wing328
69911a1974
Merge pull request #1311 from xhh/java-okhttp-gson-ssl
...
Add some SSL options to Java okhttp-gson client
2015-10-04 23:02:25 +08:00
wing328
761029241e
Merge pull request #1331 from qswinson/csharp_comments
...
Csharp comments
2015-10-03 10:31:44 +08:00
Quenby Mitchell
1018ca634d
generic types need to be escaped for the xmldoc to work for return documentation. List<Foo> should be List{Foo} for the c# compiler to generate the documentation for the generic type. since there is not a spare parameter on the CodegenOperation model to put this correctly formatted documentation, for right now, don't include the return type in the documentation.
2015-10-02 13:11:54 -05:00
Quenby Mitchell
ff0b0c15a8
fix build warnings on CSharp xml comments
2015-10-02 12:14:41 -05:00
wing328
727c32f2a2
Merge pull request #1312 from iushankin/issue-1304
...
Issue #1304 : Migrate tests from the Scala to the plain Java. Part 2
2015-10-02 23:50:37 +08:00
wing328
3c0eab65f3
Merge pull request #1323 from cbornet/fix_scopes_npe
...
Fix NPE in empty operation oauth scopes
2015-10-02 23:39:25 +08:00
wing328
a72ac99c91
Merge pull request #1316 from cbornet/dynamic_enum
...
Dynamically fill swagger enum from codegen client names
2015-10-02 23:37:15 +08:00
Ivan Ushankin
4b62a94350
Fixed #1304 : Migrate tests from the Scala to the plain Java. Part 3
2015-10-02 16:20:16 +03:00
Tomasz Ducin
12d8f97aee
improving ToC
2015-10-01 23:26:24 +02:00
Tomasz Ducin
acaf1b1cd0
added Table of Contents
...
Initial version of table of contents - showing all headers in the current shape.
2015-10-01 23:14:34 +02:00
cbornet
c1c3439b86
fix some wrong indentations
2015-10-01 17:42:33 +02:00
cbornet
5744bb4053
fix npe in empty operation scopes
...
Fix #1322
2015-10-01 17:35:07 +02:00
wing328
2711e375cc
Merge pull request #1310 from wing328/fix_dynamic_html_parameter_name
...
[HTML] Fix parameter name in dynamic-html
2015-10-01 20:07:29 +08:00
cbornet
25abc15233
add version to swagger.json from pom's version
...
Fix #1314
2015-10-01 14:00:19 +02:00
cbornet
984b645ea1
add options to online generator
...
Fix #1313
2015-10-01 11:09:25 +02:00
wing328
253c46a0d5
Merge pull request #1309 from wing328/fix_springmvc_object
...
[SpringMVC] fix compilation error by removing import of Object
2015-10-01 10:02:20 +08:00
cbornet
7c431a8e11
dynamically fill swagger enum from codegen client names
2015-10-01 01:12:09 +02:00
Ivan Ushankin
3c98e32765
Issue #1304 : Migrate tests from the Scala to the plain Java. Part 2
2015-09-30 17:38:01 +03:00
xhh
f483f934d8
Add some SSL options Java okhttp-gson client
...
* Add the `verifyingSsl` option to allow skipping verifying SSL
certificate and host name (default to verify)
* Add `sslCaCert` to allow customizing the CA certificates
2015-09-30 19:48:18 +08:00
wing328
053af7a749
Merge pull request #1305 from iushankin/issue-1304
...
Fixed #1304 : Migrate tests from the Scala to the plain Java. Part 1
2015-09-30 17:57:05 +08:00
wing328
d2d6ff661a
fix parameter name in dynamic html
2015-09-30 17:24:11 +08:00
wing328
17bdd73891
fix springmvc by removing import of Object
2015-09-30 16:28:17 +08:00
Tony Tam
d9bfb884da
Merge pull request #1307 from warnyul/master
...
Fix objc model inheritance.
2015-09-29 22:58:43 -07:00
Balázs Varga
19d8766363
Fix model inheritance.
2015-09-29 10:07:51 +02:00
wing328
e270fdcfd9
Merge pull request #1300 from geekerzp/python_client_cert
...
[Python] Support client certificate file and client key file in TLS/SSL
2015-09-29 14:50:11 +08:00
wing328
a2f47672e7
Merge pull request #1297 from geekerzp/objc_upload_file
...
[Objc] Add test case in objc client
2015-09-29 14:49:37 +08:00
wing328
90dc0a7bd8
Merge pull request #1302 from geekerzp/ruby_client_cert
...
[Ruby] Support client ceritficate in ruby client
2015-09-29 14:44:17 +08:00
Fredric Dorothy
2a679f798a
Merge https://github.com/fdorothy/swagger-codegen
2015-09-28 11:52:30 -05:00
Fredric Dorothy
dbecb9e562
Added ability to set a configuration file for custom code generators. This should work the same as when you're using one of the built-in generators.
2015-09-28 11:50:08 -05:00
Ivan Ushankin
4db86003f5
Fixed #1304 : Migrate tests from the Scala to the plain Java. Part 1
2015-09-28 19:03:02 +03:00
Tony Tam
d5cf2b6cfe
made host dynamic for link generation
2015-09-28 08:51:39 -07:00
geekerzp
6a3108a6bf
Support client ceritficate in ruby client
2015-09-28 16:31:47 +08:00
wing328
2ea3816e65
Merge pull request #1290 from geekerzp/model_name
...
[Python, Ruby] Fix issues in python and ruby clients
2015-09-28 08:35:28 +08:00
wing328
baca3027f4
Merge pull request #1298 from geekerzp/ruby_upload_file
...
[Ruby] Add test case in ruby client
2015-09-27 22:20:20 +08:00
wing328
0e9e2046e7
Merge pull request #1293 from xhh/fix-set-date-format
...
[Java jersey2]: Fix ApiClient.setDateFormat in Java jersey2 client
2015-09-27 21:48:53 +08:00
wing328
e301020acc
Merge pull request #1295 from geekerzp/python_upload_file
...
[Python] Fix issue in python client
2015-09-27 21:48:29 +08:00
geekerzp
cf1f113852
Support client certificate file and client key file in TLS/SSL in python client
2015-09-26 16:16:59 +08:00
wing328
c26a387d9a
Merge pull request #1271 from laurentvdl/master
...
implement form parameter support using Angular $httpParamSerializer
2015-09-26 09:37:40 +08:00
geekerzp
c70ca9d572
Add test case in ruby client
2015-09-25 17:33:39 +08:00
geekerzp
6bdfb8810c
Add test case in objc client
2015-09-25 16:48:19 +08:00
wing328
2a5ab78056
Merge pull request #1296 from xhh/fix-enum-constructor
...
Fix hard-coded constructor name of enum class in Java okhttp-gson client
2015-09-25 16:34:13 +08:00
xhh
e5a4ef3ba0
Fix hard-coded constructor name of enum class
...
in Java okhttp-gson client
2015-09-25 15:52:52 +08:00
geekerzp
9b148be57e
Fix issue in python client.
...
If upload only file it will not send file content.
2015-09-25 15:10:32 +08:00
wing328
0380fc5a35
Merge pull request #1274 from geekerzp/objc_log
...
[Objc] Update objc debug logging
2015-09-25 11:57:28 +08:00
xhh
597282742b
Fix ApiClient.setDateFormat in Java jersey2 client
2015-09-24 21:56:50 +08:00
wing328
5e805c2be6
Merge pull request #1284 from acourtneybrown/master
...
Fixed method name in Java ApiClient mustache template
2015-09-24 16:39:46 +08:00
wing328
b080abeb01
Merge pull request #1280 from xhh/primitive-string-response
...
[Java] Support primitive string response in Java clients
2015-09-24 16:37:17 +08:00
geekerzp
2943f41cdd
Update python and ruby clients.
...
Use `sanitizeName` to sanitize model name.
2015-09-24 16:29:20 +08:00
geekerzp
84e0df6115
Fixed issue that model name not camelized in python client and ruby client
2015-09-24 16:23:44 +08:00
wing328
a49826e4d7
Merge pull request #1289 from geekerzp/python_log
...
[Python] Update python log
2015-09-24 16:09:06 +08:00
wing328
b8792b6a71
Merge pull request #1276 from bedag/master
...
Better diagnostics when something goes wrong
2015-09-24 11:42:48 +08:00
wing328
5ee86b9816
Merge pull request #1264 from xhh/java-enum-improvements
...
[Java] Improvements on enum var name in Java client
2015-09-24 11:42:11 +08:00
geekerzp
e32272aedb
Update log in python client
2015-09-24 10:54:24 +08:00
wing328
ee7f447f77
Merge pull request #1187 from Edubits/swift-2.0
...
[Swift] Update generated code to Swift 2.0
2015-09-24 10:51:05 +08:00
wing328
a5fb689615
Merge pull request #1260 from wing328/remove_python3_generator
...
[Python] remove python3 generator
2015-09-24 10:50:47 +08:00
geekerzp
a26cf60a22
Revert "Revert "[Python] Fix issue in python client""
...
This reverts commit c59e2b88b1 .
2015-09-24 10:08:16 +08:00
wing328
ed13d7b1b8
Merge pull request #1288 from swagger-api/revert-1281-python_log
...
Revert "[Python] Fix issue in python client"
2015-09-24 09:41:18 +08:00
wing328
c59e2b88b1
Revert "[Python] Fix issue in python client"
2015-09-24 09:30:49 +08:00
wing328
e8d40a146c
Merge pull request #1281 from geekerzp/python_log
...
[Python] Fix issue in python client
2015-09-24 09:27:00 +08:00
Adam Brown
4ef69794a3
Fixed method name in Java ApiClient mustache template
2015-09-23 14:16:26 -07:00
geekerzp
30fbdd4d05
Add class prefix to macro DebugLog in objc client
2015-09-23 17:18:07 +08:00
geekerzp
13c079342e
Fixed issue #1262
2015-09-23 14:55:46 +08:00
xhh
a284bb7a51
Rebuild Java clients of the Petstore sample
2015-09-23 13:31:28 +08:00
xhh
44bbe301cb
Support primitive string response in Java clients
2015-09-23 12:50:38 +08:00
wing328
69f8274287
Merge pull request #1272 from wing328/add_cli_parameter_order
...
Add CLI option to sort method arguments
2015-09-23 09:47:00 +08:00
wing328
770ea9d12e
Merge pull request #1270 from xhh/php-sanitize-model-name
...
Fix #1145 : sanitize model name in PHP client
2015-09-23 09:44:38 +08:00
wing328
d09d8bb495
Merge pull request #1269 from efossier/expose-readonly-to-template
...
Expose readOnly attribute on model properties to templates
2015-09-23 09:29:49 +08:00
wing328
85f99934c8
Merge pull request #1256 from cbornet/java_retrofit_lib
...
Set retrofit as a java library
2015-09-23 09:12:07 +08:00
Adrian Moos
66dee928d2
consistent indentation (spaces, not tabs)
2015-09-22 18:08:47 +02:00
Adrian Moos
d4a94fbf52
- DefaultGenerator now communicates failures by throwing exceptions
...
rather than setting a status flag in a public field
- DefaultGenerator now decorates exceptions to record where a failure
occured (which api, model or operation?)
- CodeGenMojo now propagates this exception to maven to abort the build
2015-09-22 18:01:29 +02:00
geekerzp
844cae75b7
Update debug logging in objc client
2015-09-22 16:32:15 +08:00
wing328
4e4e9e7893
add a CLI option to sort method argument
2015-09-22 15:57:22 +08:00
Laurent Van der Linden
61690d625f
change the constructor signature to be backwards compatible
...
update petstore samples for angular and node
2015-09-22 09:20:52 +02:00
Laurent Van der Linden
1cd8141645
implement form parameter support using Angular $httpParamSerializer
2015-09-22 08:37:49 +02:00
wing328
98ff2d231f
Merge pull request #1261 from wing328/typescript-node-fix-param-name
...
[TypeScript] fix parameter name for typescript-node using baseName
2015-09-22 14:22:07 +08:00
xhh
09add2d871
Fix test failure by allowing backslash in model name
2015-09-22 14:03:27 +08:00
xhh
9cbf2d3707
Fix #1145 : sanitize model name in PHP client
2015-09-22 11:33:11 +08:00
geekerzp
0622838947
Fixed issues about logging in objc client
2015-09-22 09:29:48 +08:00
Evan Fossier
a6df340cdc
Expose readOnly attribute on model properties to templates, can now use isReadOnly property in model templates
2015-09-21 17:34:23 -07:00
xhh
bcbf9c54c7
Remove unnecessary checking of empty string
2015-09-21 18:14:57 +08:00
xhh
6dcaa890cf
Improvements on enum var name in Java client
...
* Place each enum var in a separate line
* Truncate common prefix when present
2015-09-21 17:29:26 +08:00
wing328
2b06a81a52
remove extra line break in typescript-node sample code
2015-09-20 23:17:04 +08:00
wing328
956624f1a4
remove extra line break for typescript-node
2015-09-20 23:15:02 +08:00
wing328
b1728aed7c
update sample for typescript-node
2015-09-20 23:11:46 +08:00
wing328
8733be9ac9
update sample, fix formData basename
2015-09-20 23:06:29 +08:00
wing328
c203854254
fix parameter name for typescript-node using baseName
2015-09-20 22:59:56 +08:00
wing328
3dc3af8d18
remove python3 generator
2015-09-20 22:43:43 +08:00
wing328
cbc2fb237d
Merge pull request #1252 from seanbright/model-with-no-props
...
Fix NPE in JavaClientCodegen when model has no properties of its own
2015-09-20 21:57:05 +08:00
wing328
b7d64d1352
Merge pull request #1254 from GoodTRKR/master
...
[Obj-C] removed extraneous logs unless logging is specifically enabled in the [SWGConfiguration sharedConfig] instance
2015-09-19 01:04:10 +08:00
cbornet
047b06ac84
remove retrofit codegen from config
2015-09-18 15:03:55 +02:00
cbornet
f29f5d6f13
fix error with formParams in async ops
2015-09-18 14:45:37 +02:00
cbornet
1863aca0fa
set retrofit as a java library
...
Fix #1247
Fix #1248
2015-09-18 14:21:48 +02:00
wing328
cf300c09da
Merge pull request #1246 from laurentvdl/patch
...
Use the baseName when referring to path and query parameters.
2015-09-18 16:46:46 +08:00
wing328
27ab9c2e57
Merge pull request #1238 from DariusMR/master
...
unicode type forgotten in api_client.mustache for python
2015-09-18 16:44:35 +08:00
Laurent Van der Linden
c83c564a19
Use the baseName when referring to header parameters.
2015-09-18 08:05:13 +02:00
wing328
8978a0a906
Merge pull request #1242 from xhh/options-http-method
...
[Java okhttp-gson] Support the "OPTIONS" HTTP method
2015-09-18 10:47:27 +08:00
wing328
6d21422bad
Merge pull request #1245 from geekerzp/objc_ssl
...
[Objc] Enhancements of objc client
2015-09-18 10:45:43 +08:00
Matthew Davis
65cfa735d5
[Obj-C] removed extraneous logs unless logging is specifically enabled in the [SWGConfiguration sharedConfig] instance
2015-09-17 17:39:26 -07:00
Sean Bright
e2ce427fb1
Fix NPE in JavaClientCodegen when model has no properties of its own
...
A model that inherits from another model and does not add its own properties
causes JavaClientCodegen to crash silently with an NPE.
Fixes #1141
2015-09-17 14:35:07 -04:00
Laurent Van der Linden
781458b0d1
Use the baseName when referring to path and query parameters.
2015-09-17 12:46:20 +02:00
DariusM
65f86dbb0f
unicode type forgotten in api_client.mustache for python2, works also with python3
2015-09-17 10:31:40 +02:00
DariusM
cc1c495ea5
unicode type forgotten in api_client.mustache
2015-09-17 10:26:08 +02:00
geekerzp
261ae79528
Remove space from parameterToString in objc client
2015-09-17 15:59:03 +08:00
geekerzp
fb14585adf
Add parameterToString method
2015-09-17 15:20:11 +08:00
wing328
27e434d786
Merge pull request #1239 from ePaul/feature/use-baseName-for-jsonproperty
...
Use the swagger property names in all Java models.
2015-09-17 14:43:21 +08:00
wing328
2a37c48e12
Merge pull request #1243 from process/patch-1
...
[DOC] fix typo in Python api_client template
2015-09-17 14:42:45 +08:00
Justin Chines
85df7c8ed7
[DOC] fix typo in Python api_client template
2015-09-16 22:09:01 -07:00
wing328
b3ca9cdbe0
Merge pull request #1154 from cbornet/retrofit_oauth
...
[Retrofit] add authorizations to retrofit client
2015-09-17 11:47:06 +08:00
xhh
477d5c40d9
Rebuild Java okhttp-gson client of Petstore sample
2015-09-17 10:22:53 +08:00
xhh
460c8caa8a
Support OPTIONS in Java okhttp-gson client
2015-09-17 10:22:53 +08:00
wing328
53e13aee19
Merge pull request #1234 from geekerzp/python_http_verb
...
[Python] Enhancements http verbs of python client
2015-09-16 22:32:58 +08:00
wing328
ec05dc4414
Merge pull request #1236 from wing328/springmvc_file_upload
...
[SpringMVC] Replaced hard-coded fileDetail with {{baseName}}
2015-09-16 18:17:12 +08:00
Paul Ebermann
7eec769654
Use the swagger property names in all Java models.
...
This changes `@JsonProperty({{name}})` to `@JsonProperty({{baseName}})` in model.mustache for JavaInflector, JavaJaxRS and JavaSpringMVC.
In pull request #535 this was already done for the plain Java files (which get used on client side).
This replaces the sanitized names in the generated code by the original property names from the swagger document.
2015-09-16 11:36:51 +02:00
wing328
f483b8dfa8
Merge pull request #1233 from geekerzp/ruby-apiclient
...
Fix issue that using temp_folder_path from ApiClient in ruby client
2015-09-15 22:28:54 +08:00
wing328
2ac41ff080
repalced hard-coded fileDetail with {{baseName}}
2015-09-15 22:14:13 +08:00
geekerzp
ade61c0701
Support http body in OPTIONS request in python client
2015-09-15 17:48:59 +08:00
geekerzp
bd63c1d9d9
Support OPTIONS http verb in python client.
2015-09-15 16:40:23 +08:00
geekerzp
5d1e70544c
Fix issue that using temp_folder_path from ApiClient
...
It should use the one from the Configuration object
2015-09-15 15:04:39 +08:00
wing328
349702adf9
Merge pull request #1232 from geekerzp/python_issue
...
Fix issue in python client
2015-09-15 12:14:49 +08:00
wing328
88410635b3
Merge pull request #1228 from geekerzp/objc_ssl
...
Objc client ssl verification
2015-09-15 10:14:20 +08:00
geekerzp
0262d3c8d2
Fix issue #1230
2015-09-15 09:57:55 +08:00
wing328
96f4a3ab71
Merge pull request #1226 from xhh/java-okhttp-gson-file-downloading
...
[Java okhttp-gson] Add support of file downloading
2015-09-14 22:09:48 +08:00
geekerzp
b0063d9e9f
Objc client ssl verification
2015-09-14 18:29:49 +08:00
wing328
48bd888483
Merge pull request #1222 from madhukard/master
...
Java: Support List of Enums in postProcessModels
2015-09-14 01:21:34 +08:00
wing328
1358e33bf6
Merge pull request #1223 from GoodTRKR/master
...
[Obj-C] Fixed an issue where NSNumber parameters would cause a crash in multipart/form-data upload endpoints
2015-09-14 00:28:43 +08:00
wing328
c8edacb25c
Merge pull request #1225 from wing328/fix_getHasXXXParam
...
Fix getHasXxxParam in CodegenOperation
2015-09-13 22:15:50 +08:00
wing328
47dc4d7642
Merge pull request #1218 from wing328/csharp_fix_map_string
...
[C#] update map to use String instead of string
2015-09-13 22:15:22 +08:00
xhh
1ecb8a74c1
Allow customizing temp folder for file downloading
2015-09-13 21:02:22 +08:00
xhh
967c574f5b
Support file downloading in Java okhttp-gson client
2015-09-13 18:41:53 +08:00
wing328
8bb8a7a79a
fix getHasXxxParam
2015-09-12 16:00:10 +08:00
Matthew Davis
1268b0627f
added NSNumber catch to pathParams as well
2015-09-11 17:33:36 -07:00
Matthew Davis
761f172c2f
forgot an 'else' statement
2015-09-11 17:27:25 -07:00
Matthew Davis
1321d5f9a5
[Obj-C] Fixed an issue where NSNumber parameters would cause a crash in multipart/form-data upload endpoints
2015-09-11 17:23:48 -07:00
Madhukar Devaraju
35f462f571
Java: Support List of Enums in postProcessModels
2015-09-11 14:56:37 -07:00
wing328
f21fa08cd6
update C# ParamterToString to support array of object, add test case
2015-09-11 22:48:38 +08:00
wing328
16afd4ee9b
update map to use String instead of string
2015-09-11 18:02:51 +08:00
wing328
46f78f2180
Merge pull request #1215 from xhh/java-last-resp-info
...
[Java jersey2 okhttp-gson] Fix compilation error, record status code and response headers of last request
2015-09-11 16:05:09 +08:00
xhh
2e402bba97
Rebuild Java clients for the petstore sample
2015-09-11 13:22:37 +08:00
xhh
34f196a144
Java-okhttp-gson: allow access to status code and response headers of last (async) request
2015-09-11 13:22:37 +08:00
xhh
def3f5b3fb
Java-jersey2: record status code and response headers of last request
2015-09-11 13:22:37 +08:00
xhh
60e5a34534
Update Java-jersey2 client to skip binary support
...
Binary parameter/response support was added to the default Java client
codegen which changed the signature of the `invokeAPI` method in
"api.mustache", causing the "jersey2" client fail to compile.
Here an separate version of `api.mustache` is added for "jersey2" client
which does not handle binary support (for now).
2015-09-11 13:22:37 +08:00
wing328
1eed90f34e
Merge pull request #1214 from GoodTRKR/master
...
[Obj-C] Fixed an issue with incorrect references in the ApiClient when using a custom prefix.
2015-09-11 09:30:58 +08:00
wing328
e34063f0f2
Merge pull request #1213 from LeoYReyes/patch-1
...
[C#] Api.mustache - Remove the parameter in the BasePath getter
2015-09-11 08:41:08 +08:00
Matthew Davis
dbdcf34044
[Obj-C] Fixed an issue with incorrect references in the ApiClient when using a custom prefix.
2015-09-10 15:14:53 -07:00
Leo
43d71ed10c
Remove the parameter in the BasePath getter
...
The parameter in the BasePath getter is not needed.
2015-09-10 12:17:23 -05:00
wing328
b3db24ead6
Merge pull request #1210 from arnested/missing-head-and-options-in-php-client
...
Add HEAD and OPTIONS support in PHP client.
2015-09-10 22:07:31 +08:00
wing328
d21c6f2b45
Merge pull request #1205 from wing328/SLF4J_warning
...
update pom.xml to remove warning
2015-09-10 21:52:45 +08:00
Arne Jørgensen
3c3762fd92
Add HEAD and OPTIONS support in PHP client.
...
The generated PHP client didn't support the HEAD and OPTIONS methods.
Followup on #1156 and #1201 .
2015-09-10 14:55:49 +02:00
Robin Eggenkamp
0edbfeff15
Bump Alamofire version to final 2.0.0
2015-09-10 14:24:55 +02:00
Ron
4b539a9d6e
Merge pull request #1206 from wing328/fix_sinatra_type
...
[Sinatra] fix sinatra type (tag)
2015-09-09 15:59:22 +03:00
wing328
71a3218bb3
fix sinatra type (tag)
2015-09-09 20:27:59 +08:00
wing328
d37cf6595a
update pom.xml to get rid of the warning
2015-09-09 16:20:17 +08:00
wing328
1bac705876
Merge pull request #1200 from wing328/dart_permission
...
[Dart] update dart-petstore.sh permission
2015-09-08 22:28:12 +08:00
wing328
3385082e2c
Merge pull request #1201 from arnested/missing-head
...
Fix HEAD path item is missing.
2015-09-08 22:28:03 +08:00
wing328
2b1a63a7de
Merge pull request #1150 from ePaul/bugfix/1146-escape-line-breaks-in-response-description
...
jaxrs: escape line breaks in response description
2015-09-08 21:38:50 +08:00
wing328
93847d8dc7
Merge pull request #1149 from ePaul/feature/1146-do-not-escape-javadocs
...
jaxrs (and other Java generators): do not escape newlines in generated javadocs.
2015-09-08 21:17:14 +08:00
Arne Jørgensen
3514bf14b3
Fix HEAD path item is missing.
...
Fixes #1156 .
2015-09-08 10:00:17 +02:00
wing328
e215a1c87f
update dart permission
2015-09-08 11:38:01 +08:00
wing328
5bcd8fb207
Merge pull request #1199 from xhh/java-okhttp-gson
...
[Java okhttp-gson, Android] Set source and target compatibility to 1.7 in build.gradle
2015-09-08 11:31:38 +08:00
wing328
a8f7708789
Merge pull request #1198 from yissachar/dart
...
Add Dart support
2015-09-08 09:18:51 +08:00
wing328
26c0bfef7d
Merge pull request #1196 from wing328/typescript_basepath
...
[TypeScript] Fix base path
2015-09-07 21:57:23 +08:00
wing328
12190e0900
Merge pull request #1172 from xhh/ruby-apiclient
...
[Ruby] Implement API client structure for Ruby client
2015-09-07 21:56:59 +08:00
wing328
f340a389e9
Merge pull request #1182 from Helmsdown/cli-enhancements-2
...
Refactor codegen to support an "uber" meta model for user defined values
2015-09-07 21:55:50 +08:00
xhh
8b96cdb7d7
Set source/target compatibility in Android client
2015-09-07 16:35:34 +08:00
xhh
90307cafc6
Merge branch 'master' into java-okhttp-gson
2015-09-07 15:33:18 +08:00
Yissachar Radcliffe
58c5ecf13c
Generate auth files to correct location
2015-09-06 19:58:28 -04:00
Yissachar Radcliffe
e72a53448e
Add Dart support
2015-09-06 18:35:29 -04:00
wing328
90b89c6189
fix typescript basepath
2015-09-05 16:48:00 +08:00
wing328
ee1febcd95
Merge pull request #1188 from wing328/master
...
[NodeJS] fixed HTML-escaped description on nodejs json files
2015-09-05 15:44:16 +08:00
russellb337
6c079e95d9
Merge remote-tracking branch 'upstream/master' into cli-enhancements-2
2015-09-04 15:25:10 -07:00
russellb337
d22398eb73
put all values into dynamic properties map
2015-09-04 15:24:36 -07:00
wing328
30228dcca5
Merge pull request #1192 from SparrowJang/master
...
Python - response is empty object
2015-09-04 22:42:39 +08:00
wing328
2e30a3af27
Merge pull request #1189 from mad102190/feature/objc-response-headers
...
[Obj-C] Added ability to access HTTP Response headers
2015-09-04 16:42:25 +08:00
wing328
212d240316
Merge pull request #1190 from mad102190/fixes/objc-podspec-generation
...
[Obj-C][Cocoapods] Added extra CLI options to generate a valid podspec file.
2015-09-04 16:36:17 +08:00
sparrow.jang
ba701be2f2
fixed a empty object for response
2015-09-04 15:20:34 +08:00
SparrowJang
f6d624be2a
Merge pull request #2 from swagger-api/master
...
merge
2015-09-04 14:25:34 +08:00
Matthew Davis
f705e03fc4
changes to podspec.mustache to accept new params
2015-09-03 13:02:24 -07:00
Matthew Davis
75bb59572a
added extra CLI options required to generate a valid (lint-able) podspec file.
2015-09-03 12:54:25 -07:00
Matthew Davis
f067b86fa0
re-built sample objc-petstore
2015-09-03 12:31:30 -07:00
Matthew Davis
2822e9ea38
added support for retrieving HTTP response headers in obj-c. Also added a +sharedAPI class method for easy initialization of an API class without passing headers
2015-09-03 12:18:00 -07:00
russellb337
435ce7b9d5
make JsonAnySetter for dynamic properties "builder" style
2015-09-03 10:16:44 -07:00
russellb337
ab6118afe4
update default generator to skip generation of models that have import mappings defined
2015-09-03 08:24:33 -07:00
wing328
8ce06fc898
fix HTML-escaped description on nodejs json files
2015-09-03 22:38:19 +08:00
wing328
9e8e5db7b3
Merge pull request #1180 from ist-ltd/master
...
Support dots in output folder for C# generator
2015-09-03 22:26:38 +08:00
russellb337
44b5c22cd4
Merge remote-tracking branch 'upstream/master' into cli-enhancements-2
2015-09-02 09:28:58 -07:00
russellb337
6d7557971b
switch Generate to use CodegenConfigurator
2015-09-02 09:28:40 -07:00
Cameron
9af16c0d79
Support dots in output folder for C# generator
2015-09-02 13:36:35 +01:00
xhh
027e4c5a20
Set source and target compatibility to 1.7
...
in build.gradle to make it work with Android
2015-09-02 18:35:58 +08:00
wing328
c56d807a15
Merge pull request #1169 from boazsapir/master
...
Handle correctly the case of no default response (see comment in #1124 )
2015-09-02 18:03:02 +08:00
wing328
7d4ba27e01
Merge pull request #1162 from xhh/java-okhttp-gson
...
[Java] Add a new library template: okhttp-gson
2015-09-02 16:21:39 +08:00
Tony Tam
c8ed2b0d50
Merge pull request #1175 from swagger-api/feature/issue-1173
...
formatting, vendor extensions on operations
2015-09-02 00:02:20 -07:00
Tony Tam
1520ec536e
formatting, vendor extensions on operations
2015-09-01 23:34:29 -07:00
Tony Tam
e434380eae
Merge pull request #1174 from swagger-api/feature/issue-1173
...
Feature/issue 1173
2015-09-01 23:16:13 -07:00
Tony Tam
5940f46f56
added vendor extensions on parameters per #1173
2015-09-01 23:04:33 -07:00
xhh
7c60e2097f
Update API client initialization in Ruby test
2015-09-02 12:00:27 +08:00
xhh
fc7cffbab7
Merge branch 'master' into ruby-apiclient
...
Conflicts:
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/RubyClientCodegen.java
2015-09-02 11:46:53 +08:00
Tony Tam
b099d1e7a2
added configuration to superclass for overriding param reordering for #1171
2015-09-01 15:53:58 -07:00
b_sapir
31e8aca357
Handle correctly the case of no default response (see comment in #1124 )
2015-09-01 18:26:15 +03:00
wing328
d746894ecb
Merge pull request #1168 from xhh/bug-enum-constructor
...
Fix bug of hard-coded enum name in Java client
2015-09-01 22:56:04 +08:00
xhh
2c64e0893b
Fix bug of hard-coded enum name in Java client
2015-09-01 20:06:44 +08:00
xhh
3c79a692aa
Use a separate library for base64-encoding in the okhttp-gson template
2015-09-01 19:56:06 +08:00
wing328
72255286b3
Merge pull request #1144 from ePaul/bugfix/1143-add-nullcheck-for-allowedvalues
...
Add null check to fix issue #1143
2015-09-01 11:54:22 +08:00
xhh
3112e4ad06
Add build files for Gradle and SBT
2015-09-01 11:20:44 +08:00
russellb337
38b1e1aad7
Merge branch 'master' into cli-enhancements-2
2015-08-31 15:20:17 -07:00
wing328
dfb87abe3a
Merge pull request #1151 from ePaul/feature/1146-trim-whitespaces-before-escaping
...
trim strings before escaping
2015-08-31 22:21:38 +08:00
wing328
b96fdb6766
Merge pull request #1164 from ePaul/bugfix/1142-sanitize-api-name-for-spring-mvc
...
Issue #1142 : sanitize api name before camelizing.
2015-08-31 21:46:25 +08:00
wing328
369ceb634d
Merge pull request #1163 from ePaul/bugfix/1142-sanitize-file-name-for-models
...
Issue #1142 : sanitize the class name for Java model classes.
2015-08-31 21:44:28 +08:00
Paul Ebermann
92f9b33eb6
Issue #1142 : sanitize api name before camelizing.
...
This builds on #1139 in order to solve another part of #1142 :
When the first component of a path contained a dash, the generated class name contained this dash too (for the "language" spring-mvc).
2015-08-31 15:14:54 +02:00
Robin Eggenkamp
5b12379a07
Add missing NSDateFormatter
2015-08-31 15:04:37 +02:00
Robin Eggenkamp
39b4034958
Replace NSError by ErrorType
2015-08-31 15:03:56 +02:00
Robin Eggenkamp
28030cba19
Merge branch 'master' into swift-2.0
...
Conflicts:
modules/swagger-codegen/src/main/resources/swift/APIs.mustache
modules/swagger-codegen/src/main/resources/swift/AlamofireImplementations.mustache
modules/swagger-codegen/src/main/resources/swift/Cartfile.mustache
modules/swagger-codegen/src/main/resources/swift/Models.mustache
modules/swagger-codegen/src/main/resources/swift/Podspec.mustache
modules/swagger-codegen/src/main/resources/swift/api.mustache
2015-08-31 14:41:41 +02:00
Paul Ebermann
e0679c0b14
Issue #1142 : sanitize the class name for Java model classes.
...
This builds on #1139 , calling the new sanitizeName() method before camelizing it when generating model names.
2015-08-31 14:13:48 +02:00
xhh
2fd8b8ff16
Update help text of config options in README
2015-08-31 20:10:29 +08:00
xhh
e35be1bd40
Generate Java petstore sample for okhttp-gson
2015-08-31 19:59:17 +08:00
wing328
39ac64d24a
Merge pull request #1161 from wing328/upgrade_JMockit
...
Upgrade JMockit to 1.19
2015-08-31 18:55:38 +08:00
wing328
b846fa5c3e
update JMockit to 1.19
2015-08-31 18:44:01 +08:00
xhh
3c84847adb
Add a new library template to Java client: okhttp-gson
...
which uses OkHttp as HTTP library and Gson as JSON processing library
2015-08-31 18:42:09 +08:00
wing328
2b48ec072c
Merge pull request #1153 from wing328/csharp_fix_encode
...
[C#] Fix UrlEncode in API client
2015-08-31 12:42:48 +08:00
wing328
8114c416b9
Merge pull request #1139 from wing328/sanitize_name
...
Add function to sanitize name (1)
2015-08-30 22:46:58 +08:00
wing328
adee62da7d
Merge pull request #1138 from Helmsdown/cli-enhancements
...
Expose more configuration items in the CLI
2015-08-30 22:46:25 +08:00
cbornet
a207251b29
minor changes
...
removed gson version in pom and added a space between the parameters
2015-08-29 18:41:16 +02:00
cbornet
265de9654b
add authorizations to retrofit client
...
added basic auth, api key and oauth support to the service generator using okhttp interceptors
Fix #962
2015-08-29 18:14:33 +02:00
wing328
177436e69c
fix decode with encode
2015-08-29 22:43:22 +08:00
wing328
1331484a0f
fix urlencode in apiclient
2015-08-29 22:39:44 +08:00
geekerzp
4477009ef8
Handle special characters in parameter names in ruby client
2015-08-29 16:19:43 +08:00
Paul Ebermann
930c5191e0
Issue #1146 : trim string before escaping
...
This removes leading and trailing whitespace before escaping strings. This gets rid of annoying `\n` in some string literals (e.g. in annotations).
2015-08-28 19:56:37 +02:00
russellb337
5f811f3ba7
merge from upstream/master
2015-08-28 10:47:08 -07:00
Paul Ebermann
74bffbaadb
Issue #1146 : fix indentation in the generated API file.
2015-08-28 19:41:32 +02:00
Paul Ebermann
cdd104d3fb
Issue #1146 : escape the response description.
...
This prevents line breaks in string literals, which are not allowed in Java.
2015-08-28 19:39:01 +02:00
Paul Ebermann
be84f03d14
Issue #1146 : do not escape newlines in generated javadocs.
...
For this, we add a property `unescapedDescription` to CodegenModel + CodegenProperty, and use them for the Javadoc generation, while the annotation uses the escaped `description`.
2015-08-28 18:40:14 +02:00
wing328
28579cee03
Merge pull request #1135 from restlet/fix/nodejs_server_swagger_invalid_json
...
[Node.js] fix invalid JSON being generated in swagger.json
2015-08-28 18:31:39 +08:00
Paul Ebermann
32ffab4519
fix issue #1143 : add another null check.
...
The problem was trying to iterate over a null list.
2015-08-28 11:39:45 +02:00
wing328
e3c6cc3220
Merge pull request #1121 from Edubits/prevent-NPE
...
Fix possible NullPointerException
2015-08-28 16:05:20 +08:00
wing328
84346c0ba6
Merge pull request #1122 from F481/master
...
added some useful log/output messages and exception handling
2015-08-28 15:53:35 +08:00
russellb337
acbf3d3cc5
comment twak
2015-08-27 15:59:10 -07:00
russellb337
5c74146879
a few tweaks
2015-08-27 15:56:58 -07:00
russellb337
a59c128f90
curse you github desktop client for not refreshing when i want you to
2015-08-27 15:40:56 -07:00
russellb337
810bf58c3a
first draft of CodegenConfigurator
2015-08-27 15:40:33 -07:00
russellb337
724683fab0
Merge branch 'master' into cli-enhancements
2015-08-27 10:18:55 -07:00
russellb337
074ba1ea54
undo some of the debugging changes I made
2015-08-27 09:11:49 -07:00
wing328
9e5de7da5e
Merge pull request #1132 from geekerzp/python-configuration
...
[Python] Add option `verify_ssl` to switch SSL/TLS verification
2015-08-27 17:01:29 +08:00
wing328
50f6067831
add a case to handle space in name
2015-08-27 16:47:41 +08:00
wing328
9453967815
add function to sanitize name
2015-08-27 16:14:07 +08:00
F481
fc4fce3731
write processOperation debug output only if the debugOperations property is set
2015-08-27 08:06:24 +02:00
russellb337
d31013d977
remove reflections from parent pom
2015-08-26 18:50:29 -07:00
russellb337
ccf0cc8375
whoops, didn't mean to upgrade the minor version
2015-08-26 18:35:22 -07:00
russellb337
99ed012fc6
trying a new version of jetty
2015-08-26 18:31:29 -07:00
russellb337
8ba4a6d7ad
downgrade reflections version
...
I’m guessing
2015-08-26 18:25:23 -07:00
russellb337
60fddcf378
adding back imports that somewhere got deleted during reformatting
2015-08-26 17:55:02 -07:00
russellb337
cf5982d2c4
remove class comment
2015-08-26 17:51:19 -07:00
russellb337
1378976d37
merging upstream changes
2015-08-26 17:40:49 -07:00
russellb337
e5811ebdc7
expose more generate options in the cli
2015-08-26 17:38:51 -07:00
Hugo Wood
d434b7c440
fix invalid JSON being generated in swagger.json of Node.js server
2015-08-26 17:34:53 +02:00
wing328
8de9e23814
Merge pull request #1131 from wing328/csharp_fix_compilebat
...
[C#] fix invokerPackage with packageName in compile.mustache
2015-08-26 17:30:07 +08:00
wing328
b35a7b696e
Merge pull request #1127 from ivanmartinvalle/master
...
Add status code and response headers of the last request to java and c#
2015-08-26 17:27:34 +08:00
wing328
587028efd1
Merge pull request #1129 from geekerzp/objc-test
...
[Objc] Add test cases for sanitizeForSerialization method in objc client
2015-08-26 17:02:55 +08:00
wing328
af8d61cc02
Merge pull request #1130 from geekerzp/python-test
...
[Python] Add test cases for sanitize_for_serialization method in python client
2015-08-26 16:46:42 +08:00
wing328
1996aa9244
Merge pull request #1126 from xhh/java-enum-refactor
...
[Java] Support special characters in enum values
2015-08-26 16:41:56 +08:00
wing328
f79f8895c5
Merge pull request #1125 from wing328/php_param_name
...
[PHP] add camelCase support for variable naming
2015-08-26 09:49:08 +08:00
geekerzp
b3d28f07f1
Add option verify_ssl to switch SSL/TLS verification.
2015-08-25 17:58:14 +08:00
wing328
570a595ffb
fix invokerPackage with packageName in compile.mustache
2015-08-25 15:35:22 +08:00
geekerzp
568b7a4fcd
Add test cases for sanitize_for_serialization method in python client.
2015-08-25 15:04:46 +08:00
geekerzp
1b2f491b0e
Add tese case for sanitizing array of models in objc client.
2015-08-25 11:16:19 +08:00
geekerzp
eb21963fa5
Update test case testSanitizeForSerialization in objc client.
2015-08-25 10:51:03 +08:00
geekerzp
ab5483cd04
Add test cases for sanitizeForSerialization method in objc client.
2015-08-25 09:54:30 +08:00
Tony Tam
392e5172b5
changed default behavior for inflector to have unimplemented handlers
2015-08-24 17:26:26 -07:00
ivanmartinvalle
52dc7e210c
Add status code and response headers of the last request to java and csharp templates per #990
2015-08-24 18:35:06 -05:00
Tony Tam
15e336b90a
Merge pull request #1123 from wing328/python_typo
...
[Python] better wording for documentation
2015-08-24 07:18:42 -07:00
Tony Tam
698ed970dc
Merge pull request #1124 from boazsapir/binary
...
support binary input and output
2015-08-24 07:16:29 -07:00
wing328
a43d2163a0
add camelCase support for php variable naming
2015-08-24 21:53:28 +08:00
b_sapir
564dffa7e8
Merge remote-tracking branch 'origin/binary' into binary
...
Conflicts:
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/JavaClientCodegen.java
modules/swagger-codegen/src/main/resources/Java/ApiClient.mustache
modules/swagger-codegen/src/main/resources/Java/api.mustache
2015-08-24 16:15:18 +03:00
wing328
68f61d9a37
use snake_case instead of under_score
2015-08-24 21:11:52 +08:00
wing328
a7c08e680c
update python samples
2015-08-24 21:08:21 +08:00
wing328
2251a2f892
fix typo, update documentation for python lib
2015-08-24 21:08:21 +08:00
b_sapir
b0c776bbea
Support binary input and output - fix some merge problems
2015-08-24 15:59:58 +03:00
F481
3d89399b58
fixed syntax error
2015-08-24 14:28:13 +02:00
F481
0261121d78
added some useful log/output messages and exception handling
2015-08-24 14:04:50 +02:00
b_sapir
c177cf75d2
Support binary input and output (for body parameters or responses with type "string" and format "binary". Implemented for Java.
2015-08-24 15:04:10 +03:00
b_sapir
d4b4fe4b47
Support binary input and output (for body parameters or responses with type "string" and format "binary". Implemented for Java.
2015-08-24 14:33:15 +03:00
Robin Eggenkamp
e956495665
[Swift] Update to new Swift 2.0 syntax and Xcode 7
...
Note: configs with responseAs: “PromiseKit” won’t work yet
2015-08-24 12:27:33 +02:00
xhh
8408a97aef
Java: Support special characters in enum values
...
and use upper case for enum names
Conflicts:
samples/client/petstore/java/default/src/main/java/io/swagger/client/JSON.java
samples/client/petstore/java/default/src/main/java/io/swagger/client/model/Order.java
samples/client/petstore/java/default/src/main/java/io/swagger/client/model/Pet.java
2015-08-24 18:21:16 +08:00
Robin Eggenkamp
b3afbe73b9
[Swift] Add missing checks for usePromiseKit
2015-08-24 12:20:34 +02:00
Robin Eggenkamp
85aabbe810
Fix possible NullPointerException
...
getWrapped() returns a Boolean which can be null
2015-08-24 12:09:14 +02:00
Ron
3f8dbf416d
Update README.md
2015-08-24 11:20:51 +03:00
Ron
0e0bfde3a8
Update README.md
2015-08-24 11:20:30 +03:00
Tony Tam
29a2eedc1e
java8 tag fixes
2015-08-24 01:04:33 -07:00
Tony Tam
0d5c066605
fixed scalatest version
2015-08-24 01:04:28 -07:00
Tony Tam
6820179903
fixed scalatest version
2015-08-24 01:04:24 -07:00
Tony Tam
617fa43a89
updated development version
2015-08-24 00:52:35 -07:00
Tony Tam
dd67287d63
updated development version
2015-08-24 00:51:18 -07:00
Tony Tam
6aa66897aa
updated readme
2015-08-24 00:44:03 -07:00
Tony Tam
9b0ddd3a7f
Merge branch 'develop_2.0'
2015-08-24 00:39:03 -07:00
Tony Tam
ee05366d0b
updated README for release
2015-08-24 00:37:23 -07:00
Tony Tam
d048a68438
added sample
2015-08-24 00:33:26 -07:00
Tony Tam
9cc7615b71
rebuilt, updated versions
2015-08-24 00:32:58 -07:00
Tony Tam
dfb9d26c75
Merge branch 'wing328-fix_java_serialize' into develop_2.0
2015-08-24 00:03:31 -07:00
Tony Tam
715c0af41f
merged & rebuilt
2015-08-24 00:03:20 -07:00
Tony Tam
65829e5b6e
merged & rebuilt
2015-08-24 00:03:08 -07:00
Tony Tam
a3c7e22d55
Merge pull request #1116 from swagger-api/issue-1115
...
fixes for jaxrs codegen
2015-08-23 23:56:14 -07:00
Tony Tam
d8ceb8c648
enabled samples
2015-08-23 23:47:01 -07:00
Tony Tam
87f1ef4dc2
re-ordered
2015-08-23 23:46:54 -07:00
Tony Tam
7c2310a13f
updated to jersey 1.18.1, fixes for #1115
2015-08-23 23:34:35 -07:00
Tony Tam
6dcb8da2d8
altered to return inner type only
2015-08-23 23:33:55 -07:00
Tony Tam
a83f01ad60
made string safe
2015-08-23 23:33:27 -07:00
Tony Tam
6c1f7243bf
rebuilt
2015-08-23 23:29:53 -07:00
wing328
164ed99812
fix serializableModel (boolean)
2015-08-24 11:50:21 +08:00
Tony Tam
355cc88e0d
Merge pull request #1113 from swagger-api/issue-1112
...
moved file
2015-08-23 19:04:14 -07:00
Tony Tam
35ed412d1e
moved file
2015-08-23 18:58:46 -07:00
Tony Tam
a5190266b6
Merge pull request #1111 from swagger-api/revert-1029-jaxrs-server-codegen-improvements
...
Revert "fixed generated code to go to target/generated-sources, added…
2015-08-23 18:53:05 -07:00
Tony Tam
d51fe80138
Revert "fixed generated code to go to target/generated-sources, added maven-c…"
2015-08-23 18:28:42 -07:00
Tony Tam
ec9cdca7cb
Merge pull request #1109 from swagger-api/rebase-issue-838
...
update files as rebase from #838
2015-08-23 17:38:34 -07:00
Tony Tam
8a9f43b142
Merge pull request #910 from swagger-api/maven-plugin-configuration-improvements
...
Maven plugin configuration improvements
2015-08-23 17:33:55 -07:00
Tony Tam
0fc5702e4d
Merge pull request #1029 from swagger-api/jaxrs-server-codegen-improvements
...
fixed generated code to go to target/generated-sources, added maven-c…
2015-08-23 17:32:29 -07:00
Tony Tam
3390fae15b
Merge branch 'tiffanyperumpail-develop_2.0' into develop_2.0
2015-08-23 17:25:24 -07:00
Tony Tam
e19b883c89
Merge branch 'develop_2.0' of ssh://github.com/tiffanyperumpail/swagger-codegen into tiffanyperumpail-develop_2.0
2015-08-23 17:24:27 -07:00
Tony Tam
9531e1ae59
Merge branch 'Rogercf-support-to-array-of-enums' into develop_2.0
2015-08-23 17:22:44 -07:00
Tony Tam
3d38c41b0e
resolved merge issue
2015-08-23 17:22:34 -07:00
Tony Tam
718e1ff68a
Merge branch 'TobiasPfeifer-develop_2.0' into develop_2.0
2015-08-23 14:23:33 -07:00
Tony Tam
a6a9d743be
added template
2015-08-23 14:23:20 -07:00
Tony Tam
414de00894
fixed return type, rebuilt
2015-08-23 14:23:00 -07:00
Tony Tam
cc7366787f
Merge branch 'develop_2.0' of ssh://github.com/TobiasPfeifer/swagger-codegen into TobiasPfeifer-develop_2.0
2015-08-23 11:20:02 -07:00
Tony Tam
3486eecdfc
Merge branch 'xhh-library-template-jersey2' into develop_2.0
2015-08-23 11:10:12 -07:00
Tony Tam
66e6d4fb8a
rebuilt client
2015-08-23 11:10:04 -07:00
Tony Tam
f7dc066dec
merged
2015-08-23 11:09:47 -07:00
Tony Tam
3160913433
update files as rebase from #838
2015-08-23 11:05:19 -07:00
Ole Lensmar
e253fdea33
Merge branches 'develop_2.0' and 'jaxrs-server-codegen-improvements' of https://github.com/swagger-api/swagger-codegen into jaxrs-server-codegen-improvements
...
Conflicts:
modules/swagger-codegen/src/main/java/io/swagger/codegen/DefaultGenerator.java
2015-08-23 10:26:07 -04:00
Ole Lensmar
ac49d0dcdc
post-merge fixes
2015-08-23 09:37:28 -04:00
Ole Lensmar
b956d47a9d
Merge branches 'develop_2.0' and 'maven-plugin-configuration-improvements' of https://github.com/swagger-api/swagger-codegen into maven-plugin-configuration-improvements
...
Conflicts:
modules/swagger-codegen-maven-plugin/src/main/java/io/swagger/codegen/plugin/CodeGenMojo.java
2015-08-23 09:37:08 -04:00
wing328
f662699fd0
Merge pull request #1107 from wing328/php_fix_datetime
...
[PHP] Fixed deserialization for datetime object
2015-08-23 17:11:55 +08:00
wing328
1c1571cc3a
Merge pull request #1106 from geekerzp/python-query
...
[Python] Fix issue that missing query parameters in python client.
2015-08-23 17:11:19 +08:00
wing328
e13374e1df
Merge pull request #1105 from who/serializable_java_models
...
[Java] Adding an option so java models can implement Serializable
2015-08-23 17:10:57 +08:00
wing328
f2df26f6e6
fix deserializing datetime, add test case
2015-08-22 23:09:12 +08:00
xhh
569082743f
Remove the unused LibraryHelp command
2015-08-22 22:05:43 +08:00
xhh
595c01c537
Merge branch 'develop_2.0' into library-template-jersey2
...
Conflicts:
modules/swagger-codegen/src/main/resources/Java/JsonUtil.mustache
2015-08-22 21:53:04 +08:00
geekerzp
dc423cc11d
Fix issue that Mssing query parameters in python client.
2015-08-22 17:46:13 +08:00
Andrew B
4f25a0e6c5
adding an option so java models can implement Serializable
2015-08-21 18:36:03 -07:00
Tony Tam
0af29cc5cf
Merge pull request #1104 from swagger-api/issue-1103
...
added check, fix for #1103
2015-08-21 15:22:22 -07:00
Tony Tam
44b4af0374
added check, fix for #1103
2015-08-21 15:02:56 -07:00
Tony Tam
b68beefa69
Merge pull request #1101 from swagger-api/issue-1099
...
optional files are never written
2015-08-21 09:35:11 -07:00
Tony Tam
07162811a7
fix for #1099 , added file check
2015-08-21 08:56:22 -07:00
wing328
4023460f2e
Merge pull request #1096 from geekerzp/objc-param-to-str
...
[Objc] Sanitize request parameters in objc client
2015-08-21 22:22:17 +08:00
wing328
83bea6a0c5
Merge pull request #1095 from who/fix_issue_1089
...
[Java] Sanitize configurable package names (fixes #1089 )
2015-08-21 22:15:53 +08:00
wing328
d03f680c64
Merge pull request #1090 from geekerzp/python-keyword
...
[Python] Change reserved word handling in python client.
2015-08-21 21:51:32 +08:00
geekerzp
4189d0765b
Update api body template of objc client
2015-08-21 11:40:59 +08:00
geekerzp
6218ad139f
Fix issue that it will throw error if not pass optional form param in objc client.
2015-08-21 11:20:29 +08:00
geekerzp
b7cd38d38b
Update objc client.
...
Sanitize request parameters (path, query, header, form, body).
2015-08-21 09:42:31 +08:00
Andrew B
2b61305582
Fixing issue #1089
2015-08-20 14:16:10 -07:00
wing328
2057d0e144
Merge pull request #1068 from Helmsdown/add-generated-annotation
...
Add @Generated annotation to all generated Java templates
2015-08-20 17:45:17 +08:00
xhh
af2ec4cf85
Merge branch 'develop_2.0' into library-template-jersey2
...
Conflicts:
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/JavaClientCodegen.java
modules/swagger-codegen/src/main/resources/Java/api.mustache
2015-08-20 17:36:42 +08:00
wing328
9a239ad2a4
Merge pull request #1076 from DavidBiesack/static-html
...
improve static html; add template guards for collections.
2015-08-20 17:31:03 +08:00
wing328
a610fb5ac3
Merge pull request #1051 from who/develop_2.0
...
[Java] Fixing subClassed types so that they can use enums
2015-08-20 17:14:17 +08:00
Andrew B
fb4c62cc28
Fixing merge conflict in pom.xml
2015-08-19 23:08:49 -07:00
geekerzp
6d58d44542
Merge branch 'ruby-api-client' into ruby-apiclient
2015-08-20 11:34:07 +08:00
xhh
0e2e7838ae
Merge branch 'bug-fix-ruby-file-upload' into ruby-api-client
...
Conflicts:
modules/swagger-codegen/src/main/resources/ruby/swagger/request.mustache
samples/client/petstore/ruby/lib/petstore/swagger/request.rb
2015-08-20 11:24:33 +08:00
xhh
2e3f94c2a5
Add file used in test: hello.txt
2015-08-20 11:18:05 +08:00
xhh
e02a9f1797
Merge branch 'develop_2.0' into ruby-api-client
2015-08-20 11:10:25 +08:00
xhh
0d399d3f6a
Add spec for file uploading
2015-08-20 11:07:20 +08:00
xhh
030e45982c
Add back support of file uploading to Ruby client
2015-08-20 10:45:40 +08:00
geekerzp
894d571ea5
Change reserved word handling in python client.
...
* First, remove the beginning underscores.
* Then, append underscore if the var is reserved word or number.
2015-08-19 18:05:47 +08:00
wing328
dc1992ad45
Merge pull request #1081 from wing328/php_var_name_number
...
[PHP, Perl, Silex] fixed variable names starting with number, made LOGGER protected
2015-08-19 14:56:13 +08:00
geekerzp
7be6e971fa
Update api client of ruby client.
...
Update ApiClient#build_request, change `@verify_ssl`, `@ssl_ca_cert`, `@debugging`
to `Configuration.verify_ssl`, `Configuration.ssl_ca_cert`, `Configuration.debugging`.
2015-08-18 20:21:56 +08:00
wing328
c62fca8c54
Merge pull request #1079 from wing328/add_flash_generator
...
[Flash] Add back Flash generator
2015-08-18 20:04:53 +08:00
geekerzp
828f8694c8
Fix typo in ruby client
2015-08-18 16:13:32 +08:00
geekerzp
31d948fc16
Update readme of ruby client
2015-08-18 14:35:54 +08:00
geekerzp
a481db7486
Add configuration object in ruby client
2015-08-18 14:27:09 +08:00
wing328
5d52952ebd
Merge pull request #1077 from geekerzp/objc-apiclient
...
[Objc] Change the ApiClient initialization of objc client
2015-08-18 09:39:48 +08:00
wing328
c1fbf6bb1c
Merge branch 'php_var_name_number' of https://github.com/wing328/swagger-codegen into php_var_name_number
2015-08-17 14:40:12 +08:00
wing328
10cd672529
fix variable name starting with number, make LOGGER protected
2015-08-17 14:39:29 +08:00
wing328
52918d325e
Merge pull request #1082 from wing328/fix_pom_swagger_parser
...
update swagger-parser-version to 1.0.10 (removed snapshot)
2015-08-17 14:38:11 +08:00
wing328
8cff8fc55a
update swagger-parser-version to 1.0.10 (removed snapshot)
2015-08-17 14:27:33 +08:00
wing328
90d5ce228a
Merge pull request #1067 from Helmsdown/path-level-params
...
Codegen should honor path level parameters
2015-08-17 14:13:22 +08:00
wing328
d4ff25f0b3
fix variable name starting with number, make LOGGER protected
2015-08-17 10:43:03 +08:00
wing328
4163f07911
Merge pull request #1069 from geekerzp/python-httplib
...
[Python] Fix issues in python client
2015-08-16 15:03:16 +08:00
wing328
560fd5718d
Merge pull request #1074 from wing328/php_improve1
...
[PHP] minor improvements
2015-08-16 14:59:43 +08:00
wing328
97580a8c45
Merge pull request #1070 from wing328/objc_readme_update
...
[Objc] minor wording change for readme based on feedback from developers
2015-08-16 14:59:27 +08:00
wing328
aee72d97c3
Merge pull request #1080 from wing328/update_pomxml
...
Update swagger-core-version to 1.5.4-SNAPSHOT
2015-08-16 00:22:54 +08:00
wing328
49ad008d7c
update pom.xml
2015-08-16 00:14:24 +08:00
wing328
7a2c0a076a
update readme, change default value, update pom
2015-08-16 00:03:19 +08:00
wing328
365f4bc0c0
beta release of flash generator
2015-08-15 23:56:01 +08:00
wing328
3478e053e1
add back flash generator
2015-08-15 18:12:14 +08:00
geekerzp
75536868f2
Add default api client in configuration class in objc client
2015-08-14 17:54:41 +08:00
geekerzp
84e8ef489c
Update pom.xml
2015-08-14 11:55:22 +08:00
wing328
cffba0299a
update core to 1.5.4
2015-08-14 11:19:04 +08:00
geekerzp
a6c07a8364
Change api client pool pattern to singleton pattern in objc client
2015-08-14 09:47:02 +08:00
David Biesack
b14edffc79
improve static html; add template guards for collections. Update -core dependency
2015-08-13 13:46:32 -04:00
wing328
b971aa7433
add example to config option, replace localhost with basePath
2015-08-13 23:27:59 +08:00
wing328
bb4311b7a2
minor wording change for objc readme based on feedback from developers
2015-08-12 20:53:15 +08:00
geekerzp
1c0eb60c71
Fix issues in python client
2015-08-12 11:19:29 +08:00
russellb337
a0eeb90a97
fixing bug
2015-08-11 12:50:19 -07:00
russellb337
38fccbd73d
add @Generated to all Java class templates
2015-08-11 12:42:18 -07:00
russellb337
6fbb8ab1e0
add @Generated annotation to all Java class templates
2015-08-11 12:42:06 -07:00
russellb337
6044f0586e
removing unnecessary getTypeDeclaration implementation in JaxRSServerCodegen
2015-08-11 09:19:22 -07:00
wing328
84ff5cfc87
Merge pull request #1064 from RMarinaro/develop_2.0
...
fix for #1061 java
2015-08-11 21:33:08 +08:00
wing328
96be2b196b
Merge pull request #1037 from restlet/fix/nodejs_server_swagger
...
Fix swagger.json supporting file for the node.js server (fixes #652 )
2015-08-11 21:28:06 +08:00
Hugo Wood
d93b404b23
Fix swagger.json supporting file for the node.js server ( fixes #652 )
2015-08-11 14:37:00 +02:00
wing328
be63776162
Merge pull request #1063 from geekerzp/objc-deserialize-bool
...
[Objc] Fix deserialize bool value issue
2015-08-11 10:18:52 +08:00
russellb337
ae4b4979a7
add defensive null check
2015-08-10 13:58:02 -07:00
russellb337
0a8fb1e532
codegen should honor path level parameters
2015-08-10 13:50:52 -07:00
wing328
e78844cb54
Merge pull request #1043 from marcospri/develop_2.0
...
Support for nested lists/maps for the python client
2015-08-10 18:30:02 +08:00
Ryan Marinaro
2eb0c8cea6
added a fix for #1061 . The only problematic spot was the api.mustache file, although if more parameterized templates were to evolve in the other mustache files we could definitely add {{localVariablePrefix}} to those. For now I didn't want to add any extra noise to the template files which didn't need the prefixes.
2015-08-08 10:19:31 -04:00
geekerzp
2aaad03ab6
Fix the issue of bool deserialization in objc client
2015-08-08 15:13:13 +08:00
xhh
cb181e3480
Merge branch 'develop_2.0' into library-template-jersey2
2015-08-08 11:18:17 +08:00
xhh
b686b53259
Support overriding API/model templates with library template
2015-08-08 11:14:06 +08:00
wing328
f27eb7e0de
Merge pull request #1058 from xhh/str-response-offset
...
Fix bug with truncated lone string responses for Android/Scala clients
2015-08-08 11:10:02 +08:00
wing328
36b7fb20b2
Merge pull request #1059 from geekerzp/objc-auth
...
[Objc] Fix issue about authentication
2015-08-08 09:37:47 +08:00
Ron
f2ef21e756
Merge pull request #1062 from swagger-api/dependencies-version-update
...
Update pom.xml
2015-08-07 17:32:28 -04:00
Ron
e57f1de21f
Update pom.xml
2015-08-07 17:10:35 -04:00
xhh
a41361c959
Change the "--library" option into a config option
2015-08-07 22:16:32 +08:00
xhh
167e95bb3a
Merge branch 'develop_2.0' into library-template-jersey2
...
Conflicts:
modules/swagger-codegen/src/main/resources/Java/ApiClient.mustache
2015-08-07 21:18:27 +08:00
geekerzp
732a9eb64d
Fix issue in Configuration-body.mustache in objc client
2015-08-07 18:31:07 +08:00
xhh
c7f595fc91
Fix bug with truncated lone string responses for Android/Scala clients
2015-08-07 10:40:42 +08:00
Tony Tam
29e8a8f573
Merge pull request #1057 from who/fix_1056
...
Fixing a bug with truncated lone string responses
2015-08-06 17:38:54 -07:00
Andrew B
d5b959d8cd
Fixing a bug with truncated lone string responses
2015-08-06 16:54:24 -07:00
Andrew B
7a92f53b55
Adding some tests for PR 1051
2015-08-06 15:22:18 -07:00
tiffanyperumpail
4ac8a93022
Change swagger-parser-version to 1.0.9-SNAPSHOT
2015-08-06 11:29:59 -07:00
Marcos Prieto
cad2f961bd
Undo unicode on sanitize method. Keep the PR on point
2015-08-06 10:21:56 +02:00
tiffanyperumpail
5328c00e8f
Simplified enum by changing CodeGenStatus to an enum instead of a wrapper. Updated version of swagger-parser to 1.0.9.
2015-08-05 16:53:39 -07:00
tiffanyperumpail
1b31a01b76
Added CodeGenStatus class with Status enum
2015-08-05 16:18:24 -07:00
Andrew B
c67a6582fc
Bumping the version of swagger-parser to 1.0.9
2015-08-05 15:58:54 -07:00
Andrew B
dc76887820
Fixing subClassed types so that they can use enums
2015-08-05 15:50:34 -07:00
xhh
4321339d4f
Java petstore sample: move to "default" sub-folder, add jersey2
2015-08-05 17:28:45 +08:00
xhh
07f10a8abc
Add command to display all library templates supported
...
for a specific language
2015-08-05 16:37:08 +08:00
xhh
4ba521a5c0
Add jersey2 library template for Java client
2015-08-05 15:37:26 +08:00
xhh
d88ec847ae
Remave unused imports
2015-08-05 09:43:15 +08:00
xhh
7c16dfcf13
Rebuild Java petstore sample
2015-08-04 18:36:03 +08:00
xhh
aff21e5e6b
Add a "library" option to generate with sub-template
2015-08-04 18:32:54 +08:00
Marcos Prieto
befacc41bd
Support for nested dict/list
...
Checking for `startwith` instead of just `in` to correctly categorize
nested structures.
2015-08-04 11:51:38 +02:00
Marcos Prieto
edebbcb802
Support for unicode headers, ie support for urlib3.util.make_headers
2015-08-04 11:51:25 +02:00
xhh
bfb4629ab7
Java client: decouple JSON handling
2015-08-04 15:47:55 +08:00
Tony Tam
1007534575
fix for #1042 , removed empty / when basePath is null
2015-08-03 16:47:51 -07:00
Rogercf
97d24a7119
Update DefaultCodegen.java
...
Fixed indentation
2015-08-03 19:50:29 -03:00
Rogercf
13038d2a12
Update DefaultCodegen.java
...
Replaced hardcoded "String" with property.items.baseType
2015-08-03 19:46:10 -03:00
Rogercf
c5dc070685
Update model.mustache
...
Fixed generating array of enums properties in the java template
2015-08-03 19:21:54 -03:00
Rogercf
a30b66beb1
Update DefaultCodegen.java
...
Setting the "items" field when the type is array and updating some values if the array is an array of enums
2015-08-03 19:20:51 -03:00
Rogercf
aff766b785
Update CodegenProperty.java
...
Added a "items" field to keep track of the inner type to be accessed in the mustache templates
2015-08-03 19:19:10 -03:00
xhh
112a7ec8c1
Java client: move form params handling to ApiClient
2015-08-03 18:33:42 +08:00
wing328
55be0330e3
Merge pull request #1039 from geekerzp/python-desciption
...
[Python] Fix issue in python client
2015-08-03 10:48:56 +08:00
wing328
fe83d18a09
Merge pull request #1026 from geekerzp/objc-deserializtion
...
[Objc] Fix deserialize nested map error
2015-07-31 16:17:11 +08:00
wing328
a6f8f9e4ff
Merge pull request #1017 from herveDarritchon/develop_2.0
...
Defect (Issue #905 ) : Add code to be able to override the configPackage …
2015-07-31 16:05:17 +08:00
geekerzp
79c988616c
Fix issue #1038
2015-07-31 16:01:45 +08:00
wing328
dc62f688d9
Merge pull request #1015 from tandrup/conditional-copy-from-parent
...
Conditional copy properties from parent
2015-07-31 15:56:48 +08:00
wing328
db10bd764b
Merge pull request #1036 from wing328/csharp_add_back_dll
...
[C#] add back RestSharp and Newtonsoft.Json DLL
2015-07-31 15:56:21 +08:00
wing328
92208b4ec2
Merge pull request #987 from xhh/retrofit-form-field-naming
...
Retrofit: fix form field naming by using baseName
2015-07-31 09:09:09 +08:00
xhh
0ef4702aa8
Merge branch 'develop_2.0' into retrofit-form-field-naming
...
Conflicts:
samples/client/petstore/retrofit/src/main/java/io/swagger/client/api/PetApi.java
2015-07-30 16:40:43 +08:00
wing328
cc358cf9ce
Merge pull request #1032 from xhh/retrofit-string-resp
...
Retrofit template: return body string directly when failed to parse response body as JSON
2015-07-30 15:58:05 +08:00
xhh
a1e6908b65
Merge branch 'develop_2.0' into retrofit-string-resp
2015-07-30 15:02:02 +08:00
xhh
2d4c07a474
Fix typo
2015-07-30 15:01:51 +08:00
wing328
05f00013f1
add back csharp dll, update sample
2015-07-30 10:19:46 +08:00
wing328
bc528ef928
Merge pull request #1027 from adamholdenyall/patch-3
...
Catch all exceptions on Deserialize
2015-07-30 10:06:32 +08:00
Tony Tam
318a239976
Merge pull request #1031 from Toilal/pom-issues
...
Fix issues in POM configuration
2015-07-29 07:35:05 -07:00
Toilal
189962208e
Update scala maven plugin and fix issues in POM configuration
2015-07-29 15:15:12 +02:00
wing328
bd28271b0b
Merge pull request #1019 from geekerzp/python-refactor
...
[Python] Enhancements of python client
2015-07-29 17:39:58 +08:00
xhh
14b808a910
Retrofit template: return body string directly
...
when failed to parse response body as JSON, fixing unit test for
UserApi#loginUser
2015-07-29 17:10:49 +08:00
wing328
d345f8fae3
Merge pull request #967 from moander/feature/docker
...
Docker build script and Dockerfile
2015-07-29 15:36:08 +08:00
Ole Lensmar
26336356cf
added generated samples for jaxrs and inflector
2015-07-28 14:56:23 -07:00
Ole Lensmar
9c3fad3040
fixed generated code to go to target/generated-sources, added maven-codegen-plugin to generated jaxrs project together with initial swagger definition, fixed overwrite flag to kick in only if file exists, fixed initial readme
2015-07-28 14:40:43 -07:00
moander
d396a0a0e4
Friendly error message when project is not built
2015-07-28 22:48:18 +02:00
Tony Tam
dc7c2a4bab
updated name
2015-07-28 13:35:33 -07:00
Tony Tam
0b85ad464a
Merge pull request #1028 from swagger-api/inflector-template
...
added template for the inflector
2015-07-28 10:31:40 -07:00
Ole Lensmar
c5d02fe98e
added template for the inflector
2015-07-28 10:19:36 -07:00
adamholdenyall
a81e5096f5
Catch all exceptions on Deserialize
...
If you look at the source of NewtonSoft.Json, you'll see that DeserializeObject never throws an IOException. All exceptions should be caught in this method, just like Serialize.
2015-07-28 09:53:10 -05:00
wing328
52971e6aa9
Merge pull request #1018 from wing328/fix_empty_operationid
...
[All] Better exception handling for empty operationId (method name)
2015-07-28 17:39:19 +08:00
geekerzp
b2e0d83f2e
Update objc client.
...
* Fix issue that list of primitive types deserialization.
* Add test cases for list of primitive types deserialization and nested list deserialization.
2015-07-28 17:21:10 +08:00
geekerzp
2be3414357
Update python client.
...
Add test case for nested list deserialization.
2015-07-28 15:23:44 +08:00
geekerzp
ea901bf1ce
Update python client.
...
Add test case for nested dict deserialization.
2015-07-28 14:34:50 +08:00
geekerzp
8bd282acd6
Change parameter name key to identifier of
...
Configuration#get_api_key_with_prefix in python client.
2015-07-28 11:25:19 +08:00
geekerzp
b51ef77401
Remove #!/usr/bin/env python from python client
2015-07-28 11:25:19 +08:00
geekerzp
3265ec0f72
Refactor python client.
2015-07-28 11:25:19 +08:00
wing328
732e645042
Merge pull request #1022 from SparrowJang/develop_2.0
...
fixed a error rule for parsing `)`
2015-07-28 11:15:28 +08:00
geekerzp
cc45ff17cb
Fix deserialize nested map error in objc client
2015-07-28 10:51:20 +08:00
wing328
b843b55339
Merge pull request #1001 from who/csharp_dotnet2_template
...
C# .Net 2.0 generator and template
2015-07-28 09:32:03 +08:00
Sparrow.jang
75711f954b
fixed a bug for parsing ) error
2015-07-27 18:50:32 +08:00
SparrowJang
d0b5af31a5
Merge pull request #1 from swagger-api/develop_2.0
...
Develop 2.0
2015-07-27 18:47:40 +08:00
wing328
c01c06b198
Merge pull request #1004 from mhardorf/conf-file-maven-plugin
...
Add support for specifying configuration file in maven plugin
2015-07-27 18:30:09 +08:00
Mads Mætzke Tandrup
586f4c14e1
Merge remote-tracking branch 'upstream/develop_2.0' into conditional-copy-from-parent
...
# Conflicts:
# modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/TypeScriptNodeClientCodegen.java
2015-07-27 11:30:47 +02:00
wing328
fe0e43f963
Merge pull request #1012 from tandrup/combine-ts-node
...
Combine TypeScript Node output and beautify Angular output
2015-07-27 17:24:34 +08:00
wing328
47abfe7079
Merge pull request #1014 from 2rs2ts/module-generation-readme-path-fix
...
Fix path in instructions for making your own codegen modules
2015-07-27 17:12:13 +08:00
Mads Mætzke Tandrup
d0a3def441
Adding npm run clean command to clean the sample dir
2015-07-27 11:02:38 +02:00
xhh
7af5db3565
Rebuild Ruby petstore sample
2015-07-27 16:37:26 +08:00
xhh
47c8597d36
Ruby: move request/response logic to api_client
2015-07-27 16:34:51 +08:00
Mads Mætzke Tandrup
64f2e85608
Update TypeScript angular sample
2015-07-27 10:20:55 +02:00
Mads Mætzke Tandrup
09ccf12a3b
Update Typescript node samples
2015-07-27 10:19:12 +02:00
Mads Mætzke Tandrup
fde5c60cb0
Support authentication from swagger in TypeScript Node
2015-07-27 10:18:38 +02:00
Mads Mætzke Tandrup
b18cc5e0de
Include header parameters
2015-07-27 10:13:36 +02:00
wing328
6d8dea5dfc
better exception handling for empty method name
2015-07-27 12:07:35 +08:00
wing328
a8f580032f
fix empty operationId in java codegen
2015-07-27 11:39:37 +08:00
wing328
d0baa48fcd
fix empty operationId
2015-07-27 11:21:51 +08:00
wing328
31200acc1a
Merge pull request #998 from geekerzp/objc-date
...
[Objc] Enhancements of objective-c client
2015-07-27 10:41:42 +08:00
xhh
5bfae7b78c
Ruby: use a default ApiClient when not provided
2015-07-27 10:32:51 +08:00
geekerzp
3b9b3e82f9
Update comments in objc client
2015-07-27 10:29:27 +08:00
wing328
783a4c0572
Merge pull request #1016 from ngs/swift-podspec-version
...
[Swift] Add version to Podspec template
2015-07-27 08:33:44 +08:00
wing328
9ce824d720
Merge pull request #1007 from ngs/swift-alamofire-1.3.0
...
[Swift] Support file upload with Alamofire 1.3.0
2015-07-27 08:29:34 +08:00
Mads Mætzke Tandrup
dee828622a
Test file upload in sample client
2015-07-26 14:26:01 +02:00
Hervé Darritchon
5c0ae7babe
Defect (PR #905 ) : Add code to be able to override the configPackage in the spring mvc template.
2015-07-26 12:11:29 +02:00
Mads Mætzke Tandrup
02da80e837
Update sample with small test script
2015-07-26 08:22:32 +02:00
Mads Mætzke Tandrup
e41a475335
Update typescript node sample
2015-07-25 22:05:43 +02:00
Mads Mætzke Tandrup
fea8e680df
Fix TypeScript node file upload
2015-07-25 22:05:29 +02:00
Mads Mætzke Tandrup
b0f6b49595
Fix TypeScript Map type
2015-07-25 22:02:06 +02:00
Atsushi Nagase
b56da43953
[Swift] Add version to Podspec template
2015-07-26 03:19:33 +09:00
Atsushi Nagase
979a704310
[Swift] Update Alamofire to 1.3 in Podspec
2015-07-26 03:01:11 +09:00
Atsushi Nagase
5dcdadb751
[Swift] tweak conditions
...
336bb87b53 (commitcomment-12318006)
2015-07-26 02:59:43 +09:00
Atsushi Nagase
f98974190e
[Swift] Support file upload with Alamofire 1.3.0
...
refs:
- https://github.com/Alamofire/Alamofire/milestones/1.3.0
- https://github.com/Alamofire/Alamofire/pull/539
2015-07-26 02:59:43 +09:00
wing328
6719a6cc74
Merge pull request #1013 from SparrowJang/develop_2.0
...
added a utf8 declaration to fix #1011 issue
2015-07-25 23:15:04 +08:00
Mads Mætzke Tandrup
3f9b2a9678
Adding build system for typescript AngularJS sample
2015-07-25 14:11:10 +02:00
Mads Mætzke Tandrup
bbf0ce8c80
Adding README for sample
2015-07-25 13:57:45 +02:00
Mads Mætzke Tandrup
9fc8c770d3
Adding build system for poetaster typescript node sample
2015-07-25 13:55:30 +02:00
wing328
8f2c99f0af
Merge pull request #1005 from mhardorf/sort-by-inheritance
...
Sort model objects by inheritance
2015-07-25 18:18:29 +08:00
Mads Mætzke Tandrup
81f5cc47e7
Rename property to be more language specific
2015-07-25 12:03:17 +02:00
wing328
db37c02ebd
Merge pull request #1010 from onovy/develop_2.0
...
[Python] Allow to set cookie in python(3) API constructor.
2015-07-25 17:03:11 +08:00
wing328
fc71b23464
Merge pull request #1006 from ngs/podspec
...
[Swift] Add podspec template
2015-07-25 16:46:13 +08:00
Mads Mætzke Tandrup
e924cec595
Conditional copy properties from parent.
...
Pull request #946 broke the TypeScript generation with inheritance where a superclass defined an enum. This makes it up to each language to decide the behavior appropriate for the language.
2015-07-25 07:45:08 +02:00
Andrew Garrett
90f152da75
Fix path in instructions for making your own codegen modules
2015-07-24 11:44:30 -07:00
Sparrow.jang
713ae4a957
added a utf8 declaration to fix #1011 issue
2015-07-24 22:40:24 +08:00
Ondrej Novy
50736458d0
Allow to set cookie in python(3) API constructor.
2015-07-24 11:48:43 +02:00
Mads Mætzke Tandrup
34b341874c
Include api and model package in angular
2015-07-24 11:05:36 +02:00
Mads Mætzke Tandrup
7a1f3dbf9e
Fix angular output to go to one dir to make it build
2015-07-24 10:23:07 +02:00
Mads Mætzke Tandrup
3723a9ba2d
Updating typescript samples
2015-07-24 10:22:41 +02:00
Mads Mætzke Tandrup
bc8eae838c
Beautify typescript angular output
2015-07-24 10:14:42 +02:00
Mads Mætzke Tandrup
88ed496b44
Extract abstract class for TypeScript generators
2015-07-24 10:03:02 +02:00
Mads Mætzke Tandrup
646da19c7d
Combine TypeScript node output in one file and add missing require statements
2015-07-24 09:48:49 +02:00
Atsushi Nagase
80b5363202
[Swift] add cliOptions for podspec
...
```
podSource
Source information used for Podspec
podVersion
Version used for Podspec
podAuthors
Authors used for Podspec
podSocialMediaURL
Social Media URL used for Podspec
podDocsetURL
Docset URL used for Podspec
podLicense
License used for Podspec
podHomepage
Homepage used for Podspec
podSummary
Summary used for Podspec
podDescription
Description used for Podspec
podScreenshots
Screenshots used for Podspec
podDocumentationURL
Documentation URL used for Podspec
```
2015-07-24 16:27:28 +09:00
Atsushi Nagase
071fc2ded6
[Swift] Add podspec template
2015-07-23 22:22:45 +09:00
Martin Hardorf
992b0c7e5e
Sort model objects by inheritance
2015-07-23 13:11:53 +02:00
Martin Hardorf
037f59d0df
Add support for specifying configuration file in maven plugin
2015-07-23 13:10:59 +02:00
geekerzp
5a235c642a
Update comments of objc client
2015-07-23 18:03:19 +08:00
geekerzp
08ea05f7a1
Update objc client.
...
* Add comments in SWGConfiguration.h
* Change `Date` to `date` in ObjcClientCodegen.java
* Update comments in model body template
2015-07-23 16:03:38 +08:00
Andrew B
e301d9d00e
Adding sample generator and output
2015-07-22 11:31:29 -07:00
Andrew B
8a399ee1cb
Renaming the C# .net 2.0 to be more generic
2015-07-22 11:13:13 -07:00
Andrew B
4e5b9e4af3
Renaming the C# .net 2.0 to be more generic
2015-07-22 11:13:08 -07:00
geekerzp
37c79525f7
Update model body template in objc client.
...
* Add some comments.
2015-07-22 18:31:50 +08:00
geekerzp
f9ad16e7aa
Update objc client.
...
* Add test cases for deserialization.
* Pretty print model infomation.
2015-07-22 17:45:31 +08:00
wing328
cde8d7ba4c
Merge pull request #984 from geekerzp/python-enum
...
[Python] Support enum for model property
2015-07-22 16:48:34 +08:00
xhh
a75b05b952
Update tests with latest code
2015-07-22 16:02:18 +08:00
geekerzp
bd6fa6a2e4
Update PetApiTests#test_find_pet_by_tags test case of python client
2015-07-22 15:50:40 +08:00
xhh
609d915541
Rebuild Ruby petstore sample
2015-07-22 15:39:48 +08:00
xhh
948cdb3a75
Done with API client structure for Ruby client
2015-07-22 15:37:29 +08:00
geekerzp
b9287cf417
Add to_str method in python client and add test cases.
2015-07-22 11:00:51 +08:00
Andrew B
df93ca80f7
Fixing an issue that was causing incorrect JSON key names
2015-07-21 15:49:37 -07:00
Andrew B
0247f0774d
Updating the mono compile script to target .net 2
2015-07-21 11:12:17 -07:00
wing328
37dbd6e4cd
Merge pull request #992 from who/develop_2.0
...
[C#] Fixing a mono compilation error
2015-07-21 21:43:06 +08:00
wing328
34db9814d8
Merge pull request #994 from wing328/fix_swagger_parser_version
...
Fix compilation error with a newer swagger parser
2015-07-21 17:39:24 +08:00
xhh
4ecc757bea
More on API client structure for Ruby client
2015-07-21 17:07:41 +08:00
wing328
cf7082c2e6
fix swagger parser version to use 1.0.9-SNAPSHOT
2015-07-21 16:54:14 +08:00
wing328
6b4f810fec
Merge pull request #981 from Edubits/develop_2.0
...
[Swift] Support use in Framework
2015-07-21 16:35:36 +08:00
Tony Tam
f7a07f72b8
added resolve option for #903
2015-07-20 23:31:49 -07:00
Andrew B
a6012ecf41
Initial commit of the Unity3D C# .net 2.0 generator
2015-07-20 23:26:59 -07:00
Andrew B
0b7b57bf4d
[C#] Fixing a mono compilation error
2015-07-20 21:22:49 -07:00
wing328
498a400d4e
Merge pull request #988 from wing328/csharp_update_unit_test
...
[C#] Updated unit test and minor change to conform style guide
2015-07-21 12:08:15 +08:00
wing328
405e5a7a35
Merge pull request #946 from xhh/model-all-of
...
Copy properties from parent models defined with allOf
2015-07-21 11:41:24 +08:00
xhh
3de42afed3
Implement API client structure for Ruby client
2015-07-21 11:37:46 +08:00
wing328
f1304022b0
Merge pull request #852 from tomtit/issue837
...
Fixed #837 : Generation of default values for complex arrays and maps has been improved.
2015-07-21 11:28:43 +08:00
wing328
fc7f2a92d0
Merge pull request #878 from lugaru1234/issue798
...
Fixed #798 : original jar generation has been fixed.
2015-07-20 21:50:51 +08:00
wing328
27113cf326
Merge pull request #859 from lugaru1234/issue831
...
Fixed #831 : skipOverwrite flag has been added
2015-07-20 21:14:33 +08:00
wing328
7179c15158
Merge pull request #966 from wing328/nodejs_fix_summary
...
[NodeJS] Add back summary and description to the endpoint definition
2015-07-20 11:12:15 +08:00
wing328
ba72e7344a
remove nuget pacakges
2015-07-20 10:48:20 +08:00
wing328
596bde2ef6
remove leading space for path variable, update unit test
2015-07-20 10:43:08 +08:00
wing328
a863e538a8
Merge pull request #943 from psmay/develop_2.0-RestSharp-path-params
...
[C#] Use RestSharp's mechanism for path parameters in URL templates
2015-07-20 10:16:01 +08:00
xhh
a134b5ca76
Retrofit: fix form field naming by using baseName
2015-07-20 10:12:36 +08:00
Peter S. May
1f7664f81e
Fixed case typo in previous edit.
2015-07-18 19:38:20 -04:00
geekerzp
68820e5a80
Update comments of api template of python client
2015-07-18 15:54:00 +08:00
geekerzp
195c71da37
Update comments of python client
2015-07-18 15:35:12 +08:00
geekerzp
ddfa713f55
Update wording of comment in api template of python client
2015-07-18 15:22:39 +08:00
geekerzp
c9889c5baf
Update api template of python client
2015-07-18 15:03:55 +08:00
geekerzp
60d6cd744a
Format python client using pep8
2015-07-18 14:30:19 +08:00
Peter S. May
1072c9d017
Merge remote-tracking branch 'upstream/develop_2.0' into develop_2.0-RestSharp-path-params
...
Conflicts:
modules/swagger-codegen/src/main/resources/csharp/ApiClient.mustache
modules/swagger-codegen/src/main/resources/csharp/api.mustache
2015-07-17 21:45:54 -04:00
Peter S. May
4bc4a8aed1
WIP pre-adding new sources for ApiClient and api
2015-07-17 21:09:05 -04:00
Robin Eggenkamp
0ad7005547
[Swift] Add support for basic form data
2015-07-16 17:56:20 +02:00
geekerzp
3993ef3dc8
Update python codegen.
...
Remove leading underscore.
2015-07-16 18:58:23 +08:00
geekerzp
8746f1544b
Merge branch 'develop_2.0' into python-enum
2015-07-16 17:27:17 +08:00
geekerzp
f0e09ae33a
Add enum support for model property of python client
2015-07-16 17:24:42 +08:00
wing328
e879268043
Merge pull request #941 from geekerzp/develop_2.0_python_async
...
[Python] Support asynchronous request in python client
2015-07-16 10:47:02 +08:00
geekerzp
33561fa159
Support date type in python client
2015-07-16 10:11:27 +08:00
Robin Eggenkamp
78760907a5
[Swift] Support use in a Framework
...
To support use in a Framework set access level of relevant classes,
methods and members to public
2015-07-15 18:22:36 +02:00
Robin Eggenkamp
30eb1f1075
Fix bug in api name placeholder
2015-07-15 18:20:05 +02:00
wing328
5c9afbafb2
Merge pull request #918 from geekerzp/develop_2.0_objc_issue
...
[Objc] Enhancements and Issue fix
2015-07-15 18:20:40 +08:00
geekerzp
0092d8a63b
Update unit tests of objc client
2015-07-15 18:11:04 +08:00
wing328
3c6f07cbe3
Merge pull request #975 from wing328/sinatra_fix_tag
...
[Sinatra] Fixed outdated tag in mustache template
2015-07-15 17:50:25 +08:00
geekerzp
95cb5f73a3
Remove SWGFile from objc client
2015-07-15 17:10:24 +08:00
geekerzp
02f6c805af
Update integration test of objc client
2015-07-15 17:10:24 +08:00
geekerzp
13d74f01a2
Add logging in objc client
2015-07-15 17:10:24 +08:00
geekerzp
8877be82f0
Update api-body.mustache of objc client
2015-07-15 17:10:24 +08:00
geekerzp
a25d3f2543
Update README file of objc client
2015-07-15 17:10:23 +08:00
geekerzp
3f017af464
Update objc client.
...
Replace SWGFile with NSURL.
2015-07-15 17:10:23 +08:00
geekerzp
0e56d0d1c6
Support file downloading in Objc codegen.
2015-07-15 17:10:23 +08:00
geekerzp
f48a7f20e6
Update config-help of objc cli
2015-07-15 17:10:23 +08:00
geekerzp
9a15ced211
Supoort customize classPrefix in objc client.
2015-07-15 17:10:23 +08:00
geekerzp
e244d20152
Remove lib files.
2015-07-15 17:10:23 +08:00
geekerzp
412b6b3839
Update objc client.
...
* Package objc client using cocoapods.
* Support cli options.
2015-07-15 17:08:45 +08:00
geekerzp
0a652a3d13
Fix issue#896 https://github.com/swagger-api/swagger-codegen/issues/896
2015-07-15 17:08:44 +08:00
geekerzp
4d302683f3
Update logging of python client
2015-07-15 15:58:45 +08:00
geekerzp
517717958d
Update doc string of RESTClientObject#agent method of python client
2015-07-15 15:27:15 +08:00
geekerzp
b42ead3c0f
Replace urllib3.util.url.parse_url with urllib3.util.parse_url
2015-07-15 15:27:14 +08:00
geekerzp
8a3c64aa41
Add logging and debug report for python client.
2015-07-15 15:27:14 +08:00
geekerzp
d97b0984cb
Update ApiClient of python client.
...
Add docstring for method call_api.
2015-07-15 15:25:32 +08:00
geekerzp
0e8cf70dc4
Fix typo
2015-07-15 15:25:32 +08:00
geekerzp
88e5860d9b
support asynchronous request in python client
2015-07-15 15:25:31 +08:00
wing328
157b07e552
Merge pull request #912 from gabrielar/develop_2.0-pull-requests/add-pathPrefix-key-to-operations
...
Add a `pathPrefix` key to the `operations` key
2015-07-15 10:26:13 +08:00
wing328
1f097ee1a1
Merge pull request #977 from who/develop_2.0
...
[PHP] Support for customizing namespace and Composer fields
2015-07-15 10:06:26 +08:00
wing328
7a5fd24785
Merge pull request #979 from xhh/auth-methods-fix
...
Fix NullPointerException for authMethods
2015-07-15 09:50:53 +08:00
wing328
59258be3dd
Merge pull request #978 from tkQubo/fix/swift_bug
...
[Swift] Fix a bug
2015-07-15 09:42:39 +08:00
xhh
e5bdb3a0c1
Fix NullPointerException for authMethods
2015-07-15 09:21:09 +08:00
wing328
dd35c672f0
Merge pull request #935 from geekerzp/python-file-response
...
[Python] Support file downloading for Python API client
2015-07-14 17:45:11 +08:00
geekerzp
18ea21087f
Update README file of python client
2015-07-14 17:34:38 +08:00
geekerzp
746a55be73
Update README file of python client
2015-07-14 17:15:24 +08:00
wing328
7242a664e3
Merge pull request #923 from xhh/ruby-debug
...
[Ruby] Some improvements & cleaning-up on Ruby API client
2015-07-14 16:34:41 +08:00
geekerzp
9f76acbbd7
Update README file of python client
2015-07-14 15:42:01 +08:00
geekerzp
af67353022
Update integration test of python client
2015-07-14 15:38:23 +08:00
kubo_takaichi
ecf4082d68
Fix bug in api name placeholder and api url
2015-07-14 13:41:28 +09:00
wing328
5821e41185
Merge pull request #927 from wing328/csharp_file_response
...
[C# ] Add file response
2015-07-14 12:34:51 +08:00
xhh
822e640e0a
Merge branch 'develop_2.0' into ruby-debug
...
Conflicts:
modules/swagger-codegen/src/main/resources/ruby/swagger/configuration.mustache
modules/swagger-codegen/src/main/resources/ruby/swagger/request.mustache
samples/client/petstore/ruby/lib/petstore/swagger/request.rb
samples/client/petstore/ruby/lib/swagger_client.rb
samples/client/petstore/ruby/lib/swagger_client/swagger/configuration.rb
2015-07-14 12:33:17 +08:00
geekerzp
30925b7800
Update pom.xml of python client
2015-07-14 10:28:36 +08:00
geekerzp
bb570d7efa
Update integration-test of python client
2015-07-14 09:43:59 +08:00
geekerzp
c88c85a317
Enhancements intergration-test of python client
2015-07-14 09:39:19 +08:00
geekerzp
23dfac0194
Update deserialization of python client.
...
Return None if deserialize data is None.
2015-07-14 09:39:19 +08:00
geekerzp
b99f006861
Update Python client.
...
Throw ApiException if fail to parse string to datetime.
2015-07-14 09:39:19 +08:00
geekerzp
80d1deb2dd
Update unit tests of Python client.
...
Add more test cases for deserialization.
2015-07-14 09:39:19 +08:00
geekerzp
2912ee8ae1
Update deserialize response of Python client.
2015-07-14 09:39:18 +08:00
geekerzp
6df6c079ee
Support file downloading in Python codegen.
2015-07-14 09:39:18 +08:00
Andrew B
f4226474e2
Updating command-line parameter description for artifactVersion
2015-07-13 15:02:14 -07:00
Andrew B
b70a0bf0c6
Fixing an issue with errant namespace in the sample petstore
2015-07-13 14:56:33 -07:00
Andrew B
7dca394eca
Support for customizing Composer package and namespaces
2015-07-13 14:46:56 -07:00
wing328
80303b524d
Merge pull request #884 from xhh/params-order
...
Make sure "required" parameters are placed in front of "optional" parameters
2015-07-13 17:51:22 +08:00
wing328
6e7c70f247
fix sinatra outdated tag, use version tag
2015-07-13 17:43:18 +08:00
xhh
715c56afcc
Rebuild petstore PHP sample with updated order on params
2015-07-13 16:51:19 +08:00
xhh
aad05c4dee
Merge branch 'develop_2.0' into params-order
...
Conflicts:
samples/client/petstore/php/SwaggerClient-php/lib/PetApi.php
samples/client/petstore/php/SwaggerClient-php/lib/StoreApi.php
samples/client/petstore/php/SwaggerClient-php/lib/UserApi.php
2015-07-13 16:48:19 +08:00
wing328
3f9d1607b6
Merge pull request #926 from wing328/php_support_file_response
...
[PHP] support "file" response
2015-07-13 15:51:20 +08:00
wing328
879c1b921c
update php petstore sample
2015-07-13 15:31:20 +08:00
xhh
fb0b7d622f
Merge branch 'develop_2.0' into params-order
...
Conflicts:
modules/swagger-codegen/src/main/resources/php/api.mustache
2015-07-13 15:30:06 +08:00
wing328
f154e407d2
update coding style based on CodeSniffer
2015-07-13 15:26:12 +08:00
wing328
44705b566d
add default version for package
2015-07-13 15:24:12 +08:00
wing328
71a22141bf
add enum support for model property
2015-07-13 15:24:11 +08:00
wing328
38149173ff
revert petstore json, fixed test case
2015-07-13 15:21:39 +08:00
wing328
2258a4632d
fix test.php, fix default configuration
2015-07-13 15:21:39 +08:00
wing328
259b31ccd4
temporary folder setting
2015-07-13 15:21:38 +08:00
wing328
7f31da734d
add file response for php, update test case
2015-07-13 15:09:09 +08:00
wing328
fcd0b31d7d
add file response for php
2015-07-13 15:09:09 +08:00
wing328
4c2df94ec7
Merge pull request #953 from bletail/develop_2.0
...
Python/Python3 datetime and date type fixed
2015-07-13 15:05:13 +08:00
wing328
38760d2aa1
Merge pull request #915 from xhh/ruby-file-response
...
[Ruby] Support file downloading for Ruby API client
2015-07-13 14:50:40 +08:00
wing328
f6174051cb
Merge pull request #931 from cbornet/oauth_support
...
generate oauth2 fields in the data for the templates
2015-07-13 14:39:14 +08:00
wing328
68915eeb8f
Merge pull request #968 from mhardorf/develop_2.0
...
Cleaned up TypeScript code generator
2015-07-13 12:16:11 +08:00
wing328
1434691927
Merge pull request #916 from wing328/fix_optional
...
[Perl, Python AsyncScala] Fix optional tag in the template
2015-07-13 11:53:58 +08:00
wing328
b46efd839d
Merge pull request #914 from webjunkie/patch-1
...
Optional is used in PHP template although not available
2015-07-13 11:52:55 +08:00
wing328
c7f8f0171b
Merge pull request #919 from wing328/fix_java_android_path_issue
...
[Java, Android] Fix path variable name
2015-07-13 11:51:45 +08:00
wing328
045a3b44c1
Merge pull request #901 from tkQubo/feature/swift_develop_2.0
...
[Swift] Some fixes for SwiftGenerator for develop 2.0
2015-07-13 11:51:07 +08:00
wing328
6c85fc285a
Merge pull request #959 from dilipkrish/develop_2.0
...
Updated the swagger-codegen sample for generating the service side stubs
2015-07-13 10:14:05 +08:00
Dilip Krishnan
7cc9581f04
Updated the mustache template to remove the spurious import
...
Also regenerated the spring-mvc server sample
2015-07-12 20:56:36 -05:00
Dilip Krishnan
9283249963
Updated the swagger-codegen sample for generating the service side stubs
...
for spring mvc using springfox implementation
2015-07-12 20:56:31 -05:00
Tony Tam
461f556289
Merge pull request #893 from sudohippie/develop_2.0-fork
...
Android & Java template modifications to check collectionFormat when creating query parameters
2015-07-09 10:11:54 -07:00
Martin Hardorf
e3d3641b96
Removed unused import
2015-07-09 14:57:40 +02:00
Martin Hardorf
7e8f8e85d7
Changed default name of the modelPackage
2015-07-09 14:55:15 +02:00
Martin Hardorf
abc7100a17
Removed unused code from the api classes
2015-07-09 14:54:36 +02:00
Morten Andersen
661b9d6315
Docker generate example
2015-07-09 12:58:33 +02:00
moander
a21c2be877
Set executable flag
2015-07-09 10:39:35 +00:00
moander
5c29cbf33d
Build and run script for docker
2015-07-09 12:33:43 +02:00
Martin Hardorf
d3bc347e31
Changed base path to use contextPath
2015-07-09 10:34:39 +02:00
wing328
1f35f58841
add back summary and description to nodejs swagger.json
2015-07-09 14:05:08 +08:00
xhh
a51d71e728
Fix syntax error when there are no authMethods
2015-07-09 10:48:16 +08:00
wing328
b8c06505f6
use fully qualified name for Task
2015-07-09 10:21:55 +08:00
moander
80731633b4
Created a Dockerfile
2015-07-09 01:22:06 +02:00
Tobias Pfeifer
4c16366f45
fix SpringMVCServerCodegen for maps as in JavaClientCodegen
2015-07-08 15:45:38 +02:00
Martin Hardorf
4133cae2bc
Fixed mustache to handle non-required parameters
2015-07-08 11:19:25 +02:00
Martin Hardorf
f6a1af2831
Changed maps to any and DateTime to Date
2015-07-08 11:17:06 +02:00
xhh
a24fee00cb
Support primitive response in Ruby client
2015-07-08 16:46:31 +08:00
xhh
f42f329ace
Parse "date" as Date in Ruby client
2015-07-08 13:10:28 +08:00
xhh
6fd2ccabee
Merge branch 'develop_2.0' into ruby-debug
2015-07-08 12:38:21 +08:00
DariusM
20c7932df4
Python /python3 datetime and date fixed
2015-07-07 13:00:28 +02:00
wing328
e49fe7a12f
better style for model, add <value> to all properties
2015-07-07 16:25:33 +08:00
wing328
b1b0e28f59
update c# style
2015-07-06 23:06:28 +08:00
Tony Tam
dfd8d5ef64
updated to latest release version
2015-07-06 04:55:12 -07:00
wing328
94768d44b5
better type comparision
2015-07-06 13:55:33 +08:00
wing328
3b1999af4b
update csharp sample
2015-07-06 11:24:59 +08:00
wing328
7e4a82bcfb
add readme
2015-07-06 11:18:05 +08:00
wing328
f823c0e26a
update newtonsoft json
2015-07-06 11:03:36 +08:00
xhh
bf32777b67
Fix NullPointerException in tests, improve usage to addVars
2015-07-03 18:07:34 +08:00
wing328
987a61640b
fix file upload issue. add error handling for status code 0
2015-07-03 17:39:27 +08:00
xhh
66d16cfeaf
Validate parameter against allowed values (enum)
2015-07-03 16:46:23 +08:00
xhh
0bf4163389
Copy properties of intermediate (interface) models
2015-07-03 15:08:37 +08:00
xhh
b61a400d91
Copy properties of parent model to model with allOf
...
Also fix #936
2015-07-03 15:08:37 +08:00
wing328
55827fe516
fix model import for csharp
2015-07-03 14:20:54 +08:00
wing328
5c888ad039
better method comment
2015-07-03 13:55:51 +08:00
wing328
d7d6ba957e
fix comment and use 4-space indentation
2015-07-03 11:45:31 +08:00
wing328
57b54d8ad7
update code style for apiclient, configuration and apiexception
2015-07-03 10:36:21 +08:00
Peter S. May
4b896c759c
[C#] Use RestSharp's mechanism for path parameters in URL templates
...
Previously, a simple find-and-replace had been used to substitute path parameters into the path. Among other omissions, this resulted in special characters such as `/` being left unescaped.
The RestSharp request object, as it turns out, expects a path template in the same format as provided by Swagger (with param names in braces), to be filled in using `AddParameter()`. In this edit, the code now uses this mechanism. The form parameter values are now passed to `CallApi*()` as a `Dictionary<String, String>`, where they are added to the request before submission. Since this was already how query and form parameters (etc.) were implemented, the resulting code is more consistent with itself than before.
2015-07-02 15:33:30 -04:00
Ole Lensmar
aba755d3de
Merge pull request #940 from xhh/jax-rs-classname
...
Sanitize API class name in Jax RS server codegen
2015-07-02 11:38:10 +02:00
xhh
fe35675168
Allow numbers for classname
...
and remove spaces
2015-07-02 17:15:53 +08:00
xhh
d825b96720
Sanitize API class name in Jax RS server codegen
2015-07-02 12:00:18 +08:00
wing328
422da698f6
import model only if it has import for c#
2015-07-02 11:18:41 +08:00
wing328
488e604207
use stream for file
2015-07-01 21:37:48 +08:00
xhh
846d282ba0
Add helper methods for last response
2015-07-01 18:48:31 +08:00
xhh
6f1dd5ce35
Store last response in a thread-safe way
2015-07-01 17:37:16 +08:00
xhh
108b2241c0
Validate model property against allowed values (enum)
...
when present with attribute setters
2015-07-01 17:18:29 +08:00
wing328
4d6dbf7d92
show return in doc only if it has a return
2015-07-01 15:16:28 +08:00
Nadezhda Makarkina
eca827613d
Fixed #831 : skipOverwrite flag has been added
2015-06-30 17:58:35 +03:00
wing328
2e76b56f30
revert file to String, add test case for upload file
2015-06-30 17:50:22 +08:00
wing328
f290de95dd
update parameter name to camelize lower
2015-06-29 23:14:00 +08:00
wing328
59987a54a9
fix deserialization of string and other primitive
2015-06-29 22:16:38 +08:00
cbornet
2d59c5d190
generate oauth2 fields in the data for the templates
...
Fixes #347
2015-06-29 13:39:39 +02:00
wing328
9726ada8d1
fix return type and tempfolder
2015-06-29 15:30:34 +08:00
wing328
76ece5a4eb
add file response support for c# (passed test cases)
2015-06-29 12:17:49 +08:00
kubo_takaichi
91af76cf41
Use CLI option
2015-06-27 23:24:49 +09:00
kubo_takaichi
65af735d6c
Merge commit '4143e286374bdd384c39a68df1f8f3a3eb58e6a4' into feature/swift_develop_2.0
2015-06-27 21:19:32 +09:00
wing328
30bc58f6ff
Merge branch 'fix_optional' of https://github.com/wing328/swagger-codegen into fix_optional
2015-06-26 23:57:06 +08:00
wing328
3eca940e7d
fix perl and asyncscala optional tab
2015-06-26 23:56:20 +08:00
wing328
38d62d768a
fix optional for python, python3
2015-06-26 23:56:20 +08:00
xhh
1de6952279
Support customizing default headers via config option
...
for example:
config.default_headers['X-MY-HEADER'] = 'my-header-value'
2015-06-26 19:09:20 +08:00
xhh
54d6a7e19c
Merge branch 'develop_2.0' into ruby-file-response
2015-06-26 17:44:37 +08:00
xhh
fafddbf040
Fix naming in specs
2015-06-26 17:16:38 +08:00
xhh
d8b0cb739f
Add config file for bin/ruby-petstore.sh
...
to rename swagger_client to petstore
2015-06-26 17:15:14 +08:00
xhh
2d3d35cfd7
Rebuild Ruby petstore client
2015-06-26 16:37:58 +08:00
xhh
8c10e4f2b0
Remove unused code
2015-06-26 16:06:32 +08:00
xhh
0ac1ef266f
Avoid more monkey-patching
2015-06-26 16:04:18 +08:00
xhh
327128dbba
Fix "date" type deserialization
2015-06-26 15:57:46 +08:00
xhh
16e80c65d7
Avoiding monkey-patching in Ruby API client
2015-06-26 15:56:59 +08:00
xhh
40c9f05536
Merge branch 'develop_2.0' into ruby-debug
2015-06-26 10:38:58 +08:00
wing328
091e76703c
update sample
2015-06-26 10:35:50 +08:00
wing328
6a24b328e3
fix variable name in path
2015-06-26 10:30:12 +08:00
Tony Tam
4143e28637
Merge branch 'wing328-csharp_add_cli_support' into develop_2.0
2015-06-25 11:55:41 -07:00
Tony Tam
31efefe0b9
Merge branch 'csharp_add_cli_support' of ssh://github.com/wing328/swagger-codegen into wing328-csharp_add_cli_support
2015-06-25 11:54:30 -07:00
Tony Tam
e60bd564cb
Merge pull request #864 from geekerzp/python-cli-option
...
[Python] Enabling cli config options for python generator
2015-06-25 11:53:29 -07:00
Tony Tam
69b75bb1af
Merge pull request #885 from mhardorf/develop_2.0
...
Added support for TypeScript generation for AngularJS and Node.js
2015-06-25 11:53:21 -07:00
Tony Tam
1fb796f14d
Merge pull request #891 from who/develop_2.0
...
Replacing getClientResponseStatus() with getStatusInfo()
2015-06-25 11:53:10 -07:00
Tony Tam
e996498a24
Merge pull request #913 from xhh/scala-warnings
...
[Scala] Fix warnings and upgrade jersey for Scala client
2015-06-25 11:52:57 -07:00
Tony Tam
c3d1367e7c
Merge pull request #894 from wing328/csharp_add_nunit
...
[C#] Add NUnit test
2015-06-25 11:52:19 -07:00
Tony Tam
69eae7d35b
merged
2015-06-25 10:23:05 -07:00
Tony Tam
162d1d1f98
merged
2015-06-25 10:21:38 -07:00
Tony Tam
07d5365c5c
merged from #902 , rebuilt client
2015-06-25 10:17:28 -07:00
Tony Tam
f1239aba6c
Merge pull request #908 from wing328/fix_php_file_sep
...
[PHP] Fix regular expression in toPackagePath
2015-06-25 10:10:30 -07:00
Tony Tam
37620518e7
Merge pull request #892 from wing328/add_sinatra
...
[Ruby] Add back Sinatra tempates
2015-06-25 10:10:22 -07:00
William Cheng
9d739a44cd
update python test case
2015-06-25 21:47:00 +08:00
wing328
18ac6e8aae
fix perl and asyncscala optional tab
2015-06-25 23:10:25 +08:00
wing328
8cce7ac053
fix optional for python, python3
2015-06-25 22:40:14 +08:00
xhh
e6e1db2064
Support looser format when detecting filename
2015-06-25 16:26:04 +08:00
xhh
ceafbcc97f
Add config option for file downloading folder. Log about file downloading
2015-06-25 16:07:02 +08:00
xhh
f3a0f464f7
Support file downloading in Ruby generator
2015-06-25 15:35:48 +08:00
Raghav Sidhanti
1af23fb751
Unit tests for Android and Java parameterToPairs method
2015-06-24 11:55:03 -07:00
Raghav Sidhanti
ea76f34de5
Merge branch 'develop_2.0' of https://github.com/swagger-api/swagger-codegen into develop_2.0-fork
2015-06-24 11:25:32 -07:00
Julian Bez
8ce3823698
Change to not required
2015-06-24 16:34:32 +02:00
Julian Bez
644231b915
Change optional to required
2015-06-24 16:32:49 +02:00
xhh
621e3e7b1a
Add comments for some configuration options
2015-06-24 15:57:01 +08:00
wing328
6aac24398a
update model to support inheritance ( #879 )
2015-06-24 14:34:05 +08:00
xhh
545fb52b7d
Merge branch 'develop_2.0' into ruby-debug
2015-06-24 14:10:47 +08:00
Ole Lensmar
8e6c0f96fb
updated documentation and removed java-specific parameters from general configuration
2015-06-24 07:31:10 +02:00
Gabriel Radu
1b1f860c82
Add a pathPrefix key to the operations key
2015-06-24 03:28:38 +01:00
Ole Lensmar
50dd196d42
fixed code formatting and imports
2015-06-24 00:12:50 +02:00
Ole Lensmar
ce6ec20fef
added config parameters for all default parameters and a configOptions map for language specific parameters
2015-06-24 00:11:13 +02:00
Ole Lensmar
11e56f5c9c
Merge pull request #898 from garethjevans/develop_2.0
...
Contributed maven plugin to the swagger-codegen project
2015-06-23 23:20:49 +02:00
nmonterroso
efd5b806be
updating php generated samples and updating tests
2015-06-23 09:27:52 -07:00
nmonterroso
1b4c71c280
re-adding Configuration->deleteDefaultHeader
2015-06-23 09:27:34 -07:00
wing328
d83036ccdf
fix regular expression
2015-06-23 22:36:57 +08:00
wing328
d18426c69a
fix reg expression
2015-06-23 22:30:43 +08:00
wing328
351833a923
test fix
2015-06-23 21:52:00 +08:00
wing328
2979d93829
use replace instead of replaceAll
2015-06-23 21:47:10 +08:00
Martin Hardorf
2fce2e4109
Removed wrong hasMore from Angular TypeScript mustache
2015-06-23 15:37:07 +02:00
xhh
13d350be2e
Fix warnings and upgrade jersey for Scala client
...
* Upgrade jersey to latest version (from 1.7 to 1.19)
* Replace getClientResponseStatus() with getStatusInfo()
* Fix the following maven warnings and model import warnings
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 72, column 15
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[WARNING] Expected all dependencies to require Scala version: 2.10.4
[WARNING] com.fasterxml.jackson.module:jackson-module-scala_2.10:2.4.2 requires scala version: 2.10.4
[WARNING] org.scala-lang:scala-reflect:2.10.4 requires scala version: 2.10.4
[WARNING] io.swagger:swagger-scala-client:1.0.0 requires scala version: 2.10.4
[WARNING] org.scalatest:scalatest_2.10:2.1.3 requires scala version: 2.10.3
[WARNING] Multiple versions of scala libraries detected!
[WARNING] /Users/xhh/projects/swagger-codegen/samples/client/petstore/scala/src/main/scala/io/swagger/client/model/Pet.scala:3: warning: imported `Category' is permanently hidden by definition of object Category in package model
2015-06-23 21:23:48 +08:00
wing328
550493ba84
fix php separator
2015-06-23 21:20:12 +08:00
Martin Hardorf
c45af23946
Fixed headerParams and paramName
2015-06-23 12:05:43 +02:00
xhh
19ee56592e
Allow customizing SSL CA certificate
...
by adding a `ssl_ca_cert` configuration option
2015-06-23 17:23:22 +08:00
kubo_takaichi
aec4af1b88
Replace slash with File.separator
2015-06-23 16:10:21 +09:00
xhh
46869df631
Make HTTP response accessible by storing the last response
...
so that users are able to retrieve, for example, rate-limit headers
from the response
2015-06-23 15:02:40 +08:00
nmonterroso
c91a1b963b
change serializer to be instanced, rather than static methods
2015-06-22 21:33:44 -07:00
nmonterroso
2fced0f634
Revert "Updates to csharp model template to support inheritance"
...
This reverts commit 5f1df9e093 .
2015-06-22 21:12:13 -07:00
nmonterroso
60b0ffeb0e
don't prepend the invokerPackage - an artifact from an earlier implementation
2015-06-22 21:06:22 -07:00
nmonterroso
6623e120cd
renaming to Configuration
2015-06-22 20:53:59 -07:00
nmonterroso
46ec934a9c
java7 doesn't have replace, but put operates as such, so switch to that
2015-06-22 20:49:12 -07:00
nmonterroso
5a9e9550ca
fixing php-doc
2015-06-22 20:43:00 -07:00
nmonterroso
8e0142338e
removing unused imports
2015-06-22 20:36:57 -07:00
nmonterroso
61e368ce87
Merge remote-tracking branch 'swagger/develop_2.0' into php-upgrades
2015-06-22 20:29:09 -07:00
nmonterroso
c93b0dd3b8
make srcBasePath configureable
2015-06-22 20:24:19 -07:00
kubo_takaichi
79e31a5761
Add a workaround against void forcibly being converted to string
2015-06-23 12:20:00 +09:00
kubo_takaichi
fa3a9a9d61
Change class package
2015-06-23 12:20:00 +09:00
kubo_takaichi
febaa340e3
Treat object as String (temporary measure)
2015-06-23 12:20:00 +09:00
kubo_takaichi
bcab55e3ef
Tighten parameter requirement
2015-06-23 12:20:00 +09:00
kubo_takaichi
24465d2df4
Change model naming
2015-06-23 12:20:00 +09:00
kubo_takaichi
8540ac71c8
Update swift code generation script
2015-06-23 12:20:00 +09:00
kubo_takaichi
9e47042122
Update models
2015-06-23 12:20:00 +09:00
kubo_takaichi
e0109afc60
Fix typo
2015-06-23 12:20:00 +09:00
kubo_takaichi
ff88f7175d
Update models
2015-06-23 12:20:00 +09:00
kubo_takaichi
c9a9b0ad2b
Refine authMethods description
2015-06-23 12:20:00 +09:00
kubo_takaichi
db01ec801f
Add suppressRequired functionality
2015-06-23 12:20:00 +09:00
kubo_takaichi
495e528eec
Add generated code
2015-06-23 12:20:00 +09:00
kubo_takaichi
a7c91d610f
Add error response body to NSError
2015-06-23 12:20:00 +09:00
kubo_takaichi
d08acf7298
Add a dateTime formatter candidate
2015-06-23 12:20:00 +09:00
kubo_takaichi
7be35bb02e
Change method name to avoid name collision
2015-06-23 12:20:00 +09:00
Raghav sidhanti
b4d6fd3ba3
Returning when query param value is null.
2015-06-22 20:16:35 -07:00
nmonterroso
d5d1483656
properly account for custom and non-custom settings for modelPackage and apiPackage
2015-06-22 20:14:54 -07:00
Tony Tam
02c41ac574
fix for #900 , invalid param name for java client
2015-06-22 20:00:28 -07:00
nmonterroso
3a6f431f62
make packagePath configureable, and remove unused code
2015-06-22 19:34:03 -07:00
nmonterroso
4fe979a8c0
code compiles and *should* work, but need to re-organize for separate client/api-specific class namespaces
2015-06-22 19:26:26 -07:00
xhh
3b6a3b4a38
Add logging for API call entry and result
2015-06-23 10:12:20 +08:00
nmonterroso
da14c9e692
changing to invokerPackage
2015-06-22 19:09:32 -07:00
nmonterroso
b8b003bc83
Merge remote-tracking branch 'swagger/develop_2.0' into php-upgrades
...
Conflicts:
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/PhpClientCodegen.java
modules/swagger-codegen/src/main/resources/php/ApiClient.mustache
modules/swagger-codegen/src/main/resources/php/ApiException.mustache
modules/swagger-codegen/src/main/resources/php/api.mustache
modules/swagger-codegen/src/main/resources/php/autoload.mustache
modules/swagger-codegen/src/main/resources/php/configuration.mustache
modules/swagger-codegen/src/main/resources/php/model.mustache
modules/swagger-codegen/src/test/scala/php/PhpModelTest.scala
2015-06-22 19:09:13 -07:00
xhh
229ea93627
Add debugging switch to Ruby generator
2015-06-23 10:06:01 +08:00
xhh
24296eacea
Merge branch 'develop_2.0' into params-order
...
Conflicts:
samples/client/petstore/ruby/lib/swagger_client/api/pet_api.rb
2015-06-23 10:02:18 +08:00
Raghav Sidhanti
6958db3d3d
Refactored Pairs to use List instead of Set.
2015-06-22 17:14:18 -07:00
Raghav Sidhanti
32b50e7c8e
Refactored parameterToPairs
2015-06-22 17:02:00 -07:00
Tony Tam
b803895750
Merge pull request #865 from ammmze/feature/php-namespace-and-doc
...
Improve PHP namespace support
2015-06-22 16:53:57 -07:00
Tony Tam
d1153dfeb4
Merge pull request #866 from geekerzp/develop_2.0_objc_deserialize_map
...
[Objc] bug fix for map response
2015-06-22 16:53:28 -07:00
Tony Tam
385fab225e
Merge pull request #871 from xhh/ruby-object-type
...
[Ruby] Support deserialization of "object" type in Ruby generator
2015-06-22 16:53:21 -07:00
Tony Tam
89a5abb217
Merge pull request #870 from wing328/perl_cli_support
...
[Perl] Add CLI config options and code enhancement
2015-06-22 16:53:12 -07:00
Raghav Sidhanti
79a5614be9
Invalid strings will be passed as blank query param.
2015-06-22 15:55:29 -07:00
Raghav Sidhanti
a1b56c9b83
Renamed QueryParam to Pair class in Android templates.
2015-06-22 15:28:29 -07:00
Raghav Sidhanti
ecddfb7ccf
Renamed QueryParam to Pair class in Java templates.
2015-06-22 15:16:45 -07:00
nmonterroso
bd5eb7ace3
update tests
2015-06-22 12:30:52 -07:00
nmonterroso
8e15bd6a85
call setHost on config
2015-06-22 12:13:39 -07:00
nmonterroso
5ef50f9f4b
rename ApiConfiguration to ApiClientConfiguration
2015-06-22 12:07:48 -07:00
nmonterroso
a6331244e1
move all configuration to ApiConfiguration
2015-06-22 12:05:22 -07:00
nmonterroso
01d7776fc1
don't create a new response object, and keep the old string value in the exception and have the object as ApiException->responseObject
2015-06-22 11:47:23 -07:00
nmonterroso
109b7eeaec
adding static setters/getters for models since members are no public
2015-06-22 11:19:01 -07:00
nmonterroso
5de99bafa7
fixing package output
2015-06-22 11:18:36 -07:00
Gareth Evans
a664abcf51
Contributed maven plugin to the swagger-codegen project
2015-06-22 19:17:29 +01:00
nmonterroso
6f11092a57
call setHost using API baspath when no apiclient is provided
2015-06-22 10:35:57 -07:00
nmonterroso
e598384d97
move authentication to the API level, so that supporting classes aren't api-specific
2015-06-22 10:31:38 -07:00
nmonterroso
53bddae904
separate serialization responsibility to ObjectSerializer class
2015-06-22 09:47:28 -07:00
nmonterroso
1519912a1a
cleaning up some php doc
2015-06-22 09:26:45 -07:00
nmonterroso
b3a3bdd2e0
add fully-qualified class names to deserialize params
2015-06-22 09:18:41 -07:00
nmonterroso
04be474f56
moving $host back to ApiClient and making ApiClient setters fluent
2015-06-22 08:36:49 -07:00
nmonterroso
99e963709b
renaming configuration
2015-06-22 08:30:08 -07:00
nmonterroso
b9ca19168a
remove static fields in Configuration and make variable case more consistent
2015-06-22 08:28:22 -07:00
geekerzp
acf09da578
Fix typo in python codegen
2015-06-22 16:35:15 +08:00
wing328
1d59937150
add nunit test for csharp
2015-06-22 11:53:44 +08:00
nmonterroso
caa1b7f411
generate model imports for support files, and use them as imports
2015-06-19 15:20:29 -07:00
Raghav Sidhanti
7a9a41fe01
Java and Android template changes to accommodate query params defined by the collection-format.
2015-06-19 14:06:25 -07:00
nmonterroso
acdc5328fe
deserialize thrown exceptions
2015-06-19 11:24:56 -07:00
nmonterroso
3252dd0d18
check for null array in constructor
2015-06-19 10:32:38 -07:00
nmonterroso
5c409884b9
make setters fluent
2015-06-19 10:31:05 -07:00
nmonterroso
f9f58596b8
account for return type where the response type is in a list container, and properly import models into operations
2015-06-18 16:51:24 -07:00
nmonterroso
bb11322919
use proper namespaces, getters/setters, and phpdocs
2015-06-18 15:41:12 -07:00
nmonterroso
4495774fd5
proper autoloader and move generated files to PSR-4 compliant locations
2015-06-18 15:08:45 -07:00
Andrew B
1aeb50feef
Replacing getClientResponseStatus() with getStatusInfo()
2015-06-18 14:41:17 -07:00
Branden Cash
b74050dd7b
Change to use the autoload.php and change the namespacing
2015-06-18 11:45:08 -07:00
Branden Cash
2ac7384abf
Fix tests
2015-06-18 11:43:54 -07:00
Branden Cash
eed45a41a3
Fixed the missing closing doc chars and updated sample
2015-06-18 11:43:54 -07:00
Branden Cash
69c2f6f945
Add phpdoc for the api.apiClient
2015-06-18 11:43:54 -07:00
Branden Cash
5119299e8a
Remove unused code
2015-06-18 11:43:54 -07:00
Branden Cash
719a0b732e
Update sample client
2015-06-18 11:43:48 -07:00
Branden Cash
8ed690cad0
Better namespace support, so that your not limited to only having a single vendor space, you can have \Vendor\Package\Model as a namespace. Also updates with proper phpdoc comments so that IDE code hinting can function properly.
2015-06-18 11:41:14 -07:00
William Cheng
f957471509
update silex sample code location
2015-06-19 02:37:08 +08:00
William Cheng
0b0325b8af
update readme, fix swaggering name
2015-06-19 02:32:50 +08:00
William Cheng
d178d5e7d8
add sinatra template
2015-06-19 02:11:08 +08:00
nmonterroso
4ef34680cd
renaming to ApiClient.mustache
2015-06-18 10:30:53 -07:00
wing328
6ab7be4058
add package version
2015-06-18 22:20:52 +08:00
wing328
df72188bc0
add cli support to csharp
2015-06-18 22:06:59 +08:00
geekerzp
8d18aee2f2
Update test case test_deserialize_to_dict of python client
2015-06-18 22:02:54 +08:00
Martin Hardorf
449ba4f644
Fixed required parameters for APIs in TypeScript
2015-06-18 12:42:04 +02:00
geekerzp
194c8ff71d
Update config-help message of python client
2015-06-18 10:43:25 +08:00
geekerzp
62f4c252f2
Update python codegen.
...
* Update config-help message.
* Do not sanitize packageName to underscore format.
2015-06-18 10:43:24 +08:00
geekerzp
5d19ef6146
Generate the python into python/ folder directly
2015-06-18 10:43:24 +08:00
geekerzp
a32335dfbc
Enable cli config options for python generator
2015-06-18 10:43:24 +08:00
geekerzp
6b6480a026
Updated xcode project of objc client
2015-06-18 10:38:19 +08:00
geekerzp
a4df33d040
Add comments for SWGJSONResponseSerializer#responseObjectForResponse
...
method of objective-c client.
2015-06-18 10:03:51 +08:00
geekerzp
8b15416be5
Add SWGJSONResponseSerializer for objective-c client.
...
If the response data is valid json, return the deserialized json.
If the response data is invalid json, return the string of response data.
2015-06-18 10:03:51 +08:00
geekerzp
bc92465bf7
Update Objective-C method description (doc comments) style
2015-06-18 10:03:51 +08:00
geekerzp
a6bdc35d59
Support pure object response for objc client
2015-06-18 10:03:51 +08:00
geekerzp
c50c8b724d
Support map response for objc client.
...
completed.
2015-06-18 10:03:50 +08:00
geekerzp
0da3e58fff
Support map response for objc client.
...
not completed
2015-06-18 10:03:12 +08:00
xhh
edcb71ad22
Merge branch 'develop_2.0' into params-order
...
Conflicts:
bin/all-petstore.sh
2015-06-18 09:59:13 +08:00
xhh
d6d707543d
Merge branch 'develop_2.0' into ruby-object-type
...
Conflicts:
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/RubyClientCodegen.java
2015-06-18 09:56:58 +08:00
William Cheng
8858e7d7e3
update perl sample
2015-06-18 02:44:40 +08:00
William Cheng
64b46c2e15
update indentation, remove export
2015-06-18 02:40:15 +08:00
wing328
82baa7ce4b
update help text
2015-06-18 10:57:10 +08:00
wing328
d7315b56dc
removed non-perl update
2015-06-18 10:57:10 +08:00
wing328
10e07eaf74
add support for cli (perl)
2015-06-18 10:57:09 +08:00
Martin Hardorf
e7d4a438dd
Added tests for TypeScript Angular and Node.js
2015-06-17 17:58:52 +02:00
Martin Hardorf
9e8631b75f
Added shell scripts for sample generation of TypeScript
2015-06-17 17:56:37 +02:00
Tony Tam
e39ec927a2
Merge pull request #879 from shoatman/master
...
Updates to csharp model template to support inheritance
2015-06-17 08:30:07 -07:00
Tony Tam
6ad3a717fe
Merge pull request #882 from wing328/php_add_silex
...
[PHP] add Silex server-side codegen
2015-06-17 08:29:48 -07:00
Tony Tam
f66b5cf65b
Merge pull request #867 from wing328/fix_jar_path
...
[Bug fix] Fix path inside JAR for non-template files
2015-06-17 08:28:30 -07:00
Tony Tam
d8c337185f
Merge pull request #857 from wing328/php_warning
...
[PHP] Remove PHP5.3 warning
2015-06-17 08:27:47 -07:00
Tony Tam
5ade64b3e1
Merge pull request #856 from wing328/csharp_upgrade_restsharp
...
[C#] upgrade restsharp to 105.1.0
2015-06-17 08:27:10 -07:00
Tony Tam
e65a079f0e
Merge pull request #855 from geekerzp/develop_2.0_python_deserialize_map
...
[Python] bug fix for map response
2015-06-17 08:26:58 -07:00
Tony Tam
378ffffdc7
Merge pull request #854 from geekerzp/develop_2.0_objc_pro_rename
...
[Objc] Change xcode project name in objc sample code
2015-06-17 08:26:42 -07:00
Tony Tam
dd356b54c0
Merge pull request #853 from wing328/perl_support_map3
...
[Perl] update deserialization to support Map and List
2015-06-17 08:25:45 -07:00
Tony Tam
f56388845c
Merge pull request #850 from xhh/ruby-cli-option2
...
[Ruby] Enabling cli config options for ruby generator
2015-06-17 08:25:34 -07:00
William Cheng
436db1f8e7
add __toString and update php sample
2015-06-17 19:00:29 +08:00
Martin Hardorf
ba4b88ef86
Fixed TypeScript mustache
2015-06-17 12:22:15 +02:00
xhh
b39d44db03
Add missing petstore scripts to bin/all-petstore.sh
2015-06-17 16:16:44 +08:00
xhh
9c4e5ed596
Rebuild Petstare sample for Java, Android, PHP, etc.
2015-06-17 16:15:37 +08:00
wing328
ce40da0f71
add php silex server side codegen
2015-06-17 16:01:24 +08:00
xhh
7f4586a47f
Fix comment regarding required parameter in PHP generator
2015-06-17 16:00:59 +08:00
xhh
24a2de7389
Sort parameters to move required ones in front of optional ones
2015-06-17 16:00:16 +08:00
Shane Oatman
5f1df9e093
Updates to csharp model template to support inheritance
2015-06-16 12:12:17 -07:00
xhh
5435777c65
Merge remote-tracking branch 'origin/develop_2.0' into ruby-object-type
2015-06-16 18:42:18 +08:00
xhh
7c355030f4
Add to_s method for models
2015-06-16 18:41:51 +08:00
Nadezhda Makarkina
7b5b874fdc
Fixed #798 : original jar generation has been fixed.
2015-06-16 11:58:22 +03:00
Martin Hardorf
f87bb12ebb
Added support for TypeScript generation for AngularJS and Node.js
2015-06-16 10:44:05 +02:00
xhh
d2d5cf0d57
Add convention notes to Ruby CLI options
2015-06-16 12:17:11 +08:00
xhh
6348f67b18
Merge remote-tracking branch 'origin/develop_2.0' into ruby-cli-option2
2015-06-16 12:07:15 +08:00
Ron
eaf5a371ff
Merge pull request #863 from wing328/fix_typo
...
Fixed a minor typo with the command example
2015-06-15 13:20:05 +03:00
Ron
dee0948e3e
Update README.md
2015-06-15 13:19:56 +03:00
xhh
a59d4ba346
Add test case for finding nonexistent pet
2015-06-15 16:51:38 +08:00
xhh
ec8e5179cb
Remove unused comments
2015-06-15 16:46:30 +08:00
xhh
9d5928551b
Unify ClientError and ServerError into ApiError
...
in Ruby generator
2015-06-15 16:38:08 +08:00
wing328
456e17430b
Merge branch 'php_warning' of https://github.com/wing328/swagger-codegen into php_warning
2015-06-15 15:51:12 +08:00
wing328
839f0971f0
rename php ApiClient
2015-06-15 15:50:40 +08:00
xhh
e9c1dd7842
Regard bare "object" type as Object, add comments
...
The handling of base "object" type (without definions of
"additionalProperties") is similar to Java generator now.
2015-06-15 12:49:17 +08:00
wing328
24b110be9d
show writing file for non-template file
2015-06-14 01:27:47 +08:00
wing328
7a560865a0
fix jar path in windows
2015-06-14 00:59:40 +08:00
geekerzp
718a9a79ed
Update test case test_deserialize_to_object of python client.
2015-06-13 19:05:15 +08:00
geekerzp
ff9623fb5c
Support pure object response for python client.
2015-06-13 18:58:27 +08:00
xhh
80616b4c2b
Add test cases for StoreApi#get_inventory
2015-06-12 23:03:17 +08:00
xhh
36f0ed6d0c
Add test cases for Response#deserialize
2015-06-12 22:44:52 +08:00
xhh
4c8c6c3880
Rebuild Ruby Petstore sample
2015-06-12 20:18:50 +08:00
xhh
e38fc2c3da
Deserialize response for "object" type in Ruby client
2015-06-12 20:15:48 +08:00
wing328
2fdae91cbc
fix a typo in readme
2015-06-12 16:12:54 +08:00
William Cheng
7aab1eaffb
update test.php to put exception test at last
2015-06-10 23:53:56 +08:00
wing328
a0c55693dc
add test case for loginUser, separate test cases into different files
2015-06-10 21:59:48 +08:00
wing328
9aca2868b9
change static method to instance method, update test case to remove php warning
2015-06-10 21:18:48 +08:00
wing328
4982784d7c
upgrade restsharp to 105.1.0
2015-06-10 15:57:07 +08:00
geekerzp
e2d441e862
support map type response for python client
2015-06-10 11:55:12 +08:00
wing328
303dbe7730
fix array,map for perl, add test case
2015-06-10 10:53:21 +08:00
geekerzp
d7b10a17c1
Renamed objc client from PetstoreClient to SwaggerClient
2015-06-10 10:53:16 +08:00
Alexey Nechaev
3f194d3288
Fixed #837 : Generation of default values for complex arrays and maps has been improved.
2015-06-09 19:34:09 +03:00
fehguy
672fcd5a14
updated dev version
2015-06-09 01:36:52 -07:00
fehguy
3768932ba2
updated dev version
2015-06-09 01:36:48 -07:00
Tony Tam
eafcc43295
Merge pull request #851 from swagger-api/develop_2.0
...
merge from develop 2.0 for release
2015-06-09 01:13:42 -07:00
xhh
1315e2d72c
Add new line to make code more readable
2015-06-09 15:47:37 +08:00
xhh
44780e6e1b
Merge branch 'develop_2.0' into ruby-cli-option2
...
Conflicts:
modules/swagger-codegen/src/main/resources/ruby/swagger/version.mustache
2015-06-09 15:44:50 +08:00
fehguy
570383d5d5
updated name, disabled test
2015-06-09 00:41:08 -07:00
fehguy
3d2f09a693
updated versions
2015-06-09 00:25:09 -07:00
Tony Tam
33c2b1b623
Merge pull request #849 from wing328/fix_podfile
...
Fix objc podfile in sample
2015-06-09 00:18:24 -07:00
wing328
207776cec6
udpate podfile
2015-06-09 15:14:37 +08:00
Tony Tam
3b3738e587
Merge pull request #847 from wing328/fix_indentation
...
Fix indentation
2015-06-08 23:43:09 -07:00
wing328
680078dc58
fix csharp refer to apiinvoker
2015-06-09 13:52:01 +08:00
wing328
a593271de1
rollback flash apiinvoker based on 8ee8eddcff
2015-06-09 13:33:30 +08:00
wing328
7fd996bc86
update php sample
2015-06-09 13:31:14 +08:00
wing328
d155ddd026
rollback java spring mvc template
2015-06-09 13:15:03 +08:00
wing328
fc38b9bb79
rollback akkascala to another commit ( 637ee77d66)
2015-06-09 13:13:56 +08:00
wing328
29c41adddf
rollback java jxrs template
2015-06-09 13:11:16 +08:00
wing328
180d48e89d
rollback java template
2015-06-09 13:08:32 +08:00
wing328
900f39686d
rollback grovvy template
2015-06-09 13:07:45 +08:00
wing328
46c5b776ed
rollback csharp template
2015-06-09 13:04:34 +08:00
wing328
7b6480f7f8
rollback codegen template
2015-06-09 13:04:03 +08:00
wing328
f610958209
rollback asyncscala template
2015-06-09 13:03:29 +08:00
wing328
ab9daaacd6
rollback android template
2015-06-09 13:02:54 +08:00
wing328
a8f6044c9b
rollback akka-scala template
2015-06-09 13:01:50 +08:00
wing328
6efef51036
rollback validator template
2015-06-09 13:01:11 +08:00
wing328
6617af5209
rollback tizen template
2015-06-09 13:00:42 +08:00
wing328
410144ea1c
rollback swift template
2015-06-09 13:00:13 +08:00
wing328
d8060f47a8
rollback swagger-static template
2015-06-09 12:58:41 +08:00
wing328
f2ee63da3b
rollback scalatra template
2015-06-09 12:57:31 +08:00
wing328
b636d2a2c9
rollback scala template
2015-06-09 12:56:26 +08:00
wing328
7d6fdf96c0
rollback retroit template
2015-06-09 12:54:48 +08:00
wing328
b1f5c0314e
rollback objc templates
2015-06-09 12:53:33 +08:00
wing328
eede02a6ab
rollback nodejs and htmldocs template
2015-06-09 12:51:52 +08:00
wing328
eee8685847
rollback flash template
2015-06-09 12:47:18 +08:00
wing328
6253bbff3d
roll back qt5cpp template
2015-06-09 12:42:07 +08:00
wing328
263b4080ee
rollback python3 template
2015-06-09 12:40:45 +08:00
wing328
50ae9659ad
rollback php template
2015-06-09 12:37:30 +08:00
wing328
2e12ac5957
rollback perl template
2015-06-09 12:34:38 +08:00
wing328
5f6622c70d
rollback ruby template
2015-06-09 12:33:30 +08:00
wing328
d5cbbae182
rollback ruby swagger template
2015-06-09 12:26:02 +08:00
wing328
0dd8670724
rollback python template
2015-06-09 12:22:59 +08:00
xhh
d2a82d56aa
Enable CLI options for Ruby generator
2015-06-09 10:16:52 +08:00
Tony Tam
915ad77d03
Merge branch 'develop_2.0'
2015-06-08 16:22:15 -07:00
Tony Tam
f025dda4e2
merged
2015-06-08 16:21:58 -07:00
Ron
1644956a9c
Merge pull request #843 from swagger-api/repackage
...
merge repackage into development
2015-06-08 19:13:10 -04:00
Tony Tam
b1cea25237
updated version
2015-06-08 16:07:31 -07:00
Tony Tam
c1ddb84839
restored imports
2015-06-08 16:04:04 -07:00
Tony Tam
445d0f7928
rebuilt
2015-06-08 15:48:49 -07:00
Tony Tam
637ee77d66
added script, fixed templates
2015-06-08 15:40:05 -07:00
Ron
fb989fcd0e
Integrated UI with the generator's packaging process
2015-06-08 16:25:37 -04:00
Tony Tam
64ea3f8177
rebuilt
2015-06-07 20:50:35 -07:00
Tony Tam
aaa0603e29
rebuilt, added back imports
2015-06-07 20:47:22 -07:00
Tony Tam
450edae160
fixed imports
2015-06-07 20:35:56 -07:00
Tony Tam
4f0198dd13
rebuilt, fixed test imports
2015-06-07 20:30:41 -07:00
Ron
56714e6c07
Code fixes after reformatting
2015-06-07 23:20:34 -04:00
Ron
aa0586c666
Dependency update
2015-06-07 11:56:34 -04:00
Ron
8ee8eddcff
Code reformatting
2015-06-07 11:56:26 -04:00
Ron
1c2d0656b0
Code reformatting
2015-06-07 11:56:08 -04:00
Ron
22d7db2cb4
url changes
2015-06-07 11:46:11 -04:00
Ron
96107193e9
updated reverb references
2015-06-07 11:18:49 -04:00
Ron
1a39678206
Refactoring
2015-06-07 11:05:00 -04:00
Tony Tam
6c57810128
rebuilt
2015-06-07 00:08:01 -07:00
Tony Tam
8c340d52a4
updated packages
2015-06-06 23:58:36 -07:00
Tony Tam
1df3ed4487
repackaged
2015-06-06 23:44:20 -07:00
Tony Tam
0c1657d744
updated package
2015-06-06 23:43:34 -07:00
Tony Tam
44af46c9b3
updated files
2015-06-06 23:11:28 -07:00
Tony Tam
18eb3cde97
updated files
2015-06-06 23:11:20 -07:00
Ron
776508759d
Merge pull request #834 from xhh/fix-package
...
Fix package name for generator/online/Generator.java
2015-06-05 23:26:43 -04:00
xhh
6a7fa67581
Fix package name in test
2015-06-06 10:43:04 +08:00
xhh
3f97d63886
Fix package name for generator/online/Generator.java
2015-06-06 09:01:08 +08:00
Tony Tam
c3d2a581c9
Merge pull request #790 from xhh/java-accept-contenttype
...
Minor improvement to Java API client accept and content-type header
2015-06-05 17:51:23 -07:00
xhh
d345283ab5
Merge branch 'develop_2.0' into java-accept-contenttype
...
Conflicts:
modules/swagger-codegen/src/main/java/com/wordnik/swagger/codegen/languages/JavaClientCodegen.java
modules/swagger-codegen/src/main/resources/Java/ApiClient.mustache
modules/swagger-codegen/src/main/resources/Java/api.mustache
samples/client/petstore/java/src/main/java/io/swagger/client/ApiClient.java
samples/client/petstore/java/src/main/java/io/swagger/client/api/PetApi.java
samples/client/petstore/java/src/main/java/io/swagger/client/api/StoreApi.java
samples/client/petstore/java/src/main/java/io/swagger/client/api/UserApi.java
samples/client/petstore/java/src/test/java/io/swagger/client/ApiClientTest.java
2015-06-06 08:46:19 +08:00
Tony Tam
ddbef8b25d
implemented processOpts to avoid clobbering by superclass
2015-06-05 11:40:30 -07:00
Tony Tam
d2cb05f14f
Merge pull request #797 from geekerzp/develop_2.0_python_auth
...
[Python] Add authentication support (API key, HTTP basic)
2015-06-05 09:15:54 -07:00
Tony Tam
3fe2169ffa
Merge branch 'Hadou1-Generic_API_Exception' into develop_2.0
2015-06-05 08:46:22 -07:00
Tony Tam
ab5b2da21a
Merge branch 'Generic_API_Exception' of ssh://github.com/Hadou1/swagger-codegen into Hadou1-Generic_API_Exception
2015-06-05 08:46:02 -07:00
Tony Tam
b4f153c202
Merge pull request #826 from xhh/java-auth
...
[Java] Add authentication support (API key, HTTP basic)
2015-06-05 08:45:08 -07:00
Tony Tam
0d09d43257
Merge pull request #823 from wing328/fix_file_rename
...
[C#] Fix ApiException file name
2015-06-05 08:43:08 -07:00
Tony Tam
98c303042e
Merge pull request #829 from wing328/php_support_map
...
[PHP] bug fix for map, added test case
2015-06-05 08:41:58 -07:00
wing328
d0f9345c5a
fix php map, add test case for get inventory
2015-06-05 21:57:12 +08:00
xhh
fffc5d7c35
Move authentications into ApiClient
2015-06-05 20:00:32 +08:00
Fredrik Gustafsson
e737964f66
minor refactoring
2015-06-05 13:51:52 +02:00
Fredrik Gustafsson
8f2e84d263
Merge branch 'develop_2.0' into Generic_API_Exception
...
Conflicts:
modules/swagger-codegen/src/main/resources/csharp/apiException.mustache
2015-06-05 12:47:48 +02:00
xhh
947935f3d9
Merge remote-tracking branch 'origin/develop_2.0' into java-auth
...
Conflicts:
modules/swagger-codegen/src/main/java/com/wordnik/swagger/codegen/languages/JavaClientCodegen.java
modules/swagger-codegen/src/main/resources/Java/ApiClient.mustache
modules/swagger-codegen/src/main/resources/Java/api.mustache
samples/client/petstore/java/src/main/java/io/swagger/client/ApiClient.java
samples/client/petstore/java/src/main/java/io/swagger/client/Configuration.java
samples/client/petstore/java/src/main/java/io/swagger/client/api/PetApi.java
samples/client/petstore/java/src/main/java/io/swagger/client/api/StoreApi.java
samples/client/petstore/java/src/main/java/io/swagger/client/api/UserApi.java
samples/client/petstore/java/src/test/java/io/swagger/client/ConfigurationTest.java
samples/client/petstore/java/src/test/java/io/swagger/petstore/test/PetApiTest.java
2015-06-05 18:43:49 +08:00
Fredrik Gustafsson
277287a341
Merge branch 'develop_2.0' of https://github.com/Hadou1/swagger-codegen into develop_2.0
...
Conflicts:
modules/swagger-codegen/src/main/resources/csharp/api.mustache
2015-06-05 12:33:49 +02:00
wing328
5a75eba42b
regenerated perl sample
2015-06-05 18:30:58 +08:00
Fredrik Gustafsson
31c6a0a9da
Extended the api-class generation by a interface generation
2015-06-05 12:29:25 +02:00
Fredrik Gustafsson
a1f156ca19
Updated 'api.mustache' to generate asynchronous methods aswell
2015-06-05 11:39:15 +02:00
geekerzp
eb90b907e7
rebuild python client
2015-06-05 17:02:38 +08:00
wing328
61a7d848f7
rename files in csharp and perl to fix issue
2015-06-05 17:00:11 +08:00
xhh
d70742119b
Update unit tests
2015-06-05 16:45:19 +08:00
xhh
622b5c179a
Merge remote-tracking branch 'origin/develop_2.0' into java-accept-contenttype
...
Conflicts:
modules/swagger-codegen/src/main/java/com/wordnik/swagger/codegen/languages/JavaClientCodegen.java
modules/swagger-codegen/src/main/resources/Java/ApiClient.mustache
modules/swagger-codegen/src/main/resources/Java/api.mustache
samples/client/petstore/java/src/main/java/io/swagger/client/ApiClient.java
samples/client/petstore/java/src/main/java/io/swagger/client/api/PetApi.java
samples/client/petstore/java/src/main/java/io/swagger/client/api/StoreApi.java
samples/client/petstore/java/src/main/java/io/swagger/client/api/UserApi.java
2015-06-05 16:31:21 +08:00
geekerzp
ddc5293e6a
updated api.mustache of python.
2015-06-05 16:19:49 +08:00
geekerzp
a30f537f5f
fixed typo
2015-06-05 16:19:49 +08:00
geekerzp
813c0119aa
added test case for 500 response of python client
2015-06-05 16:19:49 +08:00
geekerzp
8ef4c4401e
updated rest.mustache of python client
2015-06-05 16:19:48 +08:00
geekerzp
5fbda0e206
added test case for 404 response of python client
2015-06-05 16:19:48 +08:00
geekerzp
fbe327ac2f
Updated PythonClientCodegen.java
...
* updated method apiFileFolder.
* udpated method modelFileFolder.
2015-06-05 16:19:48 +08:00
geekerzp
ab6f327f35
Updated python client.
...
* Rename `ResponseError` exception to `ApiException`
* Use `File.separatorChar` to build file path in
PythonClientCodegen.java
* Rename `config.py` module to `configuration.py`
* Rename `swagger.py` module to `api_client.py`
2015-06-05 16:19:48 +08:00
geekerzp
51887c64b5
Updated python codegen.
...
Use File.separatorChar to create invokerPacakge variable instread of '\'
char.
2015-06-05 16:17:29 +08:00
geekerzp
654a73c5a8
rebuild python client
2015-06-05 16:17:29 +08:00
geekerzp
eac884d85b
updated ApiClient of python sdk.
2015-06-05 16:16:48 +08:00
geekerzp
d7aaaea0df
updated config.py of python client.
2015-06-05 16:15:57 +08:00
geekerzp
b09250ed33
added authentication for python client.
...
completed.
2015-06-05 16:15:57 +08:00
geekerzp
0ca97e4b68
added authentication for python client.
...
Not completed
2015-06-05 16:15:14 +08:00
Tony Tam
59ca8bd986
Merge pull request #821 from geekerzp/develop_2.0_objc_test
...
[Objc] Update test case
2015-06-05 00:55:57 -07:00
Tony Tam
e1393d1912
Merge pull request #817 from who/develop_2.0
...
[Android] Enabling cli config options for android generator
2015-06-05 00:53:20 -07:00
Tony Tam
ddb3bd5477
Merge pull request #816 from geekerzp/develop_2.0_objc_auth
...
[Objc] Add authentication support (API key, HTTP basic)
2015-06-05 00:52:35 -07:00
Tony Tam
2ec18a1397
Merge branch 'wing328-php_object_support' into develop_2.0
2015-06-05 00:52:06 -07:00
Tony Tam
34072faccd
merged
2015-06-05 00:51:52 -07:00
Tony Tam
26d9215e43
Merge pull request #808 from wing328/csharp_api_instance
...
[C#] Added ApiClient (Pluggable) and authentication (API key and HTTP basic auth)
2015-06-05 00:42:44 -07:00
Tony Tam
496e06a373
Merge pull request #806 from geekerzp/develop_2.0_python_https
...
[Python] Verified HTTPS with SSL/TLS cert.
2015-06-05 00:42:13 -07:00
Tony Tam
513bd17610
Merge pull request #803 from wing328/objc_fix_filepath
...
[ObjC] Minor fix to output path
2015-06-05 00:41:52 -07:00
Tony Tam
d9fcb777c1
Merge pull request #799 from wing328/perl_apiinvoker_instance
...
[Perl] Make API client more pluggable (ref: #778 )
2015-06-05 00:41:26 -07:00
Tony Tam
05700a6799
Merge pull request #794 from wing328/php_debug_switch
...
[PHP] add debug switch
2015-06-05 00:40:32 -07:00
Tony Tam
29bd743391
Merge pull request #793 from geekerzp/develop_2.0_objc_apiclient
...
Make objc client more pluggable
2015-06-05 00:40:17 -07:00
Tony Tam
13e14652e3
Merge pull request #787 from geekerzp/develop_2.0_python_apiclient
...
[Python] Make API client more pluggable
2015-06-05 00:38:11 -07:00
Tony Tam
b41e88e83a
Merge pull request #785 from wing328/csharp_add_restsharp_dll
...
[C#] Added RestSharp.dll and updated compile.bat
2015-06-05 00:38:05 -07:00
Tony Tam
cbc4da58ab
Merge pull request #783 from xhh/ruby-auth
...
[Ruby] Add authentication support (API key, HTTP basic)
2015-06-05 00:36:12 -07:00
Tony Tam
aecb4adf4a
Merge pull request #791 from xhh/java-api-client
...
[Java] Make API client more pluggable
2015-06-05 00:36:05 -07:00
wing328
ba227b7e72
rename api client
2015-06-04 21:19:16 +08:00
wing328
0423e0a2df
support object response
2015-06-04 21:12:26 +08:00
wing328
afe816efb6
remove unused file
2015-06-04 20:30:41 +08:00
geekerzp
58feda7c8e
Updated test case testCreateAndGetPet of objc client.
2015-06-04 16:44:12 +08:00
Fredrik Gustafsson
217765998d
Extended the APIException by ErrorContent from response body
2015-06-03 16:23:45 +02:00
xhh
0ffe53933d
Bug fix: "null" was used as post body for empty form parameters
...
The form parameters could be empty when all of them are optional and no
values are assigned to them.
2015-06-03 21:17:42 +08:00
xhh
cf4b4de970
Skip null header/form parameters
...
and fix the bug of getting file name for file parameter
2015-06-03 20:26:14 +08:00
xhh
2e285ed562
Support skipping SSL certification verification
...
in Ruby clients by e.g.:
SwaggerClient::Swagger.configure do |config|
config.verify_ssl = false
end
2015-06-03 12:49:09 +08:00
wing328
9b919c54dd
added http basic auth test
2015-06-03 11:21:10 +08:00
xhh
9618960558
Merge branch 'develop_2.0' into ruby-auth
2015-06-03 11:19:40 +08:00
wing328
fceaed34e4
rename apiclient
2015-06-03 10:19:07 +08:00
xhh
eb4973237b
Add comments to code
2015-06-03 10:09:36 +08:00
wing328
9c747e3e37
fix query parameters
2015-06-03 09:21:45 +08:00
wing328
3d16d8b2b6
fix header
2015-06-03 08:34:45 +08:00
Andrew B
1a75489b42
Enabling cli config options for android generator
2015-06-02 09:04:50 -07:00
xhh
24c29acc09
Merge branch 'develop_2.0' into java-api-client
...
Conflicts:
modules/swagger-codegen/src/main/java/com/wordnik/swagger/codegen/languages/JavaClientCodegen.java
2015-06-02 22:36:55 +08:00
Ole Lensmar
2662167372
Merge pull request #805 from hyeghiazaryan/develop_2.0
...
Support for file based config. Implementation for #616 .
2015-06-02 09:33:52 -04:00
Ole Lensmar
e98320862c
Merge pull request #706 from 0legg/feature/retrofit-templates
...
[WIP] add template for Retrofit and Gson
2015-06-02 09:09:41 -04:00
wing328
2d6a7092e3
removed unused file
2015-06-02 20:43:11 +08:00
wing328
7080983521
return exception instead of null for 404, add properties to api exception class
2015-06-02 17:25:38 +08:00
xhh
19540ed7f0
Store response headers and body in ApiException
2015-06-02 15:33:44 +08:00
geekerzp
699df0029b
updated comments for objc client.
2015-06-02 15:33:33 +08:00
geekerzp
86971ee752
added comments for objc client
2015-06-02 11:50:47 +08:00
Hrachya Yeghiazaryan
d258a6c1c2
Merge branch 'develop_2.0' of https://github.com/hyeghiazaryan/swagger-codegen into develop_2.0
2015-06-01 10:44:23 -07:00
hrachya
3e0913a813
removing generic header comments
2015-06-01 10:43:23 -07:00
wing328
762a3279ea
clean up test.php
2015-06-01 14:50:57 +08:00
wing328
f357f4c9d7
fix default header
2015-06-01 14:24:09 +08:00
wing328
8d708c2442
add test case for default header
2015-05-31 11:17:59 +08:00
wing328
83d069d053
add support for obj, remove null from serialized json string
2015-05-31 09:49:24 +08:00
geekerzp
b5429d9e8e
Added authentication for objc client.
2015-05-30 18:04:20 +08:00
Richie Azaria
0996901e72
add documentation -c option and config-help
2015-05-29 13:01:42 -07:00
Oleg Godovykh
ec08d31031
add template for Retrofit and Gson
2015-05-29 12:23:18 -04:00
Ron
ca46405850
Update README.md
2015-05-29 08:53:06 -04:00
Ron
7d7ed15fdc
Update README.md
2015-05-29 08:52:48 -04:00
Ron
34315f7338
Create LICENSE
2015-05-29 08:52:29 -04:00
Ron
26a22a30a1
Create LICENSE
2015-05-29 08:52:03 -04:00
Fredrik Gustafsson
41e4fc79ae
Extended the api-class generation by a interface generation
2015-05-29 12:19:28 +02:00
Fredrik Gustafsson
049299f07f
Updated 'api.mustache' to generate asynchronous methods aswell
2015-05-29 10:53:48 +02:00
wing328
5f36ad3b75
add authentication support
2015-05-29 16:43:27 +08:00
geekerzp
18cf6bcfa6
Updated python client.
...
Verified HTTPS with SSL/TLS.
2015-05-29 15:09:19 +08:00
xhh
a8c526efd5
Add unit tests for Configuration and ApiClient
2015-05-29 12:08:42 +08:00
xhh
62c8f9e1e2
Rebuild Java Petstore sample
2015-05-29 12:08:42 +08:00
xhh
ac134c0afa
Make ApiClient more pluggable for Java
...
- Rename ApiInvoker to ApiClient
- Make ApiClient pluggable by allowing setting the ApiClient field of
API classes
- Introduce a Configuration class, containing the default
ApiClient (which is also customizable)
- Move basePath from API class to ApiClient
- Change static methods in ApiClient to instance level
2015-05-29 12:08:42 +08:00
xhh
a29c3abeb8
Use File.separatorChar in Ruby generator, add comments
2015-05-29 12:05:47 +08:00
xhh
623a1278cf
Add test case for API key auth
2015-05-29 11:57:46 +08:00
xhh
e52694cde0
Regenerate Ruby Petstore sample
2015-05-29 11:57:46 +08:00
xhh
95813714a5
Add support of HTTP basic and API key auth to Ruby codegen
2015-05-29 11:57:46 +08:00
xhh
6a6473ede3
Allow omitting username/password for HTTP basic auth
2015-05-29 11:55:48 +08:00
xhh
e10e1f5249
Refactor auth method naming, add comments
2015-05-29 11:29:06 +08:00
xhh
6eb1a89205
Add authentication helper methods and test cases
2015-05-29 11:28:03 +08:00
xhh
4d25d264c4
Merge remote-tracking branch 'origin/develop_2.0' into java-auth
...
Conflicts:
modules/swagger-codegen/src/main/resources/Java/apiInvoker.mustache
samples/client/petstore/java/src/main/java/io/swagger/client/ApiInvoker.java
2015-05-29 10:08:50 +08:00
hrachya
ba7025d54b
Adding config-help command
2015-05-28 15:02:32 -07:00
hrachya
1f360961e0
Simplifying CliOption class
2015-05-28 14:55:36 -07:00
hrachya
08647b337f
fixing property name
2015-05-28 13:08:52 -07:00
hrachya
c5a7800ec6
fixing typo
2015-05-28 13:02:30 -07:00
hrachya
26a2290078
adding classPrefix, sourceFolder, projectName cli options to objc
2015-05-28 13:01:54 -07:00
wing328
2edcd82094
minor fix to output path
2015-05-28 19:16:26 +08:00
wing328
165efdbdbb
rename apiinvoker to apiclient, add configuration, make apiclient an instance
2015-05-28 18:24:03 +08:00
wing328
412fcf11f9
update file separator
2015-05-28 15:19:05 +08:00
wing328
e993d08563
rename APIClient to ApiClient, APIClientException to APIException
2015-05-28 15:06:31 +08:00
wing328
61bc652229
use file separator
2015-05-28 14:34:39 +08:00
wing328
699f6fff44
update file path
2015-05-28 14:18:05 +08:00
wing328
1a868abdfa
rename APIClient to ApiClient
2015-05-28 10:51:36 +08:00
hrachya
c9c58cbe4c
new -c/--config option for swagger-cli to specify json config file path
...
setting options passed in config file if those were allowed by lang specific CodegenConfig
2015-05-27 17:37:07 -07:00
hrachya
c3055c7cc4
Adding Config and ConfigParser classes
2015-05-27 17:30:42 -07:00
hrachya
2cca1a8c2c
Changing templateDir back to explicit option for cli
2015-05-27 17:22:44 -07:00
hrachya
a9e767cbd8
Rolling back changes to deprecated class
2015-05-27 17:19:34 -07:00
Ron
1657f2e5f7
Merge pull request #801 from rlo2014/develop_2.0
...
Removing comment (// do some magic!) that is no longer necessary and …
2015-05-27 19:48:51 -04:00
rlo2014
e93a377982
Removing comment (// do some magic!) that is no longer necessary and confusing. After olensmar refactor of jax-rs codegen, magic/implementation should be placed in the delegate/implementation as opposed to the api itself. Any logic put in api itself will be overwritten with the next code gen, whereas the delegate implemenation will remain intact.
2015-05-27 14:55:28 -07:00
wing328
2c12312b97
update user agent and add more test cases
2015-05-27 22:44:56 +08:00
wing328
866b546cfd
make api client pluggable
2015-05-27 17:56:39 +08:00
hrachya
74f5c769f9
removing extra file, was committed by mistake
2015-05-26 17:10:19 -07:00
hrachya
1e09f5149e
Add 'invokerPackage', 'groupId', 'arifactId', 'artifactVersion', 'sourceFolder' command line options for java (and all the derived ones jaxrs, spring-mvc ...)
...
Add processOpts override to process java specific options
Move supporting file initialization from constructor to processOpts, since it uses some of the options that are not yet set in the constructor
Add setters
2015-05-26 17:05:53 -07:00
hrachya
e08a5a9d83
Add 'modelPackage' and 'apiPackage' as command line options
...
Add setters for modelPackage and apiPackage
2015-05-26 17:01:07 -07:00
hrachya
d7dec5a43d
Use new functionality to add 't' as a command line option to set 'templateDir'
2015-05-26 16:02:27 -07:00
hrachya
33436d62c3
Get all cliOptions for available codegen configs and add to command line options
...
Add all the specified ones to clientOpts properties
2015-05-26 15:57:01 -07:00
hrachya
9f1504062a
add List<CliOption> cliOptions() method to CodegenConfig interface with default implementation in DefaultCodegen
2015-05-26 15:52:25 -07:00
hrachya
f8cafaaee7
new CliOption class for wrapping org.apache.commons.cli.Option
2015-05-26 15:49:32 -07:00
wing328
4d1d163a73
update php template to debug curl
2015-05-26 23:52:35 +08:00
wing328
171bf969c7
add debug switch to configuration
2015-05-26 23:20:34 +08:00
geekerzp
ca145297e9
Updated ApiClient of objc sdk.
...
When create api instance, if we don't pass the `apiClient` parameter,
then get api client instance from the pool.
2015-05-26 18:00:45 +08:00
wing328
c2c43bba37
make datetime nullable
2015-05-26 17:48:52 +08:00
xhh
951b7a9075
Do not use JSON as default Accept header when no produces present
2015-05-26 10:35:49 +08:00
wing328
f807e34b2b
refactor csharp (no compile error)
2015-05-25 18:21:17 +08:00
xhh
aa03be7f76
Clean up old code
2015-05-25 17:25:32 +08:00
xhh
ed14c515bf
Add comments to string utility methods
2015-05-25 16:01:57 +08:00
geekerzp
2d545c7f0b
updated ApiClient of python sdk.
...
Change staticmethod to instance method.
2015-05-25 15:29:31 +08:00
geekerzp
3beeb6125e
updated ApiClient of python sdk.
...
When create api instance, if we don't pass the `api_client` parameter,
then use the default api_client in `config` module.
2015-05-25 14:31:55 +08:00
xhh
19a8ac4841
Add unit tests
2015-05-25 12:32:24 +08:00
xhh
85d0e08a80
Rebuild Java Petstore client
2015-05-25 12:31:54 +08:00
xhh
fff8972a77
Extract utility methods to the StringUtil class
...
and ignore case when comparing Accept/Content-Type
2015-05-25 12:29:41 +08:00
wing328
92dd5cab93
add restsharp.dll, update compile.bat
2015-05-25 11:44:08 +08:00
xhh
141b580c8c
Minor improvement to Java API client accept and content-type header
2015-05-24 08:52:14 +08:00
Tony Tam
095771d345
Merge pull request #738 from tomtit/issue429
...
Fixes #429 : Handling of composed models has been added.
2015-05-23 15:10:38 -07:00
Alexey Nechaev
5d581c3b03
Fixes #429 : Handling of composed models has been added.
2015-05-24 00:54:25 +03:00
Tony Tam
087c28dae4
rebuilt client
2015-05-23 09:04:46 -07:00
Tony Tam
85c37fbe27
fix for #781
2015-05-23 09:04:40 -07:00
Tony Tam
ad9b790712
updated sample
2015-05-23 09:04:06 -07:00
Tony Tam
82436c5b44
Merge pull request #780 from geekerzp/develop_2.0_objc_contenttype
...
Minor improvement to Objc API Client 'accept' and 'content-type' header
2015-05-23 08:54:53 -07:00
Tony Tam
156afa7795
Merge pull request #778 from wing328/php_apiclient_instance
...
[PHP] Make API client more pluggable
2015-05-23 08:54:33 -07:00
Tony Tam
74dc05bbf5
Merge pull request #776 from wing328/php53_fix_warning
...
[PHP] Fix warning/error related to PHP5.3
2015-05-23 08:53:52 -07:00
Tony Tam
b6d206aff7
Merge pull request #774 from geekerzp/develop_2.0_python_contenttype
...
Minor improvement to Python API Client 'accept' and 'content-type' header
2015-05-23 08:53:34 -07:00
Tony Tam
e3c116312b
Merge pull request #773 from hyperworks/master
...
Adds isPrimitiveType flag to CodegenParameter.
2015-05-23 08:53:06 -07:00
Tony Tam
5527932a8e
Merge branch 'xhh-ruby-void-response' into develop_2.0
2015-05-23 08:52:15 -07:00
Tony Tam
3cb9d094d3
Merge branch 'ruby-void-response' of ssh://github.com/xhh/swagger-codegen into xhh-ruby-void-response
2015-05-23 08:49:28 -07:00
Tony Tam
d83a275b6e
Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0
2015-05-23 08:48:40 -07:00
Tony Tam
98d5dd727b
Merge branch 'tkQubo-feature/swift-PromiseKit' into develop_2.0
2015-05-23 08:48:28 -07:00
Tony Tam
565f054b79
merged
2015-05-23 08:48:18 -07:00
Tony Tam
f4aee62fb4
Merge pull request #775 from wing328/csharp_fix_object_type
...
[C#] Fix "object' type for response
2015-05-23 08:43:14 -07:00
Tony Tam
864f0f5a3a
Merge branch 'sosso-origin/develop_2.0' into develop_2.0
2015-05-23 08:34:01 -07:00
Tony Tam
d447c423b5
updated test to get expected value
2015-05-23 08:33:48 -07:00
Tony Tam
f9ed8a9a08
updated test to get expected value
2015-05-23 08:33:40 -07:00
Tony Tam
3638d79291
updated test to get expected value
2015-05-23 08:33:27 -07:00
geekerzp
2514f3aa08
update SWGApiClient.h of objc client.
2015-05-23 15:29:38 +08:00
geekerzp
3d3cbe115e
minor improvement to objc client accept and content-type header
2015-05-23 15:22:12 +08:00
wing328
691838c47d
add test case for api client instance
2015-05-23 10:35:19 +08:00
wing328
612abf134b
api client as instance (not static class)
2015-05-22 22:09:51 +08:00
geekerzp
87a730b5a2
Merge branch 'develop_2.0' into develop_2.0_objc_contenttype
...
Conflicts:
samples/client/petstore/objc/client/SWGPetApi.m
2015-05-22 17:32:57 +08:00
geekerzp
8d0efd812c
updated unittests of python client
2015-05-22 15:50:09 +08:00
geekerzp
245ce642ce
add test cases for ApiClient.select_header_accept and
...
ApiClient.select_header_content_type of python client.
2015-05-22 15:28:36 +08:00
wing328
df4b952312
fix object type without ref for CSharp
2015-05-22 14:12:53 +08:00
xhh
43cfc7d401
Setup authentications in test cases
2015-05-22 12:07:08 +08:00
xhh
16ba2a54ea
Add test cases for API key and HTTP basic auth
2015-05-22 11:17:44 +08:00
geekerzp
bc9abceef3
removed temp files from python client
2015-05-22 11:12:35 +08:00
geekerzp
8a311d693b
updated python client samples
2015-05-22 10:50:11 +08:00
geekerzp
52807c0724
minor improvement to python client accept and content-type header
2015-05-22 10:45:38 +08:00
William Cheng
fa15f58506
fix warning/error in php5.3
2015-05-22 05:15:46 +08:00
xhh
f616605e7e
Regenerate Java Petstore sample
2015-05-21 22:09:08 +08:00
xhh
3d4b5a10c9
Add support of HTTP basic and API key auth to Java codegen
2015-05-21 22:05:46 +08:00
Ron
2b7bbd9513
Merge pull request #772 from tomtit/issue771
...
Fixes #771 : Unit test has been fixed after merge.
2015-05-21 06:07:00 -06:00
Chakrit Wichian
89e3bcc4bb
Adds isPrimitiveType flag to CodegenParameter.
...
This is required in some languages like Obj-C where there is no automatic value boxing and
handling of primitive types require extra work compared to non-primitive types.
Case in point: BOOL type. To assign BOOL into a dictionary, one needs to box it into an
(NSValue *) instance, so to build a dictionary for sending form data, for example, you
cannot do this in the template:
dict["{{paramName}}"] = {{paramName}};
Because if the parameter ends up being of type BOOL, an error about boxing values will be
generated:
BOOL boolValue = NO;
dict["boolValue"] = boolValue;
^---------------- Cannot do the assignment here.
The fix is to wrap it in @() like so:
BOOL boolValue = NO;
dict["boolValue"] = @(boolValue);
So a flag is needed in CodegenParameter so we can selectively emit the right boxing or
non-boxing assignment in the templates.
2015-05-21 15:28:57 +07:00
Alexey Nechaev
a590239df9
Fixes #771 : Unit test has been fixed after merge.
2015-05-21 10:49:20 +03:00
Tony Tam
0c3f7a54cd
Merge pull request #770 from swagger-api/jaxrs-interface-generation
...
Jaxrs interface generation
2015-05-20 22:52:00 -07:00
Tony Tam
99a11636da
rebuilt
2015-05-20 22:51:30 -07:00
Tony Tam
3a2f258517
Merge branch 'geekerzp-develop_2.0_python_urllib3' into develop_2.0
2015-05-20 22:51:09 -07:00
Tony Tam
3629a190ae
merged
2015-05-20 22:50:59 -07:00
Tony Tam
715a9b8678
merged
2015-05-20 22:50:41 -07:00
Tony Tam
4187be2dc3
Merge pull request #767 from geekerzp/develop_2.0_python_model
...
Pretty print for models of python client
2015-05-20 22:46:41 -07:00
Tony Tam
dd70a13c02
Merge branch 'wing328-php_auth_setting' into develop_2.0
2015-05-20 22:46:02 -07:00
Tony Tam
c8a56add5d
merged
2015-05-20 22:45:52 -07:00
Tony Tam
01ebdb6122
Merge pull request #763 from tomtit/issue728
...
Fixed #728 : Handling of recursive model definitions has been improved.
2015-05-20 22:42:37 -07:00
Tony Tam
e66f9d7fce
Merge pull request #760 from geekerzp/develop_2.0_objc_required_parameter
...
Fix required parameter validation for Objc
2015-05-20 22:42:10 -07:00
Tony Tam
35f63b3f6a
Merge branch 'wing328-php-improve-header' into develop_2.0
2015-05-20 22:41:23 -07:00
Tony Tam
9bf9b3edb7
rebuilt
2015-05-20 22:41:09 -07:00
Tony Tam
92b1a13438
Merge branch 'swinz-develop_2.0_fixSpringMVCRequestParamDefaultValue' into develop_2.0
2015-05-20 22:37:59 -07:00
Tony Tam
515f5440a1
merged
2015-05-20 22:37:51 -07:00
Tony Tam
632480787d
Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0
2015-05-20 22:35:23 -07:00
Tony Tam
e4faa82cfa
Merge branch 'geekerzp-develop_2.0_objc_iso8601' into develop_2.0
2015-05-20 22:35:12 -07:00
Tony Tam
779915a51f
rebuilt
2015-05-20 22:34:54 -07:00
Tony Tam
c509bbcb99
updated
2015-05-20 22:34:29 -07:00
Tony Tam
8231e7e36a
Merge branch 'develop_2.0_objc_iso8601' of ssh://github.com/geekerzp/swagger-codegen into geekerzp-develop_2.0_objc_iso8601
2015-05-20 22:29:26 -07:00
Tony Tam
ee145aebe7
Merge pull request #743 from lugaru1234/model_ids_with_dots
...
Fixed #593 : Python code failure caused by Model IDs with dots has been fixed
2015-05-20 22:27:53 -07:00
Tony Tam
11dd7784f8
rebuilt
2015-05-20 22:20:51 -07:00
Tony Tam
6fe6a6daa7
Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0
2015-05-20 22:16:55 -07:00
Tony Tam
e921b7cbdc
Merge branch 'Helmsdown-mime-type-fixes' into develop_2.0
2015-05-20 22:16:38 -07:00
Tony Tam
fd928a3d16
merged
2015-05-20 22:16:24 -07:00
Tony Tam
5a4d3317c2
Merge pull request #723 from swinz/develop_2.0_fixSpringMVCHeaderRequired
...
SpringMVC template is ignoring the required attribute in swagger definition when generating RequestHeader annotation
2015-05-20 22:14:29 -07:00
Tony Tam
ab23cccab4
Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0
2015-05-20 22:13:03 -07:00
Tony Tam
7d4cc82077
Merge branch 'who-feature/android-maven-artifact-publishing' into develop_2.0
2015-05-20 22:12:45 -07:00
Tony Tam
e58f8db9aa
merged
2015-05-20 22:12:37 -07:00
Tony Tam
b059910a01
Merge pull request #700 from wing328/csharp_restcsharp
...
Use RestSharp for CSharp API client
2015-05-20 21:52:28 -07:00
Ole Lensmar
19de558f4a
Merge branches 'develop_2.0' and 'jaxrs-interface-generation' of https://github.com/swagger-api/swagger-codegen into jaxrs-interface-generation
...
Conflicts:
modules/swagger-codegen/src/main/java/com/wordnik/swagger/codegen/DefaultCodegen.java
2015-05-20 22:51:49 -06:00
Tony Tam
2d9772e7a9
Merge branch 'tomtit-issue646' into develop_2.0
2015-05-20 21:48:14 -07:00
Tony Tam
0c1bdc0fd6
merged
2015-05-20 21:48:03 -07:00
Tony Tam
e592d1b46b
Merge pull request #660 from denyago/master
...
Improve README for OS X Users with random Java versions
2015-05-20 21:42:40 -07:00
Tony Tam
8dbb1aa8e9
Merge pull request #654 from kvelakur/master
...
Issue #642 - Removing the unnecesary \n added to generated example reque...
2015-05-20 21:42:25 -07:00
Tony Tam
ef5cb5021b
Merge branch 'cchafer-akka-scala' into develop_2.0
2015-05-20 21:41:24 -07:00
Tony Tam
ff81789b37
merged
2015-05-20 21:41:17 -07:00
Tony Tam
e6efcdb6af
added files, updated parser version
2015-05-20 21:39:09 -07:00
xhh
9cf4c66331
Update method returning value comment
2015-05-21 11:30:30 +08:00
Tony Tam
956a3c024c
Merge pull request #766 from swagger-api/core-1.5.2-M2-compatibility
...
updated core dependency version to 1.5.2-M2 with related fixes
2015-05-20 17:55:01 -07:00
Ole Lensmar
efb40e149f
brought back scala tests
2015-05-20 18:23:44 -06:00
Ole Lensmar
a6876b8028
Merge branches 'core-1.5.2-M2-compatibility' and 'jaxrs-interface-generation' of https://github.com/swagger-api/swagger-codegen into jaxrs-interface-generation
2015-05-20 18:14:54 -06:00
Ole Lensmar
713e7a6584
updated core dependency version to 1.5.2-M2 with related fixes
2015-05-20 18:06:37 -06:00
Ole Lensmar
778ce0b9f6
Merge branches 'develop_2.0' and 'jaxrs-interface-generation' of https://github.com/swagger-api/swagger-codegen into jaxrs-interface-generation
2015-05-20 17:03:51 -06:00
Ole Lensmar
05268c2742
added system property for setting impl folder
2015-05-20 16:50:26 -06:00
Ole Lensmar
17d8d14cc8
defaulted sources to go to src/gen/main and added possibility to set impl folder via system property at command-line
2015-05-20 16:49:50 -06:00
wing328
4f310cd7b1
update function comment
2015-05-20 22:13:24 +08:00
geekerzp
9ff0d90853
Updated python models.
...
Overwrite the instance method `__repr__`,
make the `pprint` method output properties infos of the models.
2015-05-20 22:05:34 +08:00
wing328
6e13403a37
fix http basic auth, add test cases for new api client without host
2015-05-20 21:55:16 +08:00
xhh
8bf84aabe5
Add test case for nil return value
2015-05-20 21:13:20 +08:00
xhh
50a767ef03
Regenerate Ruby Petstore sample
2015-05-20 21:13:02 +08:00
xhh
4702285184
Correct indentation
2015-05-20 21:08:14 +08:00
xhh
dde73d592d
Return nil in Ruby clients for operations that have no response type defined
2015-05-20 21:06:42 +08:00
wing328
9a1dedbe76
add test case (getPetbyId), remove old authenetication (only supports header)
2015-05-20 18:43:34 +08:00
wing328
20439e646f
add test case and prefix support
2015-05-20 18:25:35 +08:00
wing328
06c7a6a109
add todo for oauth, support multiple api key
2015-05-20 17:13:52 +08:00
wing328
278a653154
add authentication
2015-05-20 17:13:52 +08:00
geekerzp
3a8b149f09
minor improvement to objc api client accept and content-type header
2015-05-20 15:52:00 +08:00
Tony Tam
deca6a0329
Merge pull request #662 from xhh/ruby-module-structure
...
Organize the generated Ruby code into a module structure
2015-05-19 20:16:52 -07:00
kubo_takaichi
7205407818
Add another date formatter (which should be externalized though)
2015-05-20 11:27:45 +09:00
kubo_takaichi
2f6b975669
Remove final mark
2015-05-20 11:27:45 +09:00
kubo_takaichi
16a4b60526
Handle NSNull
2015-05-20 11:27:45 +09:00
kubo_takaichi
9cf1835230
Fix bug
2015-05-20 11:27:45 +09:00
kubo_takaichi
3623a0dd56
Modify Cartfile
2015-05-20 11:27:45 +09:00
kubo_takaichi
e0c0d2a72a
Remove dependency on SwiftyJSON
2015-05-20 11:27:45 +09:00
kubo_takaichi
dbfc46658f
Add once-removed Array extension method
2015-05-20 11:27:45 +09:00
kubo_takaichi
bb3ec04ed1
Introduce Decoders class
2015-05-20 11:27:45 +09:00
kubo_takaichi
be7fccce68
Update JSONEncodable implementations
2015-05-20 11:27:45 +09:00
kubo_takaichi
f21d8503d5
Add manager storage to prevent request cancellation
2015-05-20 11:27:45 +09:00
kubo_takaichi
063e6d062d
Introduce decodable array and dictionary
2015-05-20 11:27:45 +09:00
kubo_takaichi
0b7d758077
Add extension methods for primitives
2015-05-20 11:27:45 +09:00
kubo_takaichi
5dfa753f5c
Do refactor and add extension methods
2015-05-20 11:27:45 +09:00
kubo_takaichi
23d714f2f1
Add swift code generator
2015-05-20 11:27:45 +09:00
kubo_takaichi
f627c81399
Remove some characters from param name and operation id
...
(since swagger-doc emits improper characters)
2015-05-20 11:27:45 +09:00
xhh
0fb1918196
Revert unnecessary changes on whitespace
2015-05-20 10:13:29 +08:00
xhh
312f1c6f25
Avoid the importPath field
2015-05-20 09:23:45 +08:00
xhh
792059f195
Avoid warnings for ruby gem building
2015-05-20 09:23:45 +08:00
xhh
70c74d282f
Fix tests
2015-05-20 09:23:45 +08:00
xhh
ab4975b7f1
Regenerate petstore ruby sample
2015-05-20 09:23:44 +08:00
xhh
6eaaa5cc69
Include base_object model into module structure
2015-05-20 09:23:44 +08:00
xhh
f766614b4d
Clean old files generated
2015-05-20 09:23:44 +08:00
xhh
fcf1327c1f
Rename swagger-client to swagger_client
...
according to guides from rubygems: http://guides.rubygems.org/name-your-gem/
2015-05-20 09:23:44 +08:00
xhh
b140f1f152
Fix example code in README.md of Ruby petstore sample
2015-05-20 09:23:44 +08:00
xhh
87904e8b69
Set version dynamically in ruby codegen
...
Conflicts:
modules/swagger-codegen/src/main/resources/ruby/swagger/version.mustache
samples/client/petstore/ruby/lib/swagger/version.rb
2015-05-20 09:23:44 +08:00
xhh
194e9e6f05
Make petstore tests pass
2015-05-20 09:23:43 +08:00
xhh
8dd7d3aacd
Regenerate ruby petstore sample code
2015-05-20 09:23:43 +08:00
xhh
104bcc1f89
Organize generated Ruby code into a module
2015-05-20 09:23:43 +08:00
Fake Bob Dobbs
a55c03013d
use the defaultValue for spring mvc RequestHeader annotations; carry over the required value if set for RequestPart annotations
2015-05-19 11:47:34 -04:00
Fake Bob Dobbs
b783363c56
move the defaultValues for Forms and Headers as well
2015-05-19 11:45:48 -04:00
Alexey Nechaev
f0e4ea1780
Fixed #728 : Handling of recursive model definitions has been improved.
2015-05-19 18:36:03 +03:00
Tony Tam
6a336f2e1e
Merge pull request #758 from xhh/fix-android-form-test
...
Fix test of updatePetWithForm for Android Petstore sample
2015-05-19 08:29:48 -07:00
Ron
312637c94b
Merge pull request #762 from wing328/update_readme
...
Update README.md with new generators
2015-05-19 07:21:52 -06:00
William Cheng
e717f74a0a
update readme with new generators
2015-05-19 21:15:09 +08:00
Nadezhda Makarkina
3dde19bb59
Fixed #593 : Python code failure caused by Model IDs with dots has been fixed
2015-05-19 14:31:42 +03:00
geekerzp
a0abea4b72
added required parameters check for objc
2015-05-19 17:12:46 +08:00
wing328
5744bd0138
better exception using InvalidArgumentException
2015-05-19 16:21:06 +08:00
xhh
db9ca1a485
Fix test of updatePetWithForm for Android Petstore sample
2015-05-19 15:42:29 +08:00
wing328
af260cba41
update api client to support default header
2015-05-19 15:33:03 +08:00
geekerzp
a77ae51318
update python tests
2015-05-19 15:21:09 +08:00
wing328
5aad44e628
added back test case for updatePetWithForm
2015-05-19 10:15:36 +08:00
wing328
41e178e268
better accept and content-type for php, added test cases
2015-05-18 22:16:54 +08:00
Tony Tam
e068ad4494
Merge pull request #756 from wing328/perl_improve_accept_header
...
[Perl] better logic for accept and content-type, added test cases
2015-05-18 06:36:11 -07:00
wing328
7fc2f74851
remove commented code
2015-05-18 16:39:33 +08:00
wing328
abbea5ec4c
better logic for accept and content-type, added test cases
2015-05-18 16:23:46 +08:00
Tony Tam
72a4d2df2f
Merge pull request #755 from wing328/ruby_cleanup_sample
...
[Ruby] Cleanup Ruby Petstore sample and bug fix
2015-05-17 21:41:21 -07:00
William Cheng
05ac516ffa
clean up ruby sample, remove commented code, bug fix
2015-05-18 04:30:26 +08:00
Tony Tam
01423d4a6b
Merge pull request #753 from wing328/ruby_model_improve
...
[Ruby] bug fixes for posting with sub-models and enhancements (refactoring)
2015-05-17 09:34:20 -07:00
William Cheng
3de9b4bfc8
remove (duplicated) object_to_http_body and object_to_hash from swagger.rb
2015-05-17 23:47:55 +08:00
William Cheng
92a2011207
fix post model, update rspec
2015-05-17 23:38:51 +08:00
William Cheng
8710fbfde7
add base object
2015-05-17 23:36:13 +08:00
Ron
0c94b89e42
Merge pull request #750 from sebest/patch-1
...
Fix a typo in the README
2015-05-17 07:33:48 +02:00
Sebastien Estienne
9e382ecf9a
Fix a typo in the README
2015-05-16 22:05:44 -07:00
Tony Tam
0e0e265a2a
Merge pull request #746 from wing328/ruby_fix_contenttype
...
Minor improvement to Ruby API Client 'accept' and 'content-type' header
2015-05-16 09:13:58 -07:00
Tony Tam
d6ac7c5ecf
Merge pull request #659 from wing328/add_php_unit_test
...
Bug fix for PHP client POST (model) and add more PHP test cases
2015-05-16 09:13:35 -07:00
Tony Tam
8501ffe240
Merge pull request #716 from ponelat/fix/click-on-return-type-in-dynamic-html
...
Fix/click on return type in dynamic html
2015-05-16 09:11:26 -07:00
Tony Tam
919bab0765
Merge pull request #717 from ponelat/fix/dyn-html-pos-error
...
Fix dynamic-html positioning of parameters
2015-05-16 08:56:51 -07:00
Ron
3e719d087f
Merge pull request #715 from ponelat/fix/dead-css-include
...
html: build and remove dead css include
2015-05-16 17:23:49 +02:00
Tony Tam
472e2afd8e
Merge pull request #749 from wing328/perl_add_unittest
...
Add unit testing for Perl
2015-05-16 06:56:53 -07:00
geekerzp
68b0259c47
updated readme.md of python
2015-05-16 18:05:06 +08:00
geekerzp
9809ce1d18
updated python unittests
2015-05-16 17:30:42 +08:00
William Cheng
7a5db5e665
add pom.xml for perl integration test
2015-05-16 16:44:32 +08:00
Tony Tam
6ec7cf5a9d
updated request process
2015-05-16 01:09:01 -07:00
Tony Tam
f4cbd88e2c
fixed ordering
2015-05-16 00:45:42 -07:00
William Cheng
9904c0e09f
add unit testing for pet
2015-05-16 15:37:58 +08:00
Fake Bob Dobbs
e4f5243e54
add defaultValues value to the SpringMVC RequestParam annotation
2015-05-15 17:17:46 -04:00
Fake Bob Dobbs
33138c139f
A parameter's default value is not flowing from the swagger definition to the actual API implementation. This change makes the property from the swagger def json available to the templates.
2015-05-15 16:55:49 -04:00
Tony Tam
a2d2deeb0c
Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0
2015-05-15 11:27:16 -07:00
Tony Tam
b4674d6fc5
template updates, tests
2015-05-15 11:27:03 -07:00
wing328
1f6a19b684
minor improvement to ruby api client accept and content-type header
2015-05-15 20:58:59 +08:00
geekerzp
c06cb38d64
updated objc client to support iso8601 datetime format
2015-05-15 17:49:56 +08:00
Josh Ponelat
3bc319d534
dynamic-html: refactor parameters view
2015-05-15 09:28:57 +02:00
Josh Ponelat
30496ffdc3
html: remove dead css line
2015-05-15 09:22:40 +02:00
Josh Ponelat
3544136ab1
dynamic-html: make sure clicking on return type works
2015-05-15 09:21:54 +02:00
geekerzp
6826a1d7df
updated readme.mustache in python client
2015-05-15 14:51:51 +08:00
geekerzp
d798b943f5
added python 2.7 and python 3.4 test environments
2015-05-15 14:38:06 +08:00
wing328
4466b6e15e
add test case for upload file, improve error handling
2015-05-15 11:08:33 +08:00
Tony Tam
0248d6fd9f
Merge pull request #677 from wing328/fix_swagger_type2
...
Fix PHP swagger type
2015-05-14 11:50:57 -04:00
Tony Tam
bc66894553
Merge pull request #688 from xhh/scala-form-params
...
Add form parameters support to Scala codegen
2015-05-14 11:50:42 -04:00
wing328
c12673a407
fix error handling for 4xx, 5xx returned by server
2015-05-14 14:16:12 +08:00
geekerzp
86e48ceef8
refactor python client using urllib3
2015-05-14 10:45:05 +08:00
Ole Lensmar
adcd0f4bb8
changed interface to abstract class instead so we can use Override annotation to warn if we get dead methods when the definitions changes
2015-05-13 15:58:20 -07:00
Ole Lensmar
75b39e812e
refactored to create separate serviceinterface, implementation and corresponding factory. JaxRs class uses the factory to find the implementation. Also fixed possibility for a code generator to control which API files that should be overwritten
2015-05-12 13:18:35 -04:00
Tony Tam
622d883344
fixed input type
2015-05-12 06:57:37 -04:00
Tony Tam
8519480f2c
removed some cruft
2015-05-12 06:50:45 -04:00
Tony Tam
f9db729e75
added qt5
2015-05-12 06:05:09 -04:00
Tony Tam
0b2eced6a3
rebuilt
2015-05-12 06:05:00 -04:00
Tony Tam
dae01b5043
template update
2015-05-12 06:04:44 -04:00
Tony Tam
1912973d36
enabled qt5
2015-05-12 06:04:23 -04:00
Tony Tam
037a00720f
added qt5 samples, script
2015-05-12 06:04:10 -04:00
Tony Tam
c2ee64e669
fixed version
2015-05-12 06:03:45 -04:00
Tony Tam
e703fc7982
fixed version
2015-05-12 06:03:37 -04:00
Tony Tam
5a1fa6ee65
added qt5 c++ templates
2015-05-12 05:56:12 -04:00
Tony Tam
d6016757cb
Merge pull request #705 from wing328/fix_required_parameter
...
Fix required parameter validation for Java, Android, PHP and Ruby
2015-05-12 05:48:22 -04:00
Tony Tam
08184aab1d
Merge pull request #679 from xhh/petstore-scala-tests
...
Fix tests for Scala petstore sample
2015-05-12 05:48:11 -04:00
Tony Tam
e33fbc67ad
Merge pull request #648 from geekerzp/develop_2.0_objc_naming
...
Updated naming convention in objc client.
2015-05-12 05:47:51 -04:00
Tony Tam
f80238ae2d
Merge pull request #737 from wing328/perl_codegen
...
Add templates for Perl
2015-05-12 05:47:25 -04:00
Ron
75ff9089af
Merge pull request #739 from tomtit/revert726
...
Reverted JsonUtil.mustache for JavaClientCodegen after PR #726 .
2015-05-12 09:42:37 +02:00
wing328
2f5f2b367b
update package name to confirm to csharp convention, fix default header
2015-05-12 12:45:59 +08:00
Alexey Nechaev
66dea18b61
Reverted JsonUtil.mustache after PR #726 .
2015-05-08 12:47:35 +00:00
Lorinda Brandon
bae40ded74
Update README.md
2015-05-07 19:23:49 -04:00
William Cheng
fc43828c20
update type mapping, update test.pl to use local file for testing upload
2015-05-08 03:58:02 +08:00
William Cheng
063a1ffd36
update type list in deserialize
2015-05-08 03:58:02 +08:00
William Cheng
1d4735f76d
update subroutine argument
2015-05-08 03:58:01 +08:00
William Cheng
c03250132d
update error message, update test script
2015-05-08 03:58:01 +08:00
William Cheng
48844442fc
test post body (model), fix to_hash attribute mapping
2015-05-08 03:58:01 +08:00
William Cheng
f69fb40c71
add methods for static variable
2015-05-08 03:58:01 +08:00
William Cheng
0a34793f5a
add inheritance to object (model)
2015-05-08 03:58:00 +08:00
William Cheng
07cd23edac
seralization and deserialization work, get_pet_by_id and
...
update_pet_with_form work
2015-05-08 03:58:00 +08:00
William Cheng
a7ef1262e5
fix all swagger.pl syntax issue
2015-05-08 03:58:00 +08:00
William Cheng
c5fcf3ba2c
remove pl files
2015-05-08 03:58:00 +08:00
William Cheng
d206035e0f
add perl support - api template, bin, codegen
2015-05-08 03:57:59 +08:00
russellb337
2eeb96116d
simplifying diff
2015-05-07 12:16:44 -07:00
russellb337
2edfb96c36
swagger codegen should honor global mime types
2015-05-07 12:02:25 -07:00
Tony Tam
c7e22b7a3b
Merge pull request #726 from who/feature/gson-for-android-client
...
Feature: Use gson for android-client instead of jackson
2015-05-07 06:26:37 -07:00
Andrew B
20ced771ba
Restoring the pom.xml so integration tests work
2015-05-07 01:09:25 -07:00
Andrew B
01b7385a5e
Implementing gson in android client templates
2015-05-06 22:54:25 -07:00
wing328
070a6203e0
remove php comment
2015-05-07 13:35:19 +08:00
who
902c56f09b
Initial commit of jackson-to-gson
2015-05-06 17:46:54 -07:00
russellb337
129086eea7
merge latest from develop_2.0 to fork
2015-05-06 13:44:10 -07:00
Tony Tam
157da246c0
added async test sample
2015-05-06 12:56:45 -07:00
Fake Bob Dobbs
321dfb7311
For SpringMVC, RequestHeader annotations are not setting the required attribute, even when required is false (RequestHeader uses default of true). This change always sets the required param
2015-05-06 09:05:57 -04:00
Tony Tam
65097a4908
Merge pull request #680 from geekerzp/develop_2.0_python_testing
...
Bug fix for deserialize model issue and added unit tests for python client
2015-05-04 21:11:35 -07:00
Tony Tam
df2cbfd0e9
Merge pull request #720 from akras14/master
...
Fixes a bug with Node.js example generating invalid package.json and swa...
2015-05-04 16:07:26 -07:00
Alex Kras
df95114a93
Fixes a bug with Node.js example generating invalid package.json and swagger.json
...
Currently string "... You can find out more about Swagger at <a href=\"http://swagger.io \">http://swagger.io </a> or ... " gets URL encoded, resuling in Node js throwing "Unable to parse" error.
Use of {{{ }}} forces mustache to skip URL encoding
http://mustache.github.io/mustache.5.html#Partials
2015-05-04 15:07:03 -07:00
Anthony Sosso
f7d30c847f
Java: support x-www-form-urlencoded for PUT, POST, DELETE
2015-05-01 15:25:54 -07:00
who
b94eb443ea
Adding some tests that were accidentally deleted
2015-04-30 12:52:21 -07:00
Ron
b70f5bc98b
Merge pull request #709 from eerwitt/update_documentation_links
...
Found the 2.0.17 tag under 2.0.17 instead of v2.0.17.
2015-04-30 21:27:15 +03:00
e3
9876e792f1
Found the 2.0.17 tag under 2.0.17 instead of v2.0.17.
2015-04-30 11:22:45 -07:00
Ron
e3f09ae4cc
Merge pull request #708 from eerwitt/update_documentation_links
...
Linked to the 2.0.18 tag instead of the no longer existing 2.0.17.
2015-04-30 21:21:32 +03:00
e3
cd2e030dc1
Linked to the 2.0.18 tag instead of the no longer existing 2.0.17.
2015-04-30 11:16:16 -07:00
who
6be2c06ed3
Adding maven publish functionality for android client
2015-04-30 10:34:43 -07:00
wing328
2e85871a4b
remove hello.txt (created by mvn test)
2015-04-30 17:12:25 +08:00
wing328
47a8ef3031
fix required parameters in ruby
2015-04-30 17:01:36 +08:00
wing328
93e4ef0eec
fix required parameters check for php
2015-04-30 16:52:33 +08:00
wing328
303378c5eb
fix android required parameter check
2015-04-30 16:29:21 +08:00
Andrew B
5082f69631
Adding maven publish functionality for android client
2015-04-29 22:08:27 -07:00
Tony Tam
abe072c83d
Merge pull request #703 from MaorBril/master
...
Added support for Basic Auth
2015-04-29 21:09:48 -07:00
maorb
5fbd0afdc5
Added support for Basic Auth
2015-04-29 18:19:16 -07:00
Tony Tam
4725dfb121
Merge pull request #702 from 0legg/feature/android-gradle
...
Jar and aar support for Android
2015-04-29 17:50:09 -07:00
Oleg Godovykh
14c2d14fc2
provide both jar and aar
2015-04-29 14:18:44 -04:00
Oleg Godovykh
119a981701
add possibility to create aar library
2015-04-29 13:39:00 -04:00
wing328
fb3088b765
fixed required parameter in java api
2015-04-29 17:31:38 +08:00
wing328
e7b170bf3c
better comment on csharp api, add ParameterToString to handle date
2015-04-29 16:27:08 +08:00
wing328
96d837274e
udpate csharp template with better comment and ParameterToString
2015-04-29 11:00:05 +08:00
wing328
8818c209df
udpate csharp client with restsharp
2015-04-29 10:56:24 +08:00
wing328
5c057e1306
refactor csharp client using restsharp, getpetbyid working
2015-04-29 10:55:49 +08:00
Tony Tam
6c23a21312
Merge pull request #675 from marcinkiewiczblazej/issue-674
...
Fix for issue #674
2015-04-28 15:21:51 -07:00
Tony Tam
2f8e0bb09c
Merge pull request #699 from 0legg/feature/android-gradle
...
Replace maven settings for Android client with gradle
2015-04-28 15:13:23 -07:00
Oleg Godovykh
b6495a9fc2
replace maven settings for Android client with gradle
2015-04-28 17:49:59 -04:00
Tony Tam
8952759eda
Merge pull request #693 from lugaru1234/multiple_tags_operations
...
Generation of operations with multiple tags has been fixed #356
2015-04-28 07:03:23 -07:00
Tony Tam
c96f5f6fa8
added excludes for logback.xml per https://github.com/swagger-api/swagger-codegen/issues/689
2015-04-27 22:51:52 -07:00
Nadezhda Makarkina
b0d2d1116b
Generation of operations with multiple tags has been fixed #356
2015-04-27 13:25:08 +03:00
xhh
4a55223a8f
Add form parameters support to Scala codegen
2015-04-24 23:57:17 +08:00
geekerzp
3aa9982b23
Fixed issue that it will throw error when deserialize model in python client.
2015-04-23 18:19:08 +08:00
geekerzp
7d706f6a00
Added pom.xml for python client.
2015-04-23 18:09:32 +08:00
geekerzp
161aeb393b
Add image file for python unit tests.
2015-04-23 17:38:57 +08:00
geekerzp
f9195a8a0e
Added unit tests for python client.
2015-04-23 17:13:26 +08:00
Alexey Nechaev
9a36174685
Clean up of '\n' escaping.
2015-04-23 11:50:07 +03:00
xhh
4f5f6a9e8f
Include Scala petstore sample into integration test
2015-04-23 15:27:44 +08:00
xhh
78072f753c
Fix tests for Scala petstore sample
2015-04-23 09:38:27 +08:00
wing328
d5a3cc7300
fix php swagger type
2015-04-23 00:42:36 +08:00
Alexey Nechaev
fc0be6d503
Fixes #646 : Example field handling has been fixed.
2015-04-22 16:17:28 +03:00
Alexey Nechaev
699973dcfe
Group and version are avaiable from parent pom.
2015-04-22 16:11:16 +03:00
Blazej Marcinkiewicz
465266e219
Updated Java Spring MVC query param generation to include 'required' parameter if it's available.
2015-04-22 11:52:46 +02:00
Tony Tam
5c935a4c29
Merge pull request #668 from wing328/fix_swagger_type
...
[CSharp] Bug fix for swagger type
2015-04-21 10:01:35 -07:00
wing328
95ff0b9313
remove pettest, which is for testing only
2015-04-21 23:16:54 +08:00
wing328
eed04560c0
fix string?
2015-04-21 23:16:17 +08:00
William Cheng
2c0e8f6079
fix csharp model name issue
2015-04-21 22:42:13 +08:00
geekerzp
152eabbd6a
Fixed PetstoreClient.xccheckout.
2015-04-21 16:33:28 +08:00
geekerzp
60ab624b23
Updated xcode project for petstore
2015-04-21 16:23:08 +08:00
geekerzp
4dd793c0ac
Updated naming convention in objc client.
2015-04-21 16:23:08 +08:00
Tony Tam
7f4916f333
Merge pull request #664 from geekerzp/develop_2.0_python_content_type
...
Fixed encoding issue for request json body in python client.
2015-04-20 21:46:06 -07:00
Tony Tam
bf4d0a5466
Merge pull request #663 from wing328/better_method_doc
...
Better method documentation
2015-04-20 21:43:41 -07:00
geekerzp
d053d464dd
Fixed encoding issue for request json body in python client.
2015-04-20 18:05:16 +08:00
William Cheng
5465708a42
add method documentation to android and scala
2015-04-19 23:51:46 +08:00
William Cheng
3622cfd169
add method documentation for objc client
2015-04-19 23:41:26 +08:00
William Cheng
ae389a8993
update python method documentation
2015-04-19 23:23:09 +08:00
Denis Yagofarov
1d175c1c7d
+ advices for OS X Users
2015-04-18 22:41:18 +03:00
wing328
7e37f3294a
bug fix for post (model) and update php test cases
2015-04-17 20:01:58 +08:00
Karthik Velakur
1e273640b4
Issue #642 - Removing the unnecesary \n added to generated example requests
2015-04-16 13:26:52 -04:00
Tony Tam
cbbe29cf70
Merge pull request #651 from wing328/method_name_style
...
Update method name based on style guide
2015-04-16 10:09:47 -07:00
wing328
c87579e1f7
fix rspec due to change of optional parameter in ruby method
2015-04-17 01:03:15 +08:00
wing328
c30ed059fe
update php api test with SwaggerClient.php
2015-04-17 00:26:06 +08:00
wing328
676c4d0835
add back php unit testing and readme to PHP SwaggerClient sample code
2015-04-17 00:26:06 +08:00
wing328
4c717829b3
update test.php, remove old SwaggerPetstore-php
2015-04-17 00:26:06 +08:00
wing328
8512259d02
update method name based on style guide, update petstore sample
2015-04-17 00:26:06 +08:00
Tony Tam
e45b04ef32
Merge pull request #649 from xhh/ruby-optional-params
...
Add support of optional parameters to Ruby codegen
2015-04-16 09:11:28 -07:00
xhh
de21088619
Support optional body parameter
2015-04-16 18:20:36 +08:00
xhh
61bf7f49cc
Remove redundant blank lines
2015-04-16 15:56:08 +08:00
xhh
a819e4d523
Support optional parameters in Ruby client
...
* Pass optional parameters via the `opts` Hash
* Handle query parameters in a way similar to header/form parameters to
support parameter name normalization, e.g. the "additional_metadata"
key is passed for "additionalMetadata"
* Rename variables to be consistent: `query_params`, `header_params` and
`form_params`
* Remove unnecessary blank lines
2015-04-16 15:56:08 +08:00
Tony Tam
57ca71fcc9
Merge pull request #626 from wing328/fix_ruby_rspec
...
Fixed Ruby rspec
2015-04-15 22:56:54 -07:00
Tony Tam
a03574e119
Merge pull request #631 from xhh/ruby-config
...
Fix hard-coded values in Ruby client: scheme, host and base_path
2015-04-15 22:54:46 -07:00
Tony Tam
19d7dad33c
Merge pull request #618 from wing328/python3_codegen
...
Added back python 3 codegen
2015-04-15 22:53:15 -07:00
Tony Tam
2cd8ba9875
Merge branch 'geekerzp-develop_2.0_objc_tests' into develop_2.0
2015-04-15 22:49:05 -07:00
Tony Tam
dc11c94514
Merge branch 'develop_2.0_objc_tests' of https://github.com/geekerzp/swagger-codegen into geekerzp-develop_2.0_objc_tests
2015-04-15 22:46:46 -07:00
Tony Tam
037fe442dc
Merge branch 'geekerzp-develop_2.0_objc_optional_property' into develop_2.0
2015-04-15 22:44:03 -07:00
Tony Tam
0525d66b86
regenerated
2015-04-15 22:43:48 -07:00
Tony Tam
a168c4bf06
Merge branch 'develop_2.0_objc_optional_property' of https://github.com/geekerzp/swagger-codegen into geekerzp-develop_2.0_objc_optional_property
2015-04-15 22:12:01 -07:00
Tony Tam
a465edd890
Merge pull request #645 from who/develop_2.0
...
[PHP Templates] Fixing a bug which was preventing payloads to serialize into JSON
2015-04-15 16:51:24 -07:00
who
164a01ed12
Fixing a bug which was preventing payloads to serialize into JSON
2015-04-15 16:17:21 -07:00
Tony Tam
39602c4b2b
Merge pull request #644 from hyeghiazaryan/develop_2.0
...
Adding defaultHeaders dictionary to generated API classes.
2015-04-15 14:24:20 -07:00
hrachya
33dfcd247d
Adding defaultHeaders dictionary to generated API classes. defaultHeaders will be merged with headerParams before sending the request.
...
fix for https://github.com/swagger-api/swagger-codegen/issues/638
2015-04-15 13:02:09 -07:00
Tony Tam
1617b76e27
Merge pull request #637 from hyeghiazaryan/develop_2.0
...
Adding import for Foundation.h to SWGQueryParamCollection.h
2015-04-15 10:08:21 -07:00
geekerzp
0a9df88e53
Using propertyIsOptional to implement optional property instead of
...
using `Optional` protocol in objc client.
2015-04-15 17:53:45 +08:00
geekerzp
989641892e
Remove outdated tests in objc client
2015-04-15 15:10:46 +08:00
hrachya
21fcbc7acb
Adding import for Foundation.h to SWGQueryParamCollection.h
...
fix for https://github.com/swagger-api/swagger-codegen/issues/636
2015-04-14 13:20:38 -07:00
Tony Tam
dfa17d2291
Merge pull request #630 from who/develop_2.0
...
Making default PHP namespace generic and fix issues 628 and 635
2015-04-14 12:35:44 -07:00
who
f4a2eff4b7
Fixing nested model deserialization - Issue #635
2015-04-14 12:24:59 -07:00
Tony Tam
f9fd511eb0
Merge pull request #634 from hyeghiazaryan/develop_2.0
...
Adding toParamName override to ObjcClientCodegen.java
2015-04-14 11:36:25 -07:00
hrachya
ff71a2cc60
Adding toParamName override to ObjcClientCodegen.java
...
fix for https://github.com/swagger-api/swagger-codegen/issues/633
2015-04-14 11:23:09 -07:00
xhh
41371bd901
Initialize a default configuration object
2015-04-14 15:03:21 +08:00
xhh
7db7b146be
Fix hard-coded values in Ruby client: scheme, host and base_path
2015-04-14 12:32:25 +08:00
who
de25d63838
Making the default PHP package name more generic instead of being specific to Petstore
2015-04-13 16:27:30 -07:00
who
42829ffb13
A proposed fix for Issue #628
2015-04-13 13:14:10 -07:00
Tony Tam
444666a365
Merge pull request #629 from who/develop_2.0
...
Correct usage of strpos in PHP APIClient mustache template
2015-04-13 12:30:41 -07:00
who
41db8798af
correct usage of strpos
2015-04-13 12:22:38 -07:00
Tony Tam
33bd614a42
Merge pull request #625 from geekerzp/develop_2.0_python_form_params
...
Fixed request content-type in python client
2015-04-13 10:26:17 -07:00
Tony Tam
10ad0b48dc
Merge pull request #623 from wing328/php_fix_double
...
Fixed "double" response type in PHP client
2015-04-13 10:24:54 -07:00
wing328
4a0314849e
fix ruby spec
2015-04-13 22:23:52 +08:00
geekerzp
10a9d298d7
Fixed request content-type in objc client.
...
In api.mustache the name of content-type is `Content-Type`,
but in swagger.mustache the name of content-type is `Content-type`.
2015-04-13 17:30:43 +08:00
William Cheng
13d513f02b
fix double in php client response
2015-04-12 23:06:07 +08:00
Tony Tam
7f84deaf30
Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0
2015-04-10 23:07:27 -07:00
Tony Tam
765a5c6aa1
added uniqueness for nickname, #612
2015-04-10 23:07:00 -07:00
Tony Tam
f7c195a7ac
updated pom for #612
2015-04-10 23:06:47 -07:00
Tony Tam
252cb18aeb
Merge pull request #619 from geekerzp/develop_2.0_python_package
...
Update Python codegen to support packaging via Setuptools
2015-04-10 21:03:08 -07:00
Tony Tam
54a5ecb101
Merge pull request #620 from geekerzp/develop_2.0_objc_content_type
...
Fixed request content-type in objc client
2015-04-10 21:01:25 -07:00
geekerzp
63ca000482
fixed request content-type to multipart/form-data when upload file is null
2015-04-11 11:46:55 +08:00
geekerzp
00aa844964
update readme.md
2015-04-11 10:38:32 +08:00
geekerzp
e6bf58a707
package python sdk using setuptools
2015-04-11 10:38:32 +08:00
William Cheng
ccc0653923
add python 3 codegen
2015-04-10 19:42:09 +08:00
Tony Tam
70c14092f9
Merge pull request #610 from xhh/ruby-gemspec
...
Generate Ruby gemspec
2015-04-09 07:37:26 -06:00
Tony Tam
a1e62ea4b1
Merge pull request #611 from wing328/csharp_date_iso8601
...
Updated CSharp client to support ISO8601 format
2015-04-09 07:26:12 -06:00
wing328
22f72e2b23
update comment for escapeString
2015-04-09 16:05:13 +08:00
wing328
a0756bf6f2
remove composer.lock
2015-04-09 15:57:25 +08:00
wing328
78e1fb231e
remove php vendor
2015-04-09 15:56:19 +08:00
wing328
5cbe5d60aa
add iso8601 support to csharp, add more comments, add PATCH support
2015-04-09 15:55:13 +08:00
xhh
e9c5c1434b
Fix spec
2015-04-09 11:37:48 +08:00
xhh
817a74d4df
Add README.md file containing instructions on Ruby petstore sample
2015-04-09 11:34:10 +08:00
xhh
02fa04aec8
Generate gemspec for Ruby client
2015-04-09 11:34:09 +08:00
xhh
7cd8d0a1ac
Restructure gemspec related files to ease importing the files
2015-04-09 11:34:09 +08:00
Tony Tam
7dcdaca288
Merge pull request #609 from geekerzp/develop_2.0_python_better_import
...
Better import for python client
2015-04-08 21:15:38 -06:00
geekerzp
3259a1d814
Fixed module name in __init__.py in python client.
2015-04-09 10:37:15 +08:00
geekerzp
806c26d54f
Merge branch 'develop_2.0' into develop_2.0_python_better_import
...
Conflicts:
modules/swagger-codegen/src/main/java/com/wordnik/swagger/codegen/languages/PythonClientCodegen.java
2015-04-09 09:31:50 +08:00
geekerzp
f2ecc271b5
Better import for python client.
2015-04-09 09:21:21 +08:00
Tony Tam
a05251da51
Merge pull request #601 from geekerzp/develop_2.0_python_unicode
...
Support unicode string in python client.
2015-04-08 06:56:19 -06:00
Tony Tam
555ef7677d
Merge pull request #600 from wing328/python_variable_naming
...
Fixed parameter name, better naming convention for python client
2015-04-08 05:04:02 -06:00
Tony Tam
eb2ec92b66
Merge pull request #604 from wing328/php_fix_warning
...
Fixed PHP5.3 warning
2015-04-08 05:01:54 -06:00
Tony Tam
e1a3540caf
fixed version
2015-04-08 05:00:10 -06:00
William Cheng
9de22c8146
update petstore php sample
2015-04-08 12:00:37 +08:00
William Cheng
eb0fccd1d2
fixed content-type check for model
2015-04-08 11:54:57 +08:00
William Cheng
cb2f5d3e25
fix php warning in php5.3
2015-04-08 11:33:09 +08:00
Tony Tam
73665a2b67
Merge pull request #602 from wing328/php_unit_test
...
Added unit testing for PHP Petstore client
2015-04-07 09:41:56 -06:00
geekerzp
24d5dc093f
Support unicode string in python client.
2015-04-07 15:33:05 +08:00
William Cheng
18476114b9
update test case for php, add readme.md
2015-04-07 04:02:09 +08:00
William Cheng
bd07425b25
update php test case for PetApi
2015-04-07 03:59:20 +08:00
William Cheng
49ad6f47a5
fix parameter name, better naming convention for python client
2015-04-07 01:37:32 +08:00
Camille Chafer
65b6d210bc
Examples updated with names lower-camelized
2015-04-02 18:02:21 +02:00
Camille Chafer
6c4765fd00
Parameters names where camelized with first letter not lower
2015-04-02 18:00:25 +02:00
Camille Chafer
ef3811390f
Some fixes for Wordnik & Petstore examples
2015-04-02 17:46:26 +02:00
Camille Chafer
2ce55115a6
Add wordnik and petstore examples
2015-04-02 16:26:16 +02:00
Camille Chafer
0811e0bce3
Add Akka-Scala client generator. This client uses Spray as Http Client.
2015-04-02 16:22:52 +02:00
russellb337
62d4516fe7
Merge remote-tracking branch 'upstream/develop_2.0' into develop_2.0
2015-03-26 09:06:35 -07:00
russellb337
970facaa8a
merge latest from develop_2.0 to fork
2015-03-23 17:01:49 -07:00
russellb337
fe92889b10
merge latest from develop_2.0 to to fork
2015-03-23 17:01:35 -07:00