wing328
6c439168a4
Merge branch 'msf4j' of https://github.com/sanjeewa-malalgoda/swagger-codegen into sanjeewa-malalgoda-msf4j
2016-10-26 10:33:00 +08:00
wing328
14bca6cd89
[Java] BeanValidation + JAXRS CXF server generator ( #4068 )
...
* add pom-file to cxf including cxf-client #2017
* adapt pom sourceFolder in pom.mustache to gen/java #2017
* add test templates for CXF #2017
* optimize mustache template structure, remove tabs #3280 #2549
* refined dependency to swagger-jaxrs #2017
* refined annotations and line breaks #2549
* fix tabs instead of spaces...
* move annotations from getter to field for server model
* cleanup tabs
* add example for gzipping #2017
* add complete WAR to cxf-server #2017
* add readme + rework pom #2017
* add cli switch for beanvalidation #2549
* move beanvalidation into separate subtemplate and reuse for cxf
* add beanValidation java template
* corrected path to mustache file
* fix AbstractOptionsTest, add default false for USE_BEANVALIDATION
* add pom-file to cxf including cxf-client #2017
* adapt pom sourceFolder in pom.mustache to gen/java #2017
* add test templates for CXF #2017
* optimize mustache template structure, remove tabs #3280 #2549
* refined dependency to swagger-jaxrs #2017
* refined annotations and line breaks #2549
* fix tabs instead of spaces...
* move annotations from getter to field for server model
* cleanup tabs
* add example for gzipping #2017
* add complete WAR to cxf-server #2017
* add readme + rework pom #2017
* add cli switch for beanvalidation #2549
* move beanvalidation into separate subtemplate and reuse for cxf
* add beanValidation java template
* corrected path to mustache file
* fix AbstractOptionsTest, add default false for USE_BEANVALIDATION
* add beanvalidation to okhttp-gson library #2549
* cleanup api.mustache for cxf #3281
* temporary fix for invalid BeanValidation-pattern with / #2549
* temporary fix for invalid BeanValidation-pattern with / #2549
* remove jaxrs-annotations from implementation classes #3281
* add configuration to generate spring web application #4003
* clean up unnecessary @Path annotation (part of method level!)
* add support for minItems/maxItems #2549
* add support for BeanValidation for query params #2549
* add imports for bean validation #2549
* add switches for various cxf server features #2017
* fix tests #2549 #2017
* re-create bin folder
* cleanup
* cleanup
* Revert "temporary solution for pattern - move to AbstractJavaCodegen #2549 "
This reverts commit 82df5e657f31303bcb7d38f1dc013183d3509da2, reversing
changes made to 65e87f23a6804a0d5c0926c916a9cd6866e7fee0.
Conflicts:
bin/akka-scala-petstore.sh
bin/android-petstore-all.sh
bin/android-petstore-httpclient.sh
bin/android-petstore-volley.sh
bin/android-petstore.sh
bin/aspnet5-petstore-server.sh
bin/clojure-petstore.sh
bin/cpprest-petstore.sh
bin/csharp-dotnet2-petstore.sh
bin/csharp-petstore-all.sh
bin/csharp-petstore.sh
bin/csharp-property-changed-petstore.sh
bin/cwiki-petstore.sh
bin/dart-petstore.sh
bin/dynamic-html.sh
bin/erlang-petstore-server.sh
bin/flash-petstore.sh
bin/flaskConnexion-python2.sh
bin/flaskConnexion.sh
bin/go-petstore-server.sh
bin/go-petstore.sh
bin/groovy-petstore.sh
bin/haskell-servant-petstore.sh
bin/html-petstore.sh
bin/html2-petstore.sh
bin/java-inflector-petstore-server.sh
bin/java-petstore-all.sh
bin/java-petstore-feign.sh
bin/java-petstore-jersey1.sh
bin/java-petstore-jersey2.sh
bin/java-petstore-okhttp-gson-parcelable.sh
bin/java-petstore-okhttp-gson.sh
bin/java-petstore-retrofit.sh
bin/java-petstore-retrofit2.sh
bin/java-petstore-retrofit2rx.sh
bin/java-undertow-petstore-server.sh
bin/java8-petstore-jersey2.sh
bin/javascript-closure-angular.sh
bin/javascript-petstore-all.sh
bin/javascript-petstore.sh
bin/javascript-promise-petstore.sh
bin/jaxrs-cxf-cdi-petstore-server.sh
bin/jaxrs-cxf-petstore-server.sh
bin/jaxrs-jersey1-petstore-server.sh
bin/jaxrs-petstore-server.sh
bin/jaxrs-resteasy-joda-petstore-server.json
bin/jaxrs-resteasy-joda-petstore-server.sh
bin/jaxrs-resteasy-petstore-server.sh
bin/jaxrs-spec-petstore-server.sh
bin/jmeter-petstore.sh
bin/lumen-petstore-server.sh
bin/nancyfx-petstore-server.sh
bin/nodejs-petstore-server.sh
bin/objc-petstore-all.sh
bin/objc-petstore-coredata.sh
bin/objc-petstore.sh
bin/perl-petstore.sh
bin/php-petstore.sh
bin/python-petstore.sh
bin/qt5-petstore.sh
bin/rails5-petstore-server.sh
bin/ruby-petstore.sh
bin/run-all-petstore
bin/scala-async-petstore.sh
bin/scala-petstore.sh
bin/scalatra-petstore-server.sh
bin/security/csharp-petstore.sh
bin/security/go-petstore.sh
bin/security/java-petstore-okhttp-gson.sh
bin/security/javascript-closure-angular.sh
bin/security/javascript-petstore.sh
bin/security/lumen-petstore-server.sh
bin/security/objc-petstore.sh
bin/security/perl-petstore.sh
bin/security/php-petstore.sh
bin/security/python-petstore.sh
bin/security/qt5cpp-petstore.sh
bin/security/ruby-petstore.sh
bin/security/run-all-petstore-security-test
bin/security/scala-petstore.sh
bin/security/silex-petstore-server.sh
bin/security/slim-petstore-server.sh
bin/security/swift-petstore.sh
bin/security/typescript-angular.sh
bin/security/typescript-angular2.sh
bin/security/typescript-fetch.sh
bin/security/typescript-node.sh
bin/silex-petstore-server.sh
bin/sinatra-petstore-server.sh
bin/slim-petstore-server.sh
bin/spring-all-pestore.sh
bin/spring-cloud-feign-petstore.sh
bin/spring-mvc-petstore-j8-async-server.sh
bin/spring-mvc-petstore-server.sh
bin/spring-stubs.sh
bin/springboot-petstore-server.sh
bin/swift-petstore-all.sh
bin/swift-petstore-promisekit.sh
bin/swift-petstore-rxswift.sh
bin/swift-petstore.sh
bin/tizen-petstore.sh
bin/typescript-angular-petstore.sh
bin/typescript-angular2-petstore-all.sh
bin/typescript-angular2-petstore-with-npm.sh
bin/typescript-angular2-petstore.sh
bin/typescript-fetch-petstore-all.sh
bin/typescript-fetch-petstore-target-es6.sh
bin/typescript-fetch-petstore-with-npm-version.sh
bin/typescript-fetch-petstore.sh
bin/typescript-node-petstore-all.sh
bin/typescript-node-petstore-with-npm.sh
bin/typescript-node-petstore.sh
bin/typescript-petstore-npm.json
bin/windows/akka-scala-petstore.bat
bin/windows/android-petstore.bat
bin/windows/aspnet5-petstore-server.bat
bin/windows/async-scala-petstore.bat
bin/windows/clojure-petstore.bat
bin/windows/cpprest-petstore.bat
bin/windows/csharp-petstore.bat
bin/windows/dart-petstore.bat
bin/windows/dynamic-html-petstore.bat
bin/windows/flash-petstore.bat
bin/windows/go-petstore.bat
bin/windows/html-petstore.bat
bin/windows/java-petstore-okhttp-gson.bat
bin/windows/java-petstore.bat
bin/windows/javascript-petstore.bat
bin/windows/objc-petstore.bat
bin/windows/perl-petstore.bat
bin/windows/php-petstore.bat
bin/windows/python-petstore.bat
bin/windows/qt5cpp-petstore.bat
bin/windows/rails5-petstore-server.bat
bin/windows/ruby-petstore.bat
bin/windows/scala-petstore.bat
bin/windows/spring-mvc-petstore-j8-async-server.bat
bin/windows/spring-mvc-petstore-server.bat
bin/windows/springboot-petstore-server.bat
bin/windows/swift-petstore.bat
bin/windows/tizen-petstore.bat
bin/windows/typescript-angular.bat
bin/windows/typescript-angular2.bat
bin/windows/typescript-fetch.bat
bin/windows/typescript-node-with-npm.bat
bin/windows/typescript-node.bat
* Revert "cleanup"
This reverts commit c752ba85d8a795ebcaf902a0eb06ab0c5755d128.
* Revert "re-create bin folder"
This reverts commit 8a6d41314784a2ae5ce29ae54d7db1ebec418751.
Conflicts:
bin/windows/spring-mvc-petstore-j8-async-server.bat
bin/windows/spring-mvc-petstore-server.bat
bin/windows/springboot-petstore-server.bat
* Revert "re-create bin folder"
This reverts commit 8a6d41314784a2ae5ce29ae54d7db1ebec418751.
Conflicts:
bin/windows/spring-mvc-petstore-j8-async-server.bat
bin/windows/spring-mvc-petstore-server.bat
bin/windows/springboot-petstore-server.bat
* re-create bin from master
* Revert "re-create bin from master"
This reverts commit d4b5c9aac54d62dfb3790c1bf2829472be2ec8fd.
* Revert "Revert "re-create bin folder""
This reverts commit 4369b35dbe9d21f8a93e7632fd92a9a760256db5.
* Revert "re-create bin folder"
This reverts commit 8a6d41314784a2ae5ce29ae54d7db1ebec418751.
* Revert "temporary solution for pattern - move to AbstractJavaCodegen #2549 "
This reverts commit 82df5e657f31303bcb7d38f1dc013183d3509da2, reversing
changes made to 65e87f23a6804a0d5c0926c916a9cd6866e7fee0.
* correct @Path to re-activate Swagger support #
* change sourceFolder to default
* re-activate unittest generator + support gzip switch #2017
* add switch to support Spring Boot + integration tests
* add cxf client generator, rename cxf server generator #2017
* add interfaces for language feature support #4003
* add comments #2017
* correct reference to context.xml.mustache #4003
* use dynamic sourceFolder path #2017
* replace tabs with spaces #4003
* use hard-coded sourceFolder #4003
* rename language for backwards compatibility
* cleanup todo comment #4003
* move convertPropertyToBooleanAndWriteBack to DefaultCodegen #4003
* change reference to beanValidation.mustache to local copy for cxf
* cleanup client-side beanvalidation (currently not working in CXF)
* add support for tags #4003
* fix instantiiation of method parameters
* move commonValidationFeature from bus to endpoint #4003
2016-10-25 18:15:15 +08:00
wing328
37bb66c436
Merge branch 'throw-error-not-string' of https://github.com/mauricedb/swagger-codegen into mauricedb-throw-error-not-string
2016-10-25 16:47:13 +08:00
Simon Morris
5855b479aa
nancyfx basePath => modulePath toggle ( #4053 )
...
* fix NancyFX string parser
parser needs to access the Value parameter to enable the direct cast at line 102 when handling string parameters
* Updated nancyfx sample
* Added switch to config to toggle use of yaml base path as module paths
2016-10-24 23:07:16 +08:00
sanjeewa-malalgoda
80bb564092
Introducing swagger MSF4J support for swagger code generator
2016-10-24 12:00:36 +05:30
Maurice de Beijer
75d04d8be7
Throw an Error object instead of a string
2016-10-23 17:15:15 +02:00
wing328
92c474b2c2
Merge pull request #4050 from mbohlool/issue2657
...
Fix sanitizeTag to retain numbers and underscore in tag names
2016-10-22 22:59:09 +08:00
Mathieu MARACHE
8bee0de4e9
[Qt5/C++] Arrays of primitive types fix ( #4046 )
...
* Corrects issue #3410 when trying to create Arrays of primitive types
* Use c++11 nullptr keyword and various indentation issues resolved
* ran petstore on new mustaches
2016-10-22 22:58:39 +08:00
Simon Morris
27be0ed197
fix NancyFX string parser ( #4048 )
...
* fix NancyFX string parser
parser needs to access the Value parameter to enable the direct cast at line 102 when handling string parameters
* Updated nancyfx sample
2016-10-22 22:53:56 +08:00
mbohlool
aeadd7678b
Fix sanitizeTag to retain numbers and underscore in tag names
2016-10-21 14:00:57 -07:00
wing328
4f9ee0f93d
Merge pull request #4035 from wing328/update_undertow_readme
...
[Java] Update undertow readme
2016-10-20 22:22:53 +08:00
scannerscan
aeb33e4b6e
hashCode and equals support for jdk6 for jersey2 ( #4039 )
2016-10-20 10:20:12 +08:00
wing328
b688a7f443
Merge branch 'fix-model-package' of https://github.com/Ragnis/swagger-codegen into Ragnis-fix-model-package
2016-10-19 16:38:13 +08:00
wing328
5c129b2869
Merge branch 'fix-api-paths' of https://github.com/Ragnis/swagger-codegen into Ragnis-fix-api-paths
2016-10-19 16:26:17 +08:00
wing328
91923311e0
update undertow readme
2016-10-19 16:23:18 +08:00
k1w1m8
60a52ee729
Java6 support for jersey2 ( #4033 )
2016-10-19 10:45:14 +08:00
Diego López León
c26833fd64
[java] Allow setting test folder
...
To keep consistency between `sourceFolder` and `testFolder` access
2016-10-18 09:28:30 -03:00
wing328
b50b33e891
fix reserved word handling in model name (sinatra)
2016-10-18 18:51:08 +08:00
wing328
702344ed75
better handling of reserved words for sintatra, dart
2016-10-18 17:58:19 +08:00
wing328
52ffc7869e
improvements based on #3568 ( #4021 )
2016-10-18 16:32:35 +08:00
Jim Schubert
6a7b9240a2
[csharp] add missing anchor tags in readme ( #4019 )
2016-10-18 10:15:03 +08:00
Martin
727038a186
Issue 3651 ( #4014 )
...
* added method summary under the method name
* added batch file for html2 generation on windows
* regenerated html2 example
* changed the html2 windows batch to use yaml instead of json and regenerated sample
* fixed encoding issues
2016-10-17 22:48:12 +08:00
Jim Schubert
689da8f915
[csharp] Fix apiPackage,modelPackage,excludeTests ( #4010 )
...
* [csharp] Fix apiPackage,modelPackage,excludeTests
The apiPackage, modelPackage, and excludeTests values were not being
populated correctly from external configs (passing -c filename to
generator).
This commit allows those properties to work correctly with the Csharp
client generator. Previously the Api and Model namespaces were hard
coded after additionalProperties for these were evaluated.
The files which generate test files for models and api classes
didn't honor the excludeTests option.
* [csharp] Regenerate sample
* [csharp] Fix modelPackage in README template
2016-10-17 16:26:28 +08:00
wing328
12bcb2dd15
Merge pull request #4011 from jimschubert/aspnet5-rename
...
[aspnetcore] Deprecating aspnet5 for aspnetcore
2016-10-17 16:17:30 +08:00
Joseph Zuromski
3e8e5e2091
fix some swift3 references
2016-10-16 22:49:51 -07:00
Jim Schubert
c70a2a7481
[aspnetcore] Deprecating aspnet5 for aspnetcore
...
This moves previous aspnet5 functionality to aspnetcore, aspnet5 now
derives from the aspnetcore generator and logs a warning that it's
deprecated.
This will help resolve any confusion because ASP.NET 5 is terminology
referring to the project of around a year ago. ASP.NET Core 1.0 is the
new name for the technology, and further enhancements should target .NET
Core 1.0 rather than any old vNext or preview stuff.
2016-10-16 21:22:34 -04:00
wing328
1e57ba96d7
Correct source folder for generated files
2016-10-17 00:48:14 +08:00
wing328
2075204950
Merge pull request #4005 from wing328/ts_fix_header
...
[Typescript][Fetch] fix header parameters in TS Fetch API client
2016-10-16 15:43:25 +08:00
wing328
5719307799
Merge pull request #4004 from cbornet/spring_templates
...
Fix issues in spring templates
2016-10-16 15:33:38 +08:00
wing328
5a5d3fd5e5
fix header parameter in ts fetch
2016-10-16 15:27:11 +08:00
Ragnis Armus
dee2dd8d36
[Qt5 C++] Replace illegal characters in param names for Qt5 generator ( #3978 )
...
* Fix illegal characters in param names
* Re-generate the petstore sample
2016-10-15 18:23:36 +08:00
wing328
20db774418
Merge pull request #4002 from hexelon/swift3-generator-master
...
[Swift] Adding Swift3 generator
2016-10-15 18:13:01 +08:00
wing328
ce1cf4606a
[Java][jersey1] add Java6 support to Java (jersey1) API client ( #3919 )
...
* add java6 support to java jersey1
* properly handle boolean value in mustache tag
* add test for supportJava6 option
2016-10-15 17:11:34 +08:00
cbornet
12a0fd6471
fix issues in spring templates
...
Wrong indentation and extra lines in api templates
Java8 default methods are used if dateLibrary is java8
Fix #3408
2016-10-14 17:57:20 +02:00
Max Stoliar
0838523a35
[Swift] Adding Swift3 generator
...
* This address #3788
* Contains all changes made in #3823
* Also contains many changes made by @ewanmellor, thanks!
2016-10-14 18:32:47 +03:00
wing328
03ed192b98
[Android] fix URL encoding for Android API client ( #3992 )
...
* fix url encoding for android
* add exception handling for url encoding in android
2016-10-14 11:12:37 +08:00
Brian Shamblen
6199c5d1c3
Updates to html2 templates to use security headers in curl examples ( #3987 )
...
* Fixes #3974
* Update petstore example for html2
2016-10-14 09:22:08 +08:00
wing328
7bbe3dcb53
Merge pull request #3982 from wing328/ruby_check_required_attr
...
[Ruby] fix required property check in Ruby models
2016-10-13 23:25:58 +08:00
Ragnis Armus
dbe286c611
Fix setting of model package
2016-10-13 13:27:59 +03:00
wing328
4b0d58abfd
fix hasHeaderParams tag
2016-10-13 18:15:04 +08:00
wing328
47c387470c
fix required prop check for ruby client
2016-10-13 16:38:39 +08:00
Ragnis Armus
6fa7b0fa05
Fix API file paths
2016-10-13 11:16:13 +03:00
wing328
d0f3cd642d
fix missing () in python doc
2016-10-13 15:28:11 +08:00
Hamed Ramezanian
34f1e36146
Sanitize tuples properly ( #3949 )
...
* Sanitize tuples properly
In Python, Tuples are fixed size in nature whereas lists are dynamic. So
they should be sanitize as same as lists.
Failure case here is when you have a query or post parameter as
Datetime.
* Update the Petstore sample
* Skip file sanitization
* Return tuple instead of list
* Sanitize all tuples, no exceptions
2016-10-13 14:41:40 +08:00
weiyang
a76d69513c
[html]Group api index by operations.baseName ( #3953 )
...
* [html]Group api index by operations.baseName
Signed-off-by: weiyang <weiyang.ones@gmail.com>
* [html][samples]Group api index by operations.baseName
Signed-off-by: weiyang <weiyang.ones@gmail.com>
2016-10-12 17:14:36 +08:00
wing328
0efa5cab35
Revert "[WIP] Improve PHP client emitted code quality"
2016-10-12 16:07:37 +08:00
wing328
59502bb92b
Merge pull request #3963 from olivervidovic/issue-890
...
issue-890 correct fix for deprecated Jersey method
2016-10-12 16:05:09 +08:00
wing328
acfd2578dc
Merge pull request #3965 from ButterflyNetwork/swift-enum
...
[Swift] Add / as enum separator
2016-10-12 15:59:15 +08:00
wing328
bd696eb0c1
Merge pull request #3898 from dkarlovi/feature/php-improved-code-quality
...
[WIP] Improve PHP client emitted code quality
2016-10-12 15:56:30 +08:00
wing328
a276c51cd8
Merge branch 'master' of https://github.com/punksta/swagger-codegen into punksta-master
2016-10-12 15:46:22 +08:00