Sergii Rustamov
fee23f2230
Support cpprest on Linux ( #3847 )
...
* Support cpprest on Linux
* Update petstore code
2016-09-23 18:32:33 +08:00
wing328
569997b073
Merge pull request #3853 from mattalexx/proposed
...
Fix custom generator execution example in README template
2016-09-23 13:27:38 +08:00
Matt Alexander
12fb4becd7
Fix custom generator execution example
2016-09-22 14:36:08 -05:00
wing328
e3b891a924
Merge pull request #3850 from wing328/fix_swift_pod_file
...
[Swift] add default value to swift podspec
2016-09-22 19:26:24 +08:00
Kim Sondrup
9bb097fcf5
[PHP] Correct Composer license identifier ( #3848 )
...
* [PHP] Correct Composer license identifier
* Update petstore PHP
2016-09-22 18:49:08 +08:00
wing328
70ed52cee0
add default value to swift podspec
2016-09-22 18:41:53 +08:00
wing328
d11c7ad09a
fix typescript angular2 model - optional/required
2016-09-21 20:08:27 +08:00
Cédric Luthi
72058c2638
Fix NullPointerException when the oauth flow is missing
2016-09-21 00:48:16 +02:00
wing328
6ac5a2c306
Merge pull request #3825 from wienczny/tripleMustacheExtraAnnotation
...
Use triple mustache for vendorExtensions.extraAnnotation
2016-09-20 21:12:16 +08:00
wing328
f69d1500c3
[Python][Flask] use tags to organize Python Flask controllers ( #3767 )
...
* use tag to organize flask controller
* fix typo in python flask code gen
* fix operationId for flask generator
2016-09-20 21:11:06 +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
Stephan Wienczny
e96b177305
Use triple mustache for vendorExtensions.extraAnnotation
...
Triple mustache is required because annotations may contain chars like "=" that
would be mistakenly encoded.
2016-09-19 16:24:51 +02:00
wing328
1d748e47da
fix copmile for C# model annotation
2016-09-19 16:25:47 +08:00
wing328
1be134facf
Merge branch 'csharp/property-validations' of https://github.com/jimschubert/swagger-codegen into jimschubert-csharp/property-validations
2016-09-19 15:19:58 +08:00
wing328
76d3ec9be2
Merge pull request #3801 from richardfriedman/issue-3800
...
[jmeter] #3800 Fixing testCases and paramName
2016-09-19 11:50:47 +08:00
wing328
f41a3b82a9
Merge pull request #3809 from j4velin/master
...
Fix NullPointerException if there are no other properties
2016-09-19 11:44:14 +08:00
Anton Savchenko
945c9a1406
[typescript-angular2] npm publish missing files ( #3791 )
...
* [typescript-angular2] npm publish missing files
* [typescript-angular2] build to dist folder
2016-09-19 10:41:29 +08:00
Thomas Hoffmann
61bd023e3d
Fix NullPointerException if there are no other properties
...
Change-Id: I6711e96d4b119b2cf78860d4eb43fc178edae372
2016-09-16 12:36:59 +02:00
geetikagupta16
1e4f30eb16
Fixed bug for handling optional header parameters ( #3776 )
...
* Fixed #3774
Refactored code to handle optional header parameters.
* Changed null check with pattern matching
2016-09-15 23:28:01 +08:00
timadamson
fe7acabc4b
add authentication to typescript-angular2 ( #3781 )
...
* add authentication to typescript-angular2
* updated typescript-angular2 petstore example
* update typescript-angular2 with simplified conditionals
2016-09-15 00:35:14 +08:00
Richard Friedman
5aff601eac
[jmeter] #3800 Fixing testCases and paramName
2016-09-14 12:25:39 -04:00
cbornet
b7f2b28534
[resteasy] configure jackson to use rfc3339 dates
2016-09-14 17:37:04 +02:00
wing328
e6049d6d30
Merge pull request #3797 from xaviapa/bugfix/issue-3783
...
Added !is_null condition in setter conditions for non-required proper…
2016-09-14 20:54:05 +08:00
Xavi Aparicio
31a3436a8e
Added !is_null condition in setter conditions for non-required properties
2016-09-14 13:41:05 +02:00
cbornet
1b1fe95855
[jersey] configure jackson to use rfc3339 dates
2016-09-14 12:17:33 +02:00
wing328
19047c2eec
[C#] fix the location of FodyWeavers.xml ( #3782 )
...
* fix fody weavers xml location
* update c# petstore sample
2016-09-13 18:05:42 +08:00
wing328
e14cf8a526
Merge branch 'csharp_fix_enum' of https://github.com/wing328/swagger-codegen into wing328-csharp_fix_enum
2016-09-13 16:46:27 +08:00
wing328
0cba285cac
Merge branch 'jimschubert-csharp/INotifyPropertyChanged'
2016-09-13 15:59:26 +08:00
wing328
907db0dd5b
[Scala] enhancement to indention and null check ( #3775 )
...
* fix scala api null check and indention
* minor format fix
2016-09-13 09:56:06 +08:00
stevedenman
314bfdece2
Add last response code and headers ( #3760 )
...
* Add last response code and headers
Apply same workaround as https://github.com/swagger-api/swagger-codegen/pull/1127 to typescript-angular2 template.
* Add WithHttpInfo() methods to return raw response.
* Revert change to http method formatting
2016-09-12 16:24:12 +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
Richard
bc2f614b92
apiInvoker : in getInstance, if instance is null initialize instance ( #3766 )
...
* apiInvoker : in getInstance, if instance is null initialize instance
build : replace the deprecated volley library by the android one
jsonUtil : Add in gsonBuider an adapter to deserialize Date class
And update petstore sample for volley library
* Update apiInvoker.mustache
Add a space after if, to stick to the code style.
* Update ApiInvoker.java
Add a space after if, in petstore samples, to stick to the code style.
2016-09-12 15:56:35 +08:00
wing328
5bb203504c
Merge pull request #3772 from wing328/scala_model_indent
...
[Scala] better format of model properties
2016-09-12 11:27:02 +08:00
wing328
77d31300a1
Merge pull request #3757 from ePaul/feature/#3738-add-sourceFolder-property
...
Feature/#3738 add source folder property
2016-09-12 11:10:28 +08:00
Bartek Kryza
6d6832e7a6
Fix for #3712 - invalid enum array validation in Python client mustache model ( #3713 )
...
* Fixed invalid enum array validation in Python client mustache model
* Updated the Petstore Python client tests
* Removed superfluous array enum test
* Added test cases for Python client array and map enums
* Improved map enum error message
2016-09-12 11:00:49 +08:00
Paŭlo Ebermann
72e051ab47
Feature/remove unused variables in html codegens ( #3739 )
...
* Remove unused variables/constants in StaticHtml[2]Generator.
It looks like those were remainders from copy+paste.
* run html-petstore.sh
2016-09-12 11:00:02 +08:00
Paul Ebermann
d3eedafe84
Issue #3738 : introduce the sourceFolder property for all Scala "languages".
2016-09-11 20:10:51 +02:00
ataraxus
1d7d37409a
Fix for issue #3743 ( #3744 )
...
* fix map usage in api generation #3694
* fix map usage in api generation #3695
* close impl gap between queryParam and formParam, to be more consistent
* use working copy constructor
2016-09-11 23:11:35 +08:00
wing328
ac69f45ddc
better format of model properties
2016-09-11 18:44:36 +08:00
Paŭlo Ebermann
bd3a15e273
Feature/#3738 extract abstract scala codegen ( #3755 )
...
* Issue #3738 : extract AbstractScalaCodegen.
This seems to not change anything in the output, at least for the Petstore samples.
* Issue #3738 : move languageSpecificPrimitives initialization to the super class
* Issue #3738 move CliOptions to AbstractScalaCodegen.
* Issue #3738 update samples.
Only one change, remove of unnecessary imports.
2016-09-11 18:00:38 +08:00
wing328
f55a9cee2f
Merge pull request #3756 from lunat/csharp_documentation_relative_anchor
...
Added anchor tag in README.mustache issue #3748 .
2016-09-09 17:26:03 +08:00
wing328
dcdea19cb8
erlang update readme, add petstore samples
2016-09-09 16:42:26 +08:00
Artem Ocheredko
f90626ac81
[Erlang] Add Erlang server generator ( #3758 )
...
* Initial erlang generation
* Recfactor erlang codegen to make a minimal working example
* ft/erlang_codegen Separate handlers by resourse, add minor codegen fixes and refactoring
* Test commit
* ft/erlang_codegen Modify reouting generation
* ft/erlang_codegen Remove parsed request concept. Add minor refactoring and bugfixes
* ft/erlang_codegen Use swagger spec from an internal directory instead of a provided path
* ft/erlang_codegen Add basic response validation
* ft/erlang_codegen Moved all the req validators to a separate file for test needs
* ft/erlang_codegen Add basic param validation
* Add refactoring:
OperationIDs are atoms now
Fix schema validation
Add todo list
* CAPI-23 Add auth context to request handling (#2 )
* CAPI-23 Fix routing to support different paths in one handler. Add auth context to request handling. Add an opportunity to pass custom middlewares to the server
* CAPI-31 Add enum validation and some minor fixes (#4 )
* CAPI-31 Fix turbo fuck up with additional params (#5 )
* Capi 23/fix/basic logging (#6 )
* CAPI-23 Add understandable messages in case of bad requests. Add specs to shut up dialyzer and add some minor code refactoring
* CAPI-23 Fix missed bracket in auth module (#7 )
2016-09-09 15:44:54 +08:00
lunat
a553d47507
Added anchor tag in README.mustache issue #3748 .
2016-09-08 18:01:18 +02:00
wing328
ddd0b8685a
Merge pull request #3750 from wing328/fix_jaxrs_cxf_model
...
[JAX-RS][CXF] To fix enum value issue
2016-09-08 17:54:34 +08:00
Ville Skyttä
735390f633
[Python, Ruby, PHP] Validate min/maxItems ( #3734 )
...
* python: Validate min/maxItems
* ruby: Validate min/maxItems
* lumen: Validate min/maxItems
* php: Validate min/maxItems
2016-09-08 17:33:59 +08:00
wing328
4f0f128ddb
fix enum value issue for jaxrs cxf
2016-09-08 17:30:20 +08:00
wing328
326b8020d2
fix property name 'result' for android using "this"
2016-09-07 18:55:19 +08:00
wing328
892c9e017a
Merge pull request #3730 from scop/python-maxlength-msg
...
python: Fix model maxLength validation error message
2016-09-07 17:12:28 +08: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