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
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
wing328
bd7904d42a
add more companies
2016-07-15 12:20:19 +08: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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Justus Thorvaldsson
b434fb517f
Fixes enums c#
2015-12-08 09:43:28 +01:00
Justus Thorvaldsson
3aff6e8328
removed one extra string enummember
2015-11-23 09:50:43 +01:00
Justus Thorvaldsson
f4773d3333
Added json enum to csharp with decoration
...
using newtonsoft decoration
2015-11-20 14:33:22 +01:00