Commit Graph

10439 Commits

Author SHA1 Message Date
wing328
a339422bd5 move get type declaration method to c++ restbed 2018-04-09 00:08:50 +08:00
William Cheng
b34f328e12
Merge pull request #25 from ackintosh/fix-collection-format-in-header-parameter
Fix collection format in header parameter
2018-04-09 00:05:01 +08:00
wing328
070b5c00b8 fix object type declaration in cpprest 2018-04-09 00:01:27 +08:00
William Cheng
6d88edb336
Merge pull request #31 from wing328/cpp_fix
fix string type detection in c++ generator
2018-04-08 23:30:04 +08:00
wing328
b6eb3451c8 add windows batch script for pistache server 2018-04-08 23:13:05 +08:00
wing328
f192613f11 fix string type in c++ generator 2018-04-08 23:03:18 +08:00
William Cheng
353dd3ee66
Merge pull request #30 from wing328/fix_restbed
Fix String check in RestBed generator
2018-04-08 22:19:31 +08:00
wing328
6fef0a7ffe fix string issue with restbed generator 2018-04-08 22:07:46 +08:00
wing328
ffa0e115d9 fix default value and type declaration 2018-04-08 21:04:50 +08:00
William Cheng
665f0bd811
Merge pull request #28 from wing328/fix_numeric_enum
Fix numeric enum throwing NPE
2018-04-08 18:05:48 +08:00
wing328
01e1fb2415 fix numeric enum throwing npe 2018-04-08 17:40:12 +08:00
William Cheng
113e8ad9fd
Merge pull request #24 from ackintosh/fix-enum_query_double
Fix 'enum_query_double' definition
2018-04-08 16:57:10 +08:00
William Cheng
821fba394d
Merge pull request #22 from ackintosh/fix-yaml
Fix request content-type for '/fake/jsonFormData'
2018-04-08 16:56:22 +08:00
William Cheng
1160dbdb26
Merge pull request #27 from wing328/inline_support
Mark form parameter's schemas as unused in OAS 3.0 spec
2018-04-08 16:55:49 +08:00
William Cheng
e447e7dfb8
Merge pull request #20 from wing328/qt-update-client
[qt] update client
2018-04-08 16:55:33 +08:00
wing328
2c17a3d376 add method to skip form parameter's model 2018-04-08 12:22:43 +08:00
akihito.nakano
63449a49c4 Tweak test codes according to the parameter order changes
same changes in another PR:
36ed29852e
2018-04-08 12:33:47 +09:00
akihito.nakano
6e0e6fb7a1 Update samples
bin/openapi3/php-petstore.sh
2018-04-08 12:32:14 +09:00
akihito.nakano
016087c462 Explode the header value 2018-04-08 12:31:39 +09:00
akihito.nakano
0e744adb80 Apply collection format to SIMPLE enum style
in order to separate 'header' parameter values
2018-04-08 12:29:53 +09:00
akihito.nakano
827880a624 Update samples before starting fixes 2018-04-08 12:18:17 +09:00
akihito.nakano
36ed29852e Tweak tests according to the parameter order changes 2018-04-08 02:21:26 +09:00
akihito.nakano
c4248e2fba Update samples 2018-04-08 02:15:03 +09:00
akihito.nakano
17b0827935 Move 'enum_query_double' to parameters section 2018-04-08 01:39:41 +09:00
akihito.nakano
6af31c97c2 Fix 'in' value for 'enum_query_double' 2018-04-08 01:32:00 +09:00
akihito.nakano
df4297975c Update samples before starting fixes 2018-04-08 01:32:00 +09:00
wing328
585865e47f Merge branch 'master' into oas3_support2 2018-04-07 22:01:31 +08:00
Benjamin Berman
2e69e6c03e build.gradle should not have commas here (#7985)
The commas are invalid syntax and create the error:

```
A problem occurred evaluating project ':client'.
> Could not get unknown property 'testCompile' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
```
2018-04-07 21:41:43 +08:00
akihito.nakano
e33bd42f39 Tweak the test code 2018-04-07 20:33:39 +09:00
akihito.nakano
c7bf3360b7 Update samples 2018-04-07 20:18:57 +09:00
akihito.nakano
4b812935b8 '/fake/jsonFormData' consumes 'application/json' 2018-04-07 20:14:21 +09:00
akihito.nakano
e356bd4eba Update samples before starting fixes 2018-04-07 20:13:25 +09:00
wing328
9e8bdba455 undo spec change 2018-04-07 17:25:33 +08:00
wing328
7ce35d3ab7 use $ref instead of inline def for form parameters 2018-04-07 16:23:39 +08:00
wing328
d18fe7375d Merge branch 'master' into oas3_support2 2018-04-07 16:03:05 +08:00
Fabian Braun
ce930e7a63 [Jaxrs-cxf] Add bean-level cascaded beanvalidation for pojos (@Valid) fix #4738 (#7807)
* add valid for pojos #4738

* add Valid to imports for pojos #4738

* Do not generate Valid-annotation for Date-types and UUID

* * add Valid-annotation to Containers.  #4738

Collection-valued, array-valued and generally Iterable fields and properties may also be decorated with the @Valid annotation. This causes the contents of the iterator to be validated.
Quoted from: http://beanvalidation.org/1.1/spec/

* add equivalent windows-bat-script for jaxrs-cxf-petstore-server.sh

* differences on jaxrs-cxf-generated-classes introduced by other changes (not related to this PR)
2018-04-07 15:16:22 +08:00
Martin Delille
4e4a626ecf [qt] update client 2018-04-06 16:46:12 +02:00
William Cheng
d2bd41dc81
remove TypescriptInversifyAdditionalPropertiesIntegrationTest.java to (#7983)
skip integration test errors
2018-04-06 22:15:57 +08:00
ChrisNguyenGeek
85048f6a05 Removed a duplicated entry in the config file (#7981) 2018-04-06 16:33:41 +08:00
Yukio Ejiri
a3322fbf7e [kotlin] Add OkHttpClient.Builder to ApiClient. (#7907) 2018-04-06 15:27:39 +08:00
benbenw
bdd2c2a4ee Misc typescript Angular code generation improvements (#7898)
use const instead of let when possible
add missing semi-colon
replace " with '
2018-04-06 15:12:23 +08:00
Daiki Matsudate
40d5d09905 [Swift4] accept empty content with default client (#7921)
* [swift4] update mustache to accept empty body

* [swift4] update client

* [swift4] update client tests
2018-04-06 14:59:29 +08:00
Akihito Nakano
35d681b254 Fix the missing tag on FakeApi (#7952) 2018-04-06 14:27:08 +08:00
Akihito Nakano
4a5d16b236 [PHP] Fix string length validation (#7953)
* Add a test case which reproduces the issue

https://github.com/swagger-api/swagger-codegen/issues/7846

* Change `strlen` -> `mb_strlen` in order to count the length correctly

* Regenerate the samples
2018-04-06 14:20:05 +08:00
Benjamin Gill
37faaf9266 [rust-server] API version constant and composite version support (#7969)
* Add constant with API version

* Use semver::Version for ApiVersion

* Go back to API version as a string

* Rust composite services

* Actually use the version from the swagger file
2018-04-06 13:27:13 +08:00
wing328
d48c4e5038 Merge branch 'master' into oas3_support2 2018-04-05 23:49:59 +08:00
Jérémie Bresson
386b9f432a Modify "postProcessOperations" for "jaxrs-cxf-client" (#7886)
* Fix sh script for 'jaxrs-cxf-client' and generate sample

* Modify "postProcessOperations" for "jaxrs-cxf-client"

* Update "jaxrs-cxf-client" sample
2018-04-05 23:34:37 +08:00
wing328
3cb3faedc1 update swagger core version to 2.0.0 2018-04-05 16:51:33 +08:00
wing328
409015461c fix file type in qt5cpp 2018-04-05 15:56:30 +08:00
wing328
a4bcb3bc73 fix datetime and map type for qt5cpp 2018-04-05 14:36:35 +08:00