wing328
39ffc0ae62
[Ruby] remove apache2 license from ruby api client ( #4149 )
...
* remove apache2 license from ruby api client
* remove license from gem spec
2016-11-16 16:38:15 +08:00
wing328
97924c78a0
update objc samples
2016-11-15 16:16:20 +08:00
wing328
07bec36deb
[ObjC] AFNetworking pinnedCertificates API usage fix ( #4143 )
...
* Fixed afnetworking API usage: pinnedCertificates now declared as NSSet, not as NSArray
* Petstore updated
2016-11-15 16:10:19 +08:00
mbohlool
876669cd31
[Python] Add support for request timeout ( #4173 )
...
* [Python] Add support for request timeout
* Update python petstore api
* [Python] Add test for request timeout
2016-11-11 23:48:53 +08:00
Chakrit Wichian
f6a02f4339
[ruby] Make sure super is always called for ApiError class. ( #4168 )
...
* [ruby] Make sure super is always called for ApiError class.
* Add test for Petstore::ApiError
2016-11-11 17:39:45 +08:00
mbohlool
cfd8add825
Add test for _preload_content flag
2016-11-10 14:24:06 -08:00
mbohlool
ba9e449fd4
Support _preload_content flag in python client ( #4166 )
...
* Modify python client templates to support _preload_content flag
* Update python petstore
2016-11-10 23:43:32 +08:00
Anton WIMMER
6d6cfb4984
fix[dart]: send ISO8601 dates
2016-11-08 14:29:27 +01:00
Roman Truba
73276fd63a
Merge branch 'master' into afnetworking-pinned-certificates-fix
2016-11-08 15:48:46 +03:00
wing328
935bdfe628
better handling of */*
2016-11-08 16:17:51 +08:00
mbohlool
37460ee833
Select application/json content-type in python generated client, if */* is in the list of content-types
2016-11-07 11:54:01 -08:00
Roman Truba
a1cd01916e
[ObjC] Fix deprecated JSONModel API usage ( #4133 )
...
* Fixed deprecated usage -[JSONKeyMapper initWithDictionary:]
* Petstore regenerated
* Change minimal required version of JSONModel
2016-11-07 23:47:09 +08:00
Roman Truba
0c7ab63912
Petstore updated
2016-11-05 22:11:09 +03:00
keysolutions
ab9ea5b2c3
Add constructFromObject to Javascript enum generation. ( #4120 )
...
* Add constructFromObject to Javascript enum generation.
Generated code calls constructFromObject on enum types, but enum did not define the necessary function. Returns the value of the enum.
* Update Petstore JS API client
2016-11-05 23:14:48 +08:00
Roman Truba
1a2b345c57
[Obj-c] Generated code documentation fixes ( #4130 )
...
* Fixed missing parameters names for obj-c generated code
* Obj-c sample regenerated
2016-11-05 23:13:51 +08:00
Christophe Bornet
901a981f26
[feign] Use feign-form ( #4124 )
...
* [feign] Use feign-form
Fix #4108
* [feign] Convert java.util.Date params to rfc3339 with an Expander
2016-11-04 21:13:18 +08:00
ircecho
51b941cf88
DART: Removed the 'justIgnoreThisFlag' flag ( #4116 )
...
* feat[dart]: remove unused argument 'justIgnoreThisFlag'
* chore[dart]: petstore rebuild
2016-11-04 19:17:23 +08:00
Hamed R. Nik
af4b32178f
[ruby] Validate array correctly
...
It never throws error with any values in array. Every element should be validated against the enum.
2016-11-03 17:03:48 +00:00
wing328
4eb75f8088
add back setter to spring model (readonly attr)
2016-11-02 15:40:00 +08:00
wing328
5c0ce022e9
update dart intl version
2016-11-02 11:17:04 +08:00
sutdisi
819a8648d5
Jersey2 Patch Support ( #4110 )
...
* Fix for issue 2848 Adding support for PATH in jersey2
* Updating petstore sample for PATCH update
2016-11-02 09:43:29 +08:00
wing328
0eaab90ba5
Merge branch 'retrofit2-vendor-mime-type' of https://github.com/Rajmohan/swagger-codegen into Rajmohan-retrofit2-vendor-mime-type
2016-11-01 21:40:22 +08:00
Cliffano Subagio
5c53513a30
[python] Add packageUrl option, replacing infoUrl in setup.py ( #4101 )
...
* [python] Add packageUrl option, replacing infoUrl in setup.py .
* [python] Regenerate Python petstore sample.
* [python] Regenerate Python petstore security test sample.
2016-11-01 18:21:53 +08:00
Maciej
c2780abd70
fixing issue#4037 - ts ng2 response type is always json ( #4060 )
...
* fixing issue#4037 - default response is always json
* updated documentation for new method
* updated comment for new method
2016-11-01 17:02:40 +08:00
wing328
e230ef9f50
Merge pull request #4072 from cbornet/spring_response_wrappers
...
[spring] add an option to choose the response wrapper type
2016-11-01 16:41:07 +08:00
Robert Biehl
6963bf8748
[Swift] Swift3 inheritance support ( #4052 )
...
* Swift3 inheritance support
* Mode inheritance support
* Handle 204 No Content without crashing
* Added some new reserved words for Swift (Error, URL)
* Update swift3 pet store example
* PR feedback fixes
* removed unnecessary newline from Models.swift
* removed unnecessary code comments
* ~~public~~ open
* Typo
* Fix review feedback
* fixed comment
2016-11-01 16:25:43 +08:00
cbornet
21ec2bc866
[spring] add an option to choose the response wrapper type
...
Also generate the spring-cloud sample with a HystrixCommand wrapper
2016-10-25 15:40:51 +02:00
wing328
aa46aca7cf
update JS petstore samples
2016-10-25 16:52:32 +08:00
Mathieu MARACHE
8bee0de4e9
[Qt5/C++] Arrays of primitive types fix ( #4046 )
...
* Corrects issue #3410 when trying to create Arrays of primitive types
* Use c++11 nullptr keyword and various indentation issues resolved
* ran petstore on new mustaches
2016-10-22 22:58:39 +08:00
wing328
d1eca76974
add test for java6 jersey2 client
2016-10-20 11:12:31 +08:00
raj k
23fee386f2
Vendor Mime-type support in retrofit2
2016-10-19 16:19:41 -07:00
wing328
bbb0cdc8c3
update gitignore to include PetStore.pro.user
2016-10-19 16:43:11 +08:00
wing328
7f36dd7852
increase timeout value for qt5 petstore test
2016-10-19 16:34:26 +08:00
wing328
702344ed75
better handling of reserved words for sintatra, dart
2016-10-18 17:58:19 +08:00
Jim Schubert
689da8f915
[csharp] Fix apiPackage,modelPackage,excludeTests ( #4010 )
...
* [csharp] Fix apiPackage,modelPackage,excludeTests
The apiPackage, modelPackage, and excludeTests values were not being
populated correctly from external configs (passing -c filename to
generator).
This commit allows those properties to work correctly with the Csharp
client generator. Previously the Api and Model namespaces were hard
coded after additionalProperties for these were evaluated.
The files which generate test files for models and api classes
didn't honor the excludeTests option.
* [csharp] Regenerate sample
* [csharp] Fix modelPackage in README template
2016-10-17 16:26:28 +08:00
wing328
2075204950
Merge pull request #4005 from wing328/ts_fix_header
...
[Typescript][Fetch] fix header parameters in TS Fetch API client
2016-10-16 15:43:25 +08:00
wing328
5719307799
Merge pull request #4004 from cbornet/spring_templates
...
Fix issues in spring templates
2016-10-16 15:33:38 +08:00
wing328
5a5d3fd5e5
fix header parameter in ts fetch
2016-10-16 15:27:11 +08:00
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
cbornet
12a0fd6471
fix issues in spring templates
...
Wrong indentation and extra lines in api templates
Java8 default methods are used if dateLibrary is java8
Fix #3408
2016-10-14 17:57:20 +02: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
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
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
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
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