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
ad3d9cd3b4
Merge pull request #3529 from JackDanger/danger/allow-go-config
...
Restore ability to configure Go
2016-08-08 18:30:18 +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
Jim Schubert
c744e55217
[csharp] client property validations
2016-08-07 21:24:55 -04:00
Jim Schubert
3d7f6ad099
[csharp] documented help switch for generating property change
2016-08-06 21:38:52 -04: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
Guo Huang
ab96b318e2
[GO] Fixing compilation issue when pathParams is not presented
2016-08-05 14:53:05 -07:00
wing328
148a842f3b
fix #2538 ( #3535 )
2016-08-05 18:09:00 +08:00
wing328
122af80881
better symbol mapping for enum name
2016-08-05 11:28:07 +08:00
Jack Danger Canty
6010c1e6d8
Restore ability to configure Go
2016-08-04 15:40:18 -07:00
wing328
89fe3403a7
add enum test case for jersey2
2016-08-05 01:57:34 +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
wing328
bbe422947f
Merge pull request #3501 from wing328/revert_3391_2
...
Revert "Merge branch 'feature/objc-tasks' of https://github.com/wberger/swagger-codegen "
2016-08-02 18:28:15 +08:00
wing328
ed9dea6a89
Revert "Merge branch 'feature/objc-tasks' of https://github.com/wberger/swagger-codegen "
...
This reverts commit 7c1daab896 , reversing
changes made to aa58497247 .
2016-08-02 17:49:55 +08:00
osher
30776d75a9
NodeJS generator - Harken to the the warnings ...
...
2 types of warnings are emitted in bulk whenever using the nodeJS generator.
I did some guesswork: since JS is a c-type language like C# and Java - I looked there for reference, and followed their example.
2016-08-01 13:40:29 +03:00
wing328
1bdd15c55c
Merge branch 'feature/confluencewikidocs' of https://github.com/jhitchcock/swagger-codegen into jhitchcock-feature/confluencewikidocs
2016-08-01 17:25:20 +08:00
wing328
85c8eb3d76
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-08-01 17:25:13 +08:00
wing328
4895a35200
Merge pull request #3492 from wing328/ruby_optional_validation
...
[Ruby] fix validation for optional parameters/properties for ruby
2016-08-01 17:12:39 +08:00
wing328
8c357dd1d6
fix validation for optional parameters/properties for ruby
2016-08-01 16:50:11 +08:00
wing328
434b4fd359
Merge pull request #3447 from jhitchcock/feature/static-docs-2
...
[WIP] - Html Docs 2 - API and Client Library Documentation - Feedback / Assistance wanted
2016-08-01 16:13:16 +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
Yao, Yao
a772a855ee
issue fix: when security.scope. description has a precedent | ,newline in markdown, generated api will break as an extra newline is added.
2016-08-01 14:35:27 +08:00
wing328
7c1daab896
Merge branch 'feature/objc-tasks' of https://github.com/wberger/swagger-codegen
2016-07-30 16:17:08 +08:00
jhitchcock
c377153336
Confluence Wiki Documentation
2016-07-29 12:09:03 +02:00
philicious
a67f168fa6
Qt5: add handling for swagger type-format "byte" to Qt5 generator
2016-07-28 19:34:45 +02:00
wing328
3cd37bf5e9
fix casting issue with ModelImpl in Haskell
2016-07-27 18:07:35 +08:00
wing328
9489f7d3eb
clear import mapping for gnereators that do not use it
2016-07-26 14:40:29 +08:00
wing328
30c2503f9f
[C#][NancyFX] Better "Add" for Dictionary and using {{packageName}} for NancyFX ( #3449 )
...
* use square bucket for C# dictionary
* use packageName for nancyfx generator, update info to debug for log
* use packageName for nancyfx generator, update info to debug for log
2016-07-26 14:10:48 +08:00
jhitchcock
aaba4b9e82
Html Docs 2 - API and Client Library Documentation
2016-07-25 15:36:05 +02:00
Christian Loitsch
bf17a91275
dart codegen improvements ( #3440 )
...
* fix: query params may be ints as well
don't assume query params are Strings or List<String>s
* fix dart: use correct type for QueryParams
type is Iterable, not List
only check params for != null if they haven't been checked already
add some casts to make strong mode happy
update petstore
* feat dart: enable strong mode
* feat dart: generate both browser and vm library
move petstore client into subdirectory and reference
generated libraries using path in pubspec.yaml
* feat dart: refactor petstore test.
The new layout resembles a real project.
petstore test is now strong mode compatible.
* feat: add DateTimerParser transformer
* feat: improved exception reporting
* feat[dart]: handle patch requests
* fix[dart]: typo
* fix dart: remove findPetsByTag test; enable strong-mode
find pets by tag call is deprecated and returns 500
generated library is now strong mode compatible
2016-07-23 23:45:22 +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
delenius
c888434580
Improve jsdoc for API return values ( #3327 )
...
* Add jsdoc for usePromises, add @link for callbacks
* Update petstore samples
* Improve jsdoc for void return type + usePromises
* Add back curly brackets correctly in model template
* Add link to Promise doc in jsdoc comment
* Fix jsdoc annotation for callApi method
The return type annotation was also broken here.
2016-07-20 20:14:51 +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
wing328
ca4a90d64d
Merge pull request #3404 from wing328/objc_fix_empty_desc
...
To set a default description if none is provided
2016-07-19 17:09:01 +08:00
wing328
37404909bf
to set a default description if none is provided
2016-07-19 16:55:39 +08:00
wing328
118fd4d84d
Merge pull request #3393 from cbornet/java_inheritance
...
Set supportInheritance to true for java based gens
2016-07-19 16:15:53 +08:00
wing328
b9479ae8b7
Merge pull request #3271 from ButterflyNetwork/swift-uuid
...
[Swift] Add support for NSUUID
2016-07-19 14:16:45 +08:00
Jason Gavris
cd79ae1ab4
[Swift] Add support for NSUUID
2016-07-18 23:30:01 -04:00
clasnake
5e4e84ffe7
Fix the scalatra petstore sample compile error.
2016-07-18 23:58:03 +08:00
cbornet
421c462ba9
set supportInheritance to true for java based gens
2016-07-18 16:33:20 +02:00
Wolfgang Berger
f37bd4ab49
rename ApiClient to ApiSessionManager, return cancellable tasks instead of request IDs which greatly reduces state while offering real cancellation, change to a protocol-based configuration with a default implementation, include a workarount for current JSONModel concurrency issues, add missing super call in QueryParamCollection initWithValuesAndFormat
2016-07-18 13:01:57 +02: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