Ragnis Armus
dee2dd8d36
[Qt5 C++] Replace illegal characters in param names for Qt5 generator ( #3978 )
...
* Fix illegal characters in param names
* Re-generate the petstore sample
2016-10-15 18:23:36 +08:00
Max Stoliar
0838523a35
[Swift] Adding Swift3 generator
...
* This address #3788
* Contains all changes made in #3823
* Also contains many changes made by @ewanmellor, thanks!
2016-10-14 18:32:47 +03:00
wing328
03ed192b98
[Android] fix URL encoding for Android API client ( #3992 )
...
* fix url encoding for android
* add exception handling for url encoding in android
2016-10-14 11:12:37 +08:00
Brian Shamblen
6199c5d1c3
Updates to html2 templates to use security headers in curl examples ( #3987 )
...
* Fixes #3974
* Update petstore example for html2
2016-10-14 09:22:08 +08:00
wing328
7bbe3dcb53
Merge pull request #3982 from wing328/ruby_check_required_attr
...
[Ruby] fix required property check in Ruby models
2016-10-13 23:25:58 +08:00
wing328
4b0d58abfd
fix hasHeaderParams tag
2016-10-13 18:15:04 +08:00
wing328
47c387470c
fix required prop check for ruby client
2016-10-13 16:38:39 +08:00
wing328
d0f3cd642d
fix missing () in python doc
2016-10-13 15:28:11 +08:00
Hamed Ramezanian
34f1e36146
Sanitize tuples properly ( #3949 )
...
* Sanitize tuples properly
In Python, Tuples are fixed size in nature whereas lists are dynamic. So
they should be sanitize as same as lists.
Failure case here is when you have a query or post parameter as
Datetime.
* Update the Petstore sample
* Skip file sanitization
* Return tuple instead of list
* Sanitize all tuples, no exceptions
2016-10-13 14:41:40 +08:00
weiyang
a76d69513c
[html]Group api index by operations.baseName ( #3953 )
...
* [html]Group api index by operations.baseName
Signed-off-by: weiyang <weiyang.ones@gmail.com >
* [html][samples]Group api index by operations.baseName
Signed-off-by: weiyang <weiyang.ones@gmail.com >
2016-10-12 17:14:36 +08:00
wing328
59502bb92b
Merge pull request #3963 from olivervidovic/issue-890
...
issue-890 correct fix for deprecated Jersey method
2016-10-12 16:05:09 +08:00
wing328
47d3c3a767
update retrofit1,2 samples
2016-10-12 15:48:34 +08:00
wing328
a276c51cd8
Merge branch 'master' of https://github.com/punksta/swagger-codegen into punksta-master
2016-10-12 15:46:22 +08:00
Nick Maynard
823ce72e2e
jaxrs-cxf-cdi POM template ( #3958 )
...
* Don't refer to missing class in Impl classes
* Add POM for jaxrs-cxf-cdi
* Correct jaxrs-cxf-cdi artifactId
* Update samples for jaxrs-cxf-cdi
* Regenerate jaxrs-cxf-cdi samples
2016-10-12 15:43:44 +08:00
Oliver Vidovic
da6e829c8e
issue-890 correct fix for deprecated Jersey method
...
additionally
- fixed EnumValueTest to the directory structure based on the declared package
- regenerated samples/client/java/jersey1
2016-10-11 11:43:54 -04:00
wing328
d921a2b0c5
Merge branch 'resteasy_dates' of https://github.com/cbornet/swagger-codegen into cbornet-resteasy_dates
2016-10-11 00:51:34 +08:00
wing328
ba3f2eafd5
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-10-11 00:48:08 +08:00
wing328
671f73b97f
Merge branch 'jersey_dates' of https://github.com/cbornet/swagger-codegen into cbornet-jersey_dates
2016-10-11 00:47:02 +08:00
Christophe Bornet
6f2c139ff8
[Spring] Format datetime in rfc3339 ( #3777 )
...
* [spring-boot] format datetime in rfc3339
See #3727
* [spring-mvc] format datetime in rfc3339
2016-10-11 00:43:28 +08:00
Christophe Bornet
2680995825
[Java/Jackson] use a jdk6 compatible DateFormat for java.util.Date ( #3768 )
...
* [feign] use a jdk6 compatible serializer for java.util.Date
See #3727
Fix #3753
* [jersey] use a jdk6 compatible DateFormat for java.util.Date
2016-10-11 00:42:52 +08:00
Stas Shakirov
26faf6cf4e
remove newline char in *.mustache; added generated code
2016-10-10 14:42:08 +03:00
Nick Maynard
dc2b8c29e2
Add a new JAX-RS server generator - jaxrs-cxf-cdi ( #3940 )
...
* Generate a JAX-RS server that assumes an Apache CXF framework on a Java EE server supporting CDI
* Samples for jaxrs-cxf-cdi
* Don't refer to missing class NotFoundException
* Update samples without missing NotFoundException reference
2016-10-10 17:18:27 +08:00
wing328
0712ebc33d
Merge pull request #3954 from jimschubert/aspnet/3680
...
[aspnet] Fix .sln/.xproj guids
2016-10-10 09:17:49 +08:00
Jim Schubert
a94a27307d
[aspnet] Fix .sln/.xproj guids
...
The AspNet5 generator was originally written to support project.json.
The Project.xproj was implemented without a valid project guid or root
namespace. During the transition period from project.json to
Project.xproj, VS2015 would fallback to project.json. Newer versions of
VS2015 don't seem to do this any longer.
This commit defines the project's guid correctly, and sets the project's
root namespace.
See: #3680
2016-10-09 08:31:35 -04:00
wing328
c1a6bbb86a
[Python][Flask] fix python2 support in Flask ( #3952 )
...
* flask python2 petstore sample
* fix python2 support in flask
2016-10-09 14:06:55 +08:00
Andreas Franzén
d21613c6ab
Bugfix/3929 do not set multipart ( #3932 )
...
* Do not set Content-Type to multipart/form-data
It causes superagent to not add the boundary in the Content-Type
* Run shell-scripts
2016-10-08 12:36:56 +08:00
wing328
65f925f45c
fix python required property check and validation for optional properties
2016-10-07 15:50:57 +08:00
vishal khawarey
0ca60352e2
required tag is used in model, allows null values ( #3923 )
...
* required tag is used in model, allows null values
* updated petstore api for CI
* dont raise exception for 0 or false
2016-10-07 15:26:05 +08:00
wing328
574349570a
fix number format for dart model
2016-10-07 00:47:05 +08:00
sylvain-abadie
94cd2cb6a0
[Objc] Added support for lower case discriminator ( #3927 )
...
* [Objc] Added support for lower case discriminator
* Updated Objc petstore samples
* Fixed code style
2016-10-06 23:29:55 +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
6ef0209dea
add back java okhttp petstore client
2016-10-05 22:55:01 +08:00
wing328
8db0ec8b73
fix pom duplicated id issue
2016-10-05 22:55:01 +08:00
wing328
c915f8ecdc
update pom to test java okhttp-gson parcelable models
2016-10-05 22:55:01 +08:00
wing328
8ce8082f7f
fix bug with parcelable
2016-10-05 22:54:17 +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
1840956320
Merge pull request #3913 from wing328/python_flask_no_tags
...
[Python][Flask] fix python flask controller issue without tag
2016-10-03 09:56:49 +08:00
wing328
4a74e788ec
fix python flask controller without tag (default_controller)
2016-10-03 09:32:20 +08:00
Jim Schubert
b7708a44bf
[aspnet5] Fix basePath application to operations ( #3911 )
...
* [aspnet5] Fix basePath application to operations
* [aspnet5] Regenerate sample
2016-10-02 21:56:19 +08:00
Bartek Kryza
40a1879797
Bugfix/issue 3723 ( #3726 )
...
* Extended request generation logic with support for serialized body content types other than Json
* Updated the Petstore Python client tests
* Fixed body content type identification for strings
2016-10-02 17:02:03 +08:00
Charles
d4f9a16cf6
Cgardens nested object regex ( #3879 )
...
* stop parsing key of object at first comma.
* update samples
2016-10-02 16:32:17 +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
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
wing328
ec25bd793f
[Java] Remove duplicated model description in Spring, JAX-RS models ( #3887 )
...
* fix duplicated description in spring model
* fix duplicated description in jaxrs models
* fix resteasy dependency
2016-09-28 19:34:38 +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
Jason Gavris
9e54dce92f
[Swift] Use thread safe manager dictionary
2016-09-26 11:27:07 -04:00
wing328
fa12cd3787
Replace ^M with new line (\r) in mustache template ( #3865 )
...
* fix jaxrs line break
* fix java gradle bat line break
* fix scala gradle line break
* fix undertow crt line break
* fix spring line break
* fix undertow line break in pom
* rollback undertwo petstore to use petstore.yaml
2016-09-26 16:49:44 +08:00