Alexander
9212c21567
[PHP] Add default value to method signature if present in Swagger spec ( #5571 )
...
* Add default value to method signature if present in Swagger spec
* Update pet store PHP code
2017-05-06 10:39:14 +08:00
wing328
2a337f8327
add antihax as template owner for 2.3.0 Go
2017-05-05 21:50:32 +08:00
beatcracker
d214e0ad4b
[PowerShell] module to serve as template for PowerShell generator ( #5509 )
...
* Added PowerShell module. See #4320
MVP PowerShell module to serve as a template for a PowerShell generator.
* Fixed function name
* Removed module manifest
It should be generated by the build script
* Ignore module manifests
* Removed binding from prop. name for Pet
2017-05-05 17:21:11 +08:00
wing328
167cbe9726
remove trailing comma in ts angular template ( #5563 )
2017-05-05 17:05:45 +08:00
Mike Kistler
b62928ff88
Set name for item property from 'x-item-name' annotation if present. ( #5461 )
2017-05-05 16:53:16 +08:00
wing328
8e0d940e0a
update cpprest petstore sample
2017-05-05 16:20:59 +08:00
Jim Schubert
8e6dfce83e
[csharp2] Extend generator from AbstractCSharpCodegen ( #5552 )
...
* [csharp2] Extend generator from AbstractCSharpCodegen
* [csharp2] regenerate sample
2017-05-05 15:58:01 +08:00
Ravi
f101a43b9e
[C++][CppRest] Add CMake file template to generate CMakeLists build file ( #5561 )
...
* Add operationId in exception message
* add number data type mapping
* removing mergetool lines
* first draft of cmake file
* compiles generated source files with 64 bit cpprest and boost
* using glob recurs to add source files
* using glob recurse for source files
* cmake to build statuc library
* add cmake style comments, use project source dir and lib
* fix_issue5488: Add supporting files and source files separately
* fix_issue5488: Add supporting files and source files separately
* fix_issue5488: Add supporting files and source files separately
* fix_issue5488 - updated header comments
* updated samples
2017-05-05 15:47:39 +08:00
wing328
cfd9d7e4c6
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-05-05 11:01:36 +08:00
fisherliu
d08d55d419
add @Valid annotion for bean-validation ( #5517 )
2017-05-04 23:03:12 +08:00
Jim Schubert
9dab57c2fb
[csharp] warn on use of invokerPackage ( #5551 )
2017-05-04 19:12:54 +08:00
wing328
fb357086c8
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-05-04 19:04:39 +08:00
wing328
1e9fe51175
use original value of pattern ( #5554 )
2017-05-04 18:01:52 +08:00
Jim Schubert
1700a86c38
[aspnet5] REMOVED ( #5550 )
2017-05-04 18:00:35 +08:00
Andrea Polci
fd17955685
#5548 Avoid html escaping of pattern in bean validation ( #5549 )
...
* Issue #5548 Avoid html escaping of pattern in bean validation
* Run spring-all-petstore.sh and java-petstore-all.sh scripts
2017-05-04 17:12:13 +08:00
wing328
6f944b243d
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-05-03 21:45:07 +08:00
wing328
a7e42ee2b6
add validatable flag for .net 3.5 ( #5544 )
2017-05-03 21:32:25 +08:00
wing328
b87851bd27
update spring cloud petstore client
2017-05-03 17:47:49 +08:00
wing328
3b98cc7ca0
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-05-03 17:32:24 +08:00
wing328
e28471341c
add switcgh to determine java8, java7 ( #5541 )
2017-05-03 16:41:58 +08:00
wing328
43812cc002
use origina value of example ( #5540 )
2017-05-03 16:14:20 +08:00
Kenny Jones
06f8ac422c
Bugfix: JavaSpring pojo example escape ( #5536 )
...
Applies the same fix as #5247 to avoid invalid escaping of the attribute
example within `ApiModelProperty`.
Resolves #5534
2017-05-03 15:31:48 +08:00
Benjamin Douglas
7406d07aca
Reverting petstore sample gen (fails tests)
2017-05-02 19:55:47 -07:00
Benjamin Douglas
34d9dca5e7
Update samples to current code/scripts
...
This is the result of
- `$ git checkout master`
- `$ bin/run-all-petstore`
No change was made to the code, just ran the aggregate sample generation
script.
2017-05-02 10:33:06 -07:00
wing328
413a00ef40
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-05-03 00:09:14 +08:00
wing328
3744a3f8f5
add option to skip client side validation in ruby client ( #5528 )
2017-05-02 21:30:59 +08:00
wing328
53b25b11d2
add baartosz as php guzzle template owner.
2017-05-02 19:14:54 +08:00
wing328
a313812613
add resteasy template owner
2017-05-02 19:10:48 +08:00
Benjamin Douglas
4512619acf
Minor fixes to sample generation scripts ( #5523 )
...
- typo in csharp-petstore-net-standard.sh (Stanard -> Standard)
- non-existent config file name name in csharp-petstore-netcore-project.sh
- non-existing config file name in ruby-petstore.sh
- snapshot versioning in typesript-petstore-npm.json causes
non-deterministic output
2017-05-02 15:12:45 +08:00
Takuro Wada
afa8e56b4e
Add validate option to swagger-codegen-cli (Issue #5466 ) ( #5526 )
2017-05-02 15:11:10 +08:00
Benjamin Douglas
b7df040b6e
Fix class name in discriminator subtypes ( #5487 )
2017-05-01 15:50:58 +08:00
Benjamin Douglas
c2a1720972
Fix hasMore field and order consistency of authMethods ( #5516 )
...
The hasMore field of the global authMethods was broken due to sorting after
setting that field. The sort order for per-operation authMethods was not
guaranteed to be consistent across runs because it didn't do sorting. This
change fixes those issues by always sorting and setting the hasMore field
post-sort.
2017-05-01 15:26:35 +08:00
Jason Lee
1a25b308cc
For dateLibrary=java8, remove JODA references ( #4705 )
2017-04-30 00:03:11 +08:00
herrerog
70f4c72421
[Python]: correct query_params type. ( #5503 )
...
query_params is a list of tuple, so defined it as a list by
default instead of a dict.
This fix below issue on the client side.
Traceback (most recent call last):
File "test.py", line 13, in <module>
api_response = api_instance.seek("the")
File "python-client/swagger_client/apis/seek_api.py", line 168, in seek
(data) = self.seek_with_http_info(recherche, **kwargs)
File "python-client/swagger_client/apis/seek_api.py", line 245, in seek_with_http_info
collection_formats=collection_formats)
File "python-client/swagger_client/api_client.py", line 323, in call_api
_return_http_data_only, collection_formats, _preload_content, _request_timeout)
File "python-client/swagger_client/api_client.py", line 135, in __call_api
self.update_params_for_auth(header_params, query_params, auth_settings)
File "python-client/swagger_client/api_client.py", line 512, in update_params_for_auth
querys.append((auth_setting['key'], auth_setting['value']))
AttributeError: 'dict' object has no attribute 'append'
Signed-off-by: Gregory Herrero <gregory.herrero@gmail.com>
2017-04-29 12:07:09 +08:00
wing328
427ca1828e
replace petstore.json with petstore.yaml in shell scripts
2017-04-29 12:02:37 +08:00
weiyang
1091ebce5a
[go][model] Use pointers to avoid circular references ( #5478 )
...
* [go][model] Use pointers to avoid circular references
Signed-off-by: weiyang <weiyang.ones@gmail.com>
* [samples][go][model] Use pointers to avoid circular references
Signed-off-by: weiyang <weiyang.ones@gmail.com>
2017-04-29 01:08:07 +08:00
wing328
556be7dfd6
update qt5 c++ petstore samples
2017-04-28 22:47:05 +08:00
sabras75
994e4fd8ff
Fix#5481 ( #5499 )
...
* Add CPP_NAMESPACE option
* update mustache template to exploit cppNamespace option
* update sample files
* correction : missing namespace replacement in template
2017-04-28 22:19:37 +08:00
wing328
0792933c7e
use petstore.yaml instead of petstore.json in windows batch files
2017-04-28 19:49:39 +08:00
Xin Meng
c7979da74d
add withCredentials to the configuration ( #5484 )
...
* add withCredentials to the configuration
1. `withCredentials` in Request is `false` default
2. if want to set the `withCredentials` as `true` (for CORS request),
instance `Configuration` object and set the `withCredentials` as `true`.
* simplify the code according to the code review
2017-04-28 18:11:23 +08:00
Ian White
e5fdf327db
Adding Stardog Ventures to company list ( #5504 )
...
Thank you for suggesting @wing328.
2017-04-28 11:41:40 +08:00
wing328
2ac169c750
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-04-28 02:03:42 +08:00
Daniel Woodel
bfae01cd35
[swift3] Swift3 code generator & templates fixed to support additional properties, updated petstore for CI ( #5407 )
2017-04-28 01:58:54 +08:00
wing328
b964994f00
add ./bin/java-petstore-okhttp-gson-parcelable.sh to java petstore
...
all.sh
2017-04-28 01:24:28 +08:00
guidovezzoni
663db1b72a
Fix issue5425 ( #5483 )
...
* issue 5425 : [Android] Bug generating parcelables constructors for custom classes ( missing getClassLoader() )
* issue 5425 : changes in generated code
* ran ./bin/java-petstore-all.sh and committed the changes
2017-04-28 01:23:32 +08:00
wing328
2324e927bd
[Java][Spring] fix missing import for java.io.IOException ( #5501 )
...
* fix issue about import io exception for spring mvc
* fix spring-mvc-petstore-j8-async script, config
* update spring cloud client, restore petstore.yaml
2017-04-28 00:45:06 +08:00
wing328
b5949f61e4
update spring petstore samples
2017-04-27 22:24:23 +08:00
wing328
7b57dd0c04
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-04-27 21:18:52 +08:00
wing328
3c9b495eb1
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-04-27 21:16:16 +08:00
wing328
42a5a13fef
[Java][Spring] Fix spring cloud client due to enhancement in adding server example responses. ( #5497 )
...
* add use spring cloud client option
* uncomment spring cloud client test
* remove scala-related tests from pom.xml for circleci
* fix mismstach tag
2017-04-27 20:00:56 +08:00