Rohit Sood
11856e9712
Update Spring Fox dependency version to 2.6.1. This fixes a defect where Swagger and Feign clients do not conflict when registration occurs with Eureka.
2017-03-09 09:54:49 -05: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
wing328
f236b08877
minor formatting fix
2017-03-07 23:23:38 +08:00
stevecookform3
290cb7c331
fix path/query parameters ( #4959 )
2017-03-07 22:23:55 +08:00
Paŭlo Ebermann
404a9999a7
Fix (partially) #4898 for swift3 ( #4916 )
...
* fix (partially) #4898 for swift3.
* Update petstore samples for swift3 (after fix for #4898 )
2017-03-07 17:28:08 +08:00
Paŭlo Ebermann
0f88e4a721
fix (partially) #4898 for MSF4J. ( #4917 )
2017-03-07 17:26:57 +08:00
wing328
913d05c17c
[Python][Flask] Fix inconsistency between model name and file name ( #4958 )
...
* fix inconsistence between model name and file name in python flask
* add object as primitype type in python flask
2017-03-07 15:32:41 +08:00
dhuning
6ea3315b3e
Implicit headers for SpringCodegen ( #4858 )
...
* Add a new option implicitHeaders with default false
* Change JavaSpring templates and codegen to handle implicit headers
* Add script to generate sample for implicitHeader option
* Add generated implicitHeader sample
* Fix alignment
2017-03-07 14:54:15 +08:00
Jacobo de Vera
7de1eeb987
[python] Triple quote strings with new lines in default values ( #4941 )
...
* Triple quote python strings in defaults
When the model contains a string with a default value with new lines in
it, simply quoting generates invalid python code. Using triple quotes
for all string defaults makes sure the generated code will be a valid
python string.
Fixes #4862
* Wrap default string in triple quotes when it contains new lines
* Add newly generated python sample files
2017-03-07 14:46:38 +08:00
Val Polouchkine
122194c30e
Fix typo ( #4956 )
...
Authorizatoin should be Authorization
2017-03-07 13:49:42 +08:00
Josiah Peters
ab4c5f2003
Updated readme with latest maven URL ( #4945 )
...
Changed the direct download link for swagger-codegen-cli jar that is hosted in Maven from the previous releases file to the latest one.
2017-03-07 00:11:40 +08:00
Egor Masalitin
722b96bcec
In case if basePath equals to / we should not append it to url, behaviour was changed to fit this requirements ( #4942 )
2017-03-06 23:48:20 +08:00
Paŭlo Ebermann
a710149cdd
Fix #4898 for jaxrs ( #4918 )
...
* fix #4898 for JavaJaxRS (including all libraries).
* Updated samples for jaxrs (after fix for #4898 ).
2017-03-06 20:04:31 +08:00
wing328
f12554fd83
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2017-03-06 17:24:04 +08:00
wing328
273079bee7
Merge branch 'Daxten-topic/swagger_fix'
2017-03-06 17:23:50 +08:00
wing328
2dee8381e8
update petstore sample for swift3
2017-03-06 17:23:32 +08:00
wing328
0838c1a448
Merge branch 'topic/swagger_fix' of https://github.com/Daxten/swagger-codegen into Daxten-topic/swagger_fix
2017-03-06 17:20:42 +08:00
wing328
f7b5eb85ce
[Swift] add batch files for swift 2,3 to generate petstore samples ( #4934 )
...
* add bat files for swift 2,3 to generate petstore samples
* remove -t from swift3 batch file
* remove -t from swift batch files
2017-03-06 17:16:41 +08:00
Zhanwei Wang
4b7a50c6a5
Add hashdata to user list ( #4935 )
2017-03-06 16:58:57 +08:00
wing328
643aa5a720
Merge branch 'fortiumant-fixqt5cppstaticlib'
2017-03-06 15:50:51 +08:00
wing328
7782c32140
Merge branch 'fixqt5cppstaticlib' of https://github.com/fortiumant/swagger-codegen into fortiumant-fixqt5cppstaticlib
2017-03-06 15:44:24 +08:00
Zhanwei Wang
10950db2dd
[JavaScript] Do not parse null and undefined as type. ( #4933 )
...
* [JavaScript] Do not parse null and undefined as type.
* update pet store example for #4932
2017-03-06 15:01:19 +08:00
Paul English
5d327e66a1
Port the optional/enum template logic from async-scala to the regular scala client ( #4849 )
...
* Port the optional/enum template logic from async-scala to the regular scala client
* oops, accidently pulled template from akka-scala which has custom logic for enum
Just going to avoid enum for now, considering I'm not sure what scala client
will be official
* Update tests to use option
2017-03-06 14:50:21 +08:00
Paŭlo Ebermann
e477ac9472
Fix #4898 for spring-cloud. ( #4919 )
...
Somehow I omitted this in #4875 .
2017-03-06 14:47:52 +08:00
Matan Rubin
899ef8f1ef
[JAXRS-CXF] [bug #4422 ] use java.util.Date when selecting dateLibrary=legacy ( #4724 )
...
according to the help message setting dateLibrary to 'legacy' should
make the code generator use java.util.Date.
before this change, when setting dateLibrary to 'legacy' made the
generator use javax.xml.datatype.XMLGregorianCalendar.
now, the generator uses java.util.Date such that the documentation and
behavior are consistent.
2017-03-06 14:25:15 +08:00
Paŭlo Ebermann
6c9b0ce257
Update samples for Scalatra after 2.2.2. ( #4910 )
...
* Update samples for Scalatra after 2.2.2.
* [scalatra] Revert changes to build.sbt
Changes were made in conjunction with the new finch generator. This
reverts those changes to Scalatra's previous build.sbt.
* Update scalatra samples again after revert of part of #3905 .
2017-03-06 14:23:02 +08:00
Tony Tam
b9d9629a65
Merge pull request #4925 from jfiala/cxf_swagger-core_4924
...
[Jaxrs-cxf] Fix compile errors after update of swagger-core / add jackson dependencies to pom #4924
2017-03-05 10:31:02 -08:00
Johannes Fiala
f72340fb17
change jackson jaxrs version to 2.8.4 #4924
2017-03-05 19:17:27 +01:00
jsone-studios
7800641db2
Fixes #4913 ( #4914 )
2017-03-06 01:15:56 +08:00
Paŭlo Ebermann
7b559b4422
Update samples for MSF4J after 2.2.2. ( #4915 )
2017-03-06 01:12:29 +08:00
Viktor Chukhantsev
35d3fb82ce
[Ruby] Can only use content-type application/json with ruby-client #4867 ( #4893 )
...
* Fix ruby-client work with modern content types, like application/api.vnd+json
* Add specs.
* Fix regexp.
* Regenerate petstore client.
2017-03-06 00:44:15 +08:00
Paŭlo Ebermann
a91cbbe387
Update samples after 2.2.2 ( #4901 )
...
* Update petstore samples for Groovy.
* Update samples for JaxRS.
* Update samples for cpprest.
* Update samples for dart.
* Update samples for flash.
* Update samples for go.
* Update samples for html2.
* Update samples for lumen.
* Update samples for nancxfx.
* Update samples for objc.
* Update samples for sinatra.
* Update samples for tizen.
* Update samples for java-inflector.
2017-03-06 00:33:57 +08:00
Johannes Fiala
165076a427
add jackson dependencies to pom #4924
2017-03-05 17:30:17 +01:00
Jonathan Leitschuh
66a510c9d3
Make the CodegenConfigurator serializable ( #4890 )
...
Closes #4887
2017-03-03 22:57:57 +08:00
wing328
061f4d07d8
fix issue with pom dep in jaxrs jersey1 ( #4904 )
2017-03-03 22:25:59 +08:00
wing328
82090c218b
add product hunt page
2017-03-03 21:48:57 +08:00