wing328
00cc060827
Merge pull request #3637 from cbornet/fix_multi_inheritance
...
[All] Fix some inheritance/composition issues and add allOf unit tests
2016-10-03 23:18:43 +08:00
wing328
f59c28d08a
escape callback parameter for java(okhttp) and python
2016-09-29 17:41:47 +08:00
David Biesack
fedb0cc352
add title, description to HTML output ( #3860 )
...
* add schema title, description to HTML output
* Include title, description in petstore sample (and HTML output)
2016-09-24 11:14:36 +08:00
Steve Hu
d74a1fbed4
Add a new language generator for undertow-server framework ( #3820 )
...
* add undertow generator
* add apiException
* add undertow server code gen
* reovery sprintboot sample
* update handler
* output swagger.json and handler template change
* remove api template
* remove api.mustache
* update pom.xml
* update readme
* add config files
* add basePath to the handler and upgrade to 0.1.1 framework
* add additional files for release
* fixed the mvn verify issue
* update one template to fix compile error for fake petstore
2016-09-19 22:45:10 +08:00
wing328
0cba285cac
Merge branch 'jimschubert-csharp/INotifyPropertyChanged'
2016-09-13 15:59:26 +08:00
Zheng Can
0c59aefe90
Make InlineModelResolver resolve vendorExtensions correctly for Schema Object ( #3719 )
...
* Fix InlineModelResolver to ensure the vendorExtensions could be accessed via schema object or inline model.
* format the code
* Copy vendor extension to property only.
2016-09-12 16:09:07 +08:00
Paul Ebermann
d3eedafe84
Issue #3738 : introduce the sourceFolder property for all Scala "languages".
2016-09-11 20:10:51 +02:00
Ville Skyttä
b8e8c7cdb5
Various code cleanups ( #3709 )
...
* For/while to foreach loop conversions
* Don't instantiate Booleans
* Remove redundant String.toString calls
* Remove redundant String instantiations
* Don't concatenate StringBuilder.append args
* Replace dangling javadoc comments with blocks
* Combine identical catch branches
* Remove redundant catch branch
* Remove unnecessary boxing
* Remove redundant casts
* Remove redundant null checks
2016-09-07 16:41:51 +08:00
Cliffano Subagio
92eb722ced
[ruby] Add gemspec required_ruby_version setting. ( #3718 )
...
* [ruby] Add gemspec required_ruby_version setting.
* [ruby] Add gemspec required_ruby_version setting.
* Add gemRequiredRubyVersion option to Ruby client code generator.
2016-09-06 22:25:39 +08:00
Arpit Suthar
e7ec360ba8
Added 'modelPropertyNaming' option for Scala ( #3685 )
...
* Closed #3675
1. Added 'modelPropertyNaming' option for scala
2. Executed ./bin/scala-petstore.sh (no changes).
* Removed unwanted code #3675
2016-09-01 18:22:03 +08:00
wing328
eb59e2945e
remove unnecessary change for c# codegen
2016-08-31 17:31:55 +08:00
wing328
8523c57f8c
remove unnecessary change in JS closure codegen
2016-08-31 17:13:35 +08:00
wing328
5804fbc1dd
remove unnecesary change in JS codegen
2016-08-31 16:52:46 +08:00
wing328
322862c4b6
add hided timestamp option to swfit codegen
2016-08-31 16:45:12 +08:00
wing328
da45cb7ff5
remove unnecessary changes for php codegen
2016-08-31 16:38:30 +08:00
wing328
4ea4488212
remove unnecessary change for ruby codegen
2016-08-31 15:57:04 +08:00
wing328
ebfddd0a58
remove unnecessary changes for python codegen
2016-08-31 15:49:22 +08:00
Ville Skyttä
b4c139f19b
Spelling fixes
2016-08-27 02:34:33 +03:00
cbornet
194c389a06
fix some inheritance/composition issues and add allOf unit tests
...
Fix #3629 #3544 #3474 #3636
2016-08-24 17:11:45 +02:00
wing328
a58845bb0f
add function to handle missing delimiter in regex
2016-08-22 18:01:06 +08:00
Tony Tam
7bc9c4041b
added configuration for swagger-yaml output file, #3597
2016-08-16 15:59:47 -07:00
wing328
f746a93da4
Merge branch 'csharp/INotifyPropertyChanged' of https://github.com/jimschubert/swagger-codegen into jimschubert-csharp/INotifyPropertyChanged
2016-08-12 15:04:04 +08:00
Sergey Belov
e01095f53b
Fix Javascript types
2016-08-11 23:05:37 +03:00
wing328
752ba61e67
[Go] Add more test cases and fix numeric form/header parameters ( #3574 )
...
* add more tests for go, fix numeric form/header parameters
* update go sample
2016-08-11 14:28:31 +08:00
wing328
d626200479
fix form enum parameters for spring generator, add more test cases
2016-08-09 19:49:38 +08:00
wing328
c4835ea52e
[TypeScript] fix array enum ( #3538 )
...
* better enum support for typescript angular2
* fix enum property for TS
* fix non-array enum datatype for TS
* update build name for TS fetch petstore client
* restore TS fetch enum naming
* [TS fetch]add test cases, fix enum integer naming
2016-08-09 10:49:26 +08:00
wing328
7a245e3189
[JavaScript] add enum tests cases for JS generator (java) ( #3546 )
...
* add enum tests cases for JS generator (java)
* fix typo quote
2016-08-08 18:52:24 +08:00
wing328
aed66aeee9
Merge pull request #3524 from dmytrobr/bug/issue-3523
...
support Title as model name for any inline object
2016-08-08 18:28:57 +08:00
wing328
b547d56d29
add enum test case to php generator (java)
2016-08-07 06:39:56 +08:00
Jim Schubert
797afe9d15
[csharp] PropertyChanged support .NET 4.x+
2016-08-06 16:54:50 -04:00
wing328
122af80881
better symbol mapping for enum name
2016-08-05 11:28:07 +08:00
Dmytro Kryvoshei
fe5c235727
fixed InlineModelResolver to support Title as model name for any inline
...
object
InlineModels defined within MapProerty and ArrayProerty were not using
"title".
Added Unit Tests
2016-08-04 08:57:16 -04:00
wing328
670f103859
better enum naming for symbol (java)
2016-08-04 16:37:48 +08:00
wing328
1fde95f997
fix java okhttp (array of enum property)
2016-08-03 01:36:34 +08:00
wing328
25fa3e86f9
add enumName to store the enum prefix
2016-08-03 01:36:13 +08:00
wing328
0b8acb5b0c
set allowablevalues of inner enum's allowablevalues
2016-08-03 01:35:58 +08:00
abcsun
d7c959fe42
[PHP] add AbstractPhpCodegen to be as the base class of PHP-related generators ( #3310 )
...
* add abstractPhpCodegen
* This base class should provide common functions to PHP-related generators so that the same enhancements or bug fixes can be applied to all clients.
Most source be moved from the PhpClientCodegen.
* change Lumen codegen to use the AbstractPhpCodegen
* remove the composerVendorName/composerProjectName. modify the LumenServerOptionsTest for unit test
* add context path
* reserve the apiDocPath and modelDocPath
* add the templateDir for lumen
2016-08-01 15:23:35 +08:00
wing328
9489f7d3eb
clear import mapping for gnereators that do not use it
2016-07-26 14:40:29 +08:00
Tao Qian
55bf8b1f96
Stop Shortening Underscore in Enum Value ( #3401 )
...
* stop shortening underscore
* use 4 space indentation
* remove fake class and use anonymous class instead
* rename
2016-07-21 21:37:54 +08:00
Jason Gavris
4f0b7dfaed
[Swift] Handle binary data types
2016-07-19 11:05:40 -04:00
Jason Gavris
9e6896c8f0
[Swift] Fix pod authors in podspec
2016-07-19 10:37:20 -04:00
Jason Gavris
cd79ae1ab4
[Swift] Add support for NSUUID
2016-07-18 23:30:01 -04: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
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
wing328
e2d74de6ca
fix double hyphen in c# generator
2016-07-13 18:16:52 +08: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
1c5210581e
fix model name "client" issue
2016-07-10 17:42:18 +08:00
wing328
3b780e30d8
change java default lib to okhttp-gson
2016-07-07 15:53: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
cbornet
a761682115
add a generator for spring cloud feign
2016-07-06 10:30:09 +02:00