rcilia
d5cb70f03e
Swift3 enum: number variable names fix ( #5060 )
...
* Swift3 enum: number variable names fix
Swift3 generator: added 'number' prefix to enum variable names that start with a number
* Fixed Swift3 enum variable names starting with number (prefixed with '_') and added test cases
* Swift3 enum var names: made sure to keep the next word after a number in lower case
2017-03-18 17:29:52 +08:00
Paŭlo Ebermann
1b973d2c43
Update petstore samples for scala client. ( #5092 )
...
* Update petstore samples for scala client.
* Fix missing dependency problem.
2017-03-18 16:44:53 +08:00
Brian Towles
0895e292c4
Add Selective Generation support to the Maven plugin. ( #5036 )
...
* Updated maven plugin to allow for selective generation
* Documentation of Selective generation options.
2017-03-18 15:46:10 +08:00
wing328
98e8e55281
Merge pull request #5065 from ibm-bluemix-mobile-services/issue-4764
...
[Swift] Fix issue #4764
2017-03-17 21:53:44 +08:00
Sebastian Mandrean
5ed94a002c
[Haskell] Fix broken client/server compilation errors ( #5097 )
...
* Remove dead legacy code
* Update cosmetics according to Haskell standard practices
* Fix failing pattern matching for lookupEither
* Bump to latest dependencies without any breaking changes
* Remove duplicate instance declarations already existing in Servant.API.Verbs
* Fix double Java/Haskell escapement bug
* Re-generate Petstore sample client/server
2017-03-17 16:55:11 +08:00
Tony Tam
9ddf28ff75
Update wordnik.yaml
2017-03-16 16:04:59 -07:00
Tony Tam
20580f9b1b
Update wordnik.yaml
2017-03-16 16:01:34 -07:00
wing328
917306aa10
override escape quotation mark in async scala generator ( #5078 )
2017-03-16 01:14:43 +08:00
wing328
878b390ab6
Merge pull request #5049 from jostick/fix-scala-listbuffer
...
Fixes ListBuffer import-mapping for scala clients
2017-03-15 23:33:00 +08:00
Paŭlo Ebermann
31f29be2a0
Use deterministic randomness in ExampleGenerator. ( #5068 )
...
* Update samples for nodejs + nodejs-google-cloud-functions.
* Fix example generator to use deterministic randomness.
This avoids changing results after each generation, and makes diff reviews easier.
* Update NodeJS samples.
This is the last "randomness" update. From now on the samples should only change if either the generator, the input or parameters change.
2017-03-15 17:15:13 +08:00
Matt Alleman
b2aa877ce0
Allow for UUID types in akka-scala ( #5069 )
...
* allow for UUID types
* update sample libs
2017-03-15 17:02:42 +08:00
Anthony Oliveri
88a755f368
[Swift] Detect file type in Swift codegen
2017-03-14 15:02:34 -05:00
Ben Herila
eea58c55b4
Add support for typescript-jquery (typescript-based API calls using jquery ajax in the browser) ( #4953 )
...
* Typescript jquery client wip
* typescript-jquery wip
* Fix typo
* typescript-jquery wip
* Fix formatting
* Petstore sample for typescript-jquery
* Petstore sample for typescript-jquery
* wip
2017-03-15 00:17:04 +08:00
Johannes Stickel
02f2fde65e
Fixes ListBuffer import-mapping for scala
2017-03-13 16:43:47 +01:00
Paŭlo Ebermann
a2d1edc6f5
Fix (partially) #4898 for groovy ( #5030 )
...
* Fix (partially) #4898 for groovy.
This also adds some TODOs for the missing path, form and body parameters.
* Update Groovy samples (after partial fix for #4898 )
2017-03-13 21:46:28 +08:00
Jeff Haynes
ba380c9dda
Issue 4759: Import complex type for body parameters ( #4775 )
2017-03-13 15:35:21 +08:00
wing328
7733dba002
Merge branch '2-call-visibility' of https://github.com/jdupouy/swagger-codegen into jdupouy-2-call-visibility2
2017-03-13 00:21:22 +08:00
Paŭlo Ebermann
c76f006067
fix (partially) #4898 for dart. ( #5019 )
2017-03-12 17:08:48 +08:00
jfiala
39eba39625
[Jaxrs-cxf] add ApiResponse/s to operation #4718 ( #4920 )
...
* add ApiResponse/s to operation #4718
* use spaces instead of tabs #4718
* fix alignment issues #4920
* fix alignment issues #4920
* replace tabs with spaces #4920
* updated samples #4920
2017-03-12 16:58:19 +08:00
Paŭlo Ebermann
16adc7b373
Fix (partially) #4898 for flash ( #5022 )
...
* Fix (partially) #4898 for flash.
This fixes path, query and header parameters.
* Update samples for flash (after partial fix for #4898 ).
2017-03-12 16:53:18 +08:00
ravinikam
c4bd4c9e91
Add missing number type mapping ( #5013 )
...
number to float or double type mapping was missing, added number to double to accommodate both.
2017-03-11 23:03:37 +08:00
wing328
3dfa423151
Merge branch 'patch-2' of https://github.com/ravinikam/swagger-codegen into ravinikam-patch-2
2017-03-11 20:36:45 +08:00
wing328
0ce6c7e3a8
do not map UUID as model in java ( #5026 )
2017-03-11 20:32:46 +08:00
XuXinkun
3c1a8daaf9
fix handleResponse to not leak okhttp connections ( #4997 )
2017-03-11 17:02:49 +08:00
Tony Tam
0dcd91adbf
null out the string null
in examples. Rebuilt java clients and made a whole bunch of changes
2017-03-10 11:07:30 -08:00
ravinikam
a29c8c937a
Update exception message to use operationId
...
Update ApiException to use {{operationId}} variable to correct typo
2017-03-10 12:41:15 -06:00
Tony Tam
3ff4c988b8
Merge pull request #4999 from swagger-api/issue-4998
...
updated parser
2017-03-10 09:46:12 -08:00
Tony Tam
f9835a4b37
matched key to actual value
2017-03-10 09:31:02 -08:00
Tony Tam
db4945fdbf
added type check
2017-03-10 09:30:49 -08:00
Julien Dupouy
3da8654336
Change build call visibility
2017-03-10 18:05:27 +01:00
Jean-François Côté
20c8f9a831
Java Play Framework Server Generator ( #4943 )
...
* First commit of the Java Play Framework server generator. It is highly based on Spring so there might me a couple of things that don't make sense (like options or parameters) for the Play Framework.
* Fix suggestions in the PR discussion + add .bat and .sh file as requested.
* Updated Readme.md file
* Remove unused mustache file + fix baseName vs paramName in all the mustache files.
* Fix the compilation error when we have a body which is a list or map. Doesn't fix the problem with the annotation itself.
* Fix the problem with the Http.MultipartFormData.FilePart
2017-03-10 22:10:49 +08:00
David Biesack
ec3b338988
Improve HTML output for model titles, default responses ( #4991 )
...
Render "default" instead of 0 for response code when Swagger uses "default" (#4982 )
Add title for models to TOC and each model's section
Render model description only conditionally.
Remove extraneous Up link
Regenerate samples/html/index.html
2017-03-10 21:47:20 +08:00
Bernhard Döbler
bfa8d350b3
JS files were replaced in the lib folder; include new ( #4985 )
...
Fix https://github.com/swagger-api/swagger-codegen/issues/4983
2017-03-09 23:18:11 +08:00
pablograna
fb75996527
Make java spring controller constructor public. ( #4972 )
...
* Make java spring controller constructor public.
This lets users manually create the controller and inject the delegate in the
spring configuration file, instead of letting spring scan for controllers and
autowire the delegate.
* Ran spring-all-pestore.sh.
2017-03-09 23:11:44 +08:00
wing328
bfb4390a1c
[TypeScript][Angular2] better code indentation, update Petstore sample ( #4990 )
...
* fix query parameter indentation, update ts angular2 sample
* update ts angular2 sample
2017-03-09 22:27:29 +08:00
baartosz
cffaaa027a
minor improvements to Configuration php template ( #4989 )
2017-03-09 17:28:19 +08:00
wing328
4fe79f0078
Remove default format (JSON) from API operations ( #4987 )
...
* remove default format (json) and update ruby petstore
* update python petstore sample
* update php petstore sample
* update android petstore sample
* update java petstore sample
* update objc sample
* remove default format (json) from perl
2017-03-09 11:12:01 +08:00
wing328
b6d6356c46
remove default format (json) from c# api ( #4980 )
2017-03-08 22:43:59 +08:00
baartosz
d21e156071
[PHP] error when deserializing enums #4032 ( #4886 )
...
* fixed enum template; added enum handling to ObjectSerializer
* regenerated templates
* improved InvalidArgumentException message
* regenerated sample client
* added value check of OuterEnum during sanitization
* regenerated samples
2017-03-08 19:08:42 +08:00
Michael Kourlas
2bb7626202
[Java] Fix for issue #3365 : Support for gzip compression ( #4967 )
...
* Fix for issue 3365 for Java
* Added tests
* Convert CRLF to LF
* Convert CRLF to LF in tests
2017-03-08 19:00:50 +08:00
wing328
89ad5e59b8
use convertPropertyToBooleanAndWriteBack in some generators ( #4975 )
2017-03-08 17:39:22 +08:00
wing328
5dbcf6e8e4
[JavaScript] fix issues with boolean CLI options ( #4974 )
...
* remove commented code
* fix issue with boolean clioption in js codegen
2017-03-08 16:57:29 +08:00
delenius
5935e2e6d9
Add support for saving/returning cookies ( #4192 )
...
This adds a `saveCookies` boolean flag to ApiClient. If set to true,
the client will save and return cookies to the server.
This is useful for supporting @SessionScoped beans in Java servers.
Works both in Node.js desktop apps, and in the browser.
2017-03-08 15:26:46 +08:00
Kyle Maxwell
3e3d360027
Add proxy support to fix #4639 ( #4946 )
...
* Add proxy support to fix #4639
* Update sample app for testing
* Fix indentation and remove leftover code
* Update sample for new rest template
2017-03-08 12:03:45 +08:00
jfiala
871b3ceef7
update templates and samples for spring-boot #4719 ( #4736 )
2017-03-07 23:35:21 +08:00
jfiala
2f43f98cfa
update beanvalidation templates and samples jersey2 #4719 ( #4732 )
2017-03-07 23:35:06 +08:00
jfiala
6a7340378a
update beanvalidation templates + samples #4719 ( #4733 )
2017-03-07 23:34:40 +08:00
jfiala
1e8312782b
[Jaxrs-spec] Merge beanValidation/beanValidationParams.mustache ( #4731 )
...
* update beanvalidation templates #4719
* update jaxrs-sample #4719
2017-03-07 23:26:30 +08:00
jfiala
c4475861b0
update beanvalidation templates #4719 ( #4734 )
2017-03-07 23:26:06 +08:00
jfiala
6383872b5f
update beanvalidation templates and sample for jersey2 #4719 ( #4735 )
2017-03-07 23:25:21 +08:00