wing328
574349570a
fix number format for dart model
2016-10-07 00:47:05 +08:00
wing328
24b1dc87c1
Merge pull request #3903 from alexandern/issue-3829
...
Issue#3829. Objective-C client code, discriminator generated in both …
2016-10-06 23:28:46 +08:00
wing328
cd6b5fec20
[Android][Volley] add serializeModel support to Android ( #3933 )
...
* add serializeModel support to Android
* add test for new android option
2016-10-06 17:35:33 +08:00
wing328
8ce8082f7f
fix bug with parcelable
2016-10-05 22:54:17 +08:00
Griffin Schneider
1aeceead99
[Java] Make generated models Parcelable for okhttp-gson if the -DparcelableModel=true option is provided.
2016-10-05 22:53:05 +08:00
wing328
677f5f913f
Merge pull request #3909 from apanzerj/apanzerj/fixupRails5Server
...
WIP: Fixup rails5 server
2016-10-05 01:16:47 +08:00
Adam Panzer
2aadbee8ed
validate(s)_presence_of
...
Migration should create pluralized table names
Change controller filenames
2016-10-03 14:47:01 -07:00
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
4a74e788ec
fix python flask controller without tag (default_controller)
2016-10-03 09:32:20 +08:00
Scott Richter
b2e2643fd2
[Cpprest] Fixing issue #3773 ( #3876 )
...
* Fixed errors with cpprest client generation when generating a client that uses arrays of primitive types (vector) and file responses (HttpContent).
* Updated the petstore sample using script.
* Removed debug code.
* Removed extra newline to match master.
* Fixed binary file handling in cpprest. Updated petstore samples.
* Update readme to add Cummins to list
* Cleaning up for pull. Removing unnecessary changes.
* Fixing petstore
* Fixing error in build.
* Fixed error in stream copy for binary data
* Replaced tab with 4 spaces in all modified files.
Replaced tab with 4 spaces in all modified files.
2016-09-30 10:31:24 +08:00
Alex Nolasco
07df71e959
Issue#3829. Objective-C client code, discriminator generated in both base and child.
2016-09-29 09:28:44 -04:00
wing328
f59c28d08a
escape callback parameter for java(okhttp) and python
2016-09-29 17:41:47 +08:00
wing328
a7ed1ad202
fix warning in html generator
2016-09-29 11:09:54 +08:00
Dalibor Karlović
10d3dea89e
[PHP] fix PHPUnit invocation, add basic phpunit.xml.dist ( #3864 )
...
* feature(phpunit) fix PHPUnit invocation, add basic phpunit.xml.dist
* fix(phpunit) add proper paths relative to phpunit.xml.dist
2016-09-28 19:44:07 +08:00
Dalibor Karlović
70fa2fb78e
[PHP] Better PSR2 compatibility ( #3863 )
...
* feature(php-cs-fixer) add php-cs-fixer support
* feature(php-cs-fixer) tweak Mustache templates to fit PSR2
* feature(php-cs-fixer) bin/php-petstore.sh output
2016-09-27 08:23:44 +08:00
Yuta HIGUCHI
2155b7b09e
[JaxRS]Show correct default value on CLI option description ( #3862 )
...
* Show correct default value on CLI option description
Fixes #3861
* Changes after ./bin/jaxrs-petstore-server.sh
2016-09-24 15:11:15 +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
wing328
110c22ea98
Merge branch 'issue-3690-additional-fields' of https://github.com/neilotoole/swagger-codegen into neilotoole-issue-3690-additional-fields
2016-09-24 00:17:18 +08:00
Cédric Luthi
72058c2638
Fix NullPointerException when the oauth flow is missing
2016-09-21 00:48:16 +02: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
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
Thomas Hoffmann
61bd023e3d
Fix NullPointerException if there are no other properties
...
Change-Id: I6711e96d4b119b2cf78860d4eb43fc178edae372
2016-09-16 12:36:59 +02: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
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
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
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
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
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
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
wing328
4f0f128ddb
fix enum value issue for jaxrs cxf
2016-09-08 17:30:20 +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
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
Ville Skyttä
ddc5b80438
[Lumen, PHP, Python, Ruby] Implement exclusiveMinimum/Maximum ( #3717 )
...
* Ignore exclusiveMinimum/Maximum in setting hasValidation
* python: Implement exclusiveMinimum/Maximum
* ruby: Implement exclusiveMinimum/Maximum
* lumen: Implement exclusiveMinimum/Maximum
* php: Implement exclusiveMinimum/Maximum
2016-09-06 14:57:35 +08:00
Neil O'Toole
8183d96088
#3690 adding RequestURL, Method, Operation and Payload fields to APIResponse
2016-09-02 06:49:39 -06:00
wing328
11ae12b09d
[Scalatra] replace {} with : in scalatra path ( #3694 )
...
* replace {} with : in scalatra path
* remove unused var in scalatra code gen
2016-09-02 00:25:07 +08:00
Ville Skyttä
e52a8e34cb
Spelling fixes
2016-09-01 17:39:30 +03: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