William Cheng
587bd56655
add mavencentral to build.gradle ( #1674 )
2018-12-15 00:22:11 +08:00
William Cheng
774013c7e1
Better OpenAPI spec v3 support: allOf, anyOf, oneOf ( #1360 )
...
* add oneOf support to Ruby
* add anyOf support to ruby client
* add discriminator support to ruby client
* fix typo
* update samples, fix NPE
* better format in ruby generator
* fix test cases, disable mapping test
* fix update script, update samples
* add test, fix mapping
* update exit code
* reenabled discriminator test
* remove duplicated properties
* add test for duplicated properties
* update samples, add new spec
* fix ruby test cases
* fix hasMore after removing duplicates
* refactor method, comment out haskell client test
* fix hasMore and update samples
* fix parent detection
* fix discriminator check
* [haskell-http-client] need to use {{vars}}{{required}} instead of {{requiredVars}}
* remove deprecated methods in default codegen (#1031 )
* regenerate samples
* remove commented code
2018-12-07 00:30:20 +08:00
William Cheng
b226f52d13
Merge remote-tracking branch 'origin' into 4.0.x
2018-11-30 10:16:16 +08:00
William Cheng
46a4ffe64c
Skip model generation if it's a top-level map or array ( #1296 )
...
* update samples
* remove string boolean map spec
* add logic to skip array alias being generated as model
* fix alias to array
* remove unused ruby files
* remove unused ruby (oas3) files
* unalias response schema
* fix NPE when no model defined
* fix ruby openapi3 script
* update samples
* add global openapi, schemas for unaliasing
* minor code cleanup/refactoring using globalSchemas
* Revert "minor code cleanup/refactoring using globalSchemas"
This reverts commit 20a2bbc6fc4267a0e0768dcf5f15d4194ce9647b.
2018-11-26 22:01:53 +08:00
William Cheng
2bcf5b2263
Merge remote-tracking branch 'origin/3.4.x' into 4.0.x
2018-11-15 17:49:44 +08:00
William Cheng
a87a544bf5
Merge remote-tracking branch 'origin/master' into 3.4.x
2018-11-15 17:11:01 +08:00
William Cheng
8d9542207a
Prepare 3.3.4 snapshot ( #1450 )
...
* change version to 3.3.4-snapshot
* updat readme
* update samples
2018-11-15 16:21:15 +08:00
William Cheng
c7349c7f88
Add top level x-group-parameters support ( #1405 )
...
* add top level x-group-parameters support
* update petstore samples
2018-11-12 14:25:32 +08:00
William Cheng
e6c97a1bc1
Merge remote-tracking branch 'origin/3.4.x' into 4.0.x
2018-11-08 18:18:12 +08:00
William Cheng
a186efed35
Merge remote-tracking branch 'origin/master' into 3.4.x
2018-11-08 18:17:29 +08:00
William Cheng
02e85cc417
Prepare v3.3.3-SNAPSHOT ( #1355 )
...
* prepare 3.3.3-snapshot
* update petstore samples
2018-11-01 10:42:26 +08:00
William Cheng
aced89ff8b
Add group parameter support to PHP client ( #1337 )
...
* add group parameter support to php template
* more update for group parameter
* fix call to protect function
* fix missing $
* update based on feedback
* create fake endpoint to test group parameters
* sync fake petstore spec v2, v3
* fix php doc for group parameters
* update petstore samples
* update fake petstore spec v2
* update petstore samples
* fix spec and update samples
2018-10-29 15:42:32 +08:00
William Cheng
3482a0a993
Merge remote-tracking branch 'origin/master' into 3.4.x
2018-10-26 21:04:25 +08:00
William Cheng
4a47acce19
Merge remote-tracking branch 'origin/3.4.x' into 4.0.x
2018-10-26 18:41:58 +08:00
William Cheng
9422dea149
Merge remote-tracking branch 'origin/master' into 3.4.x
2018-10-26 18:40:37 +08:00
Dec12 | Fujigon
bb056ccf3d
[General] fix InlineModelResolver's logic and use openapi-generator's InlineModelResolver, so that nested "required" works correctly ( #1200 )
...
* fix InlineModelResolver's logis and use openapi-generator's InlineModelResolver, so that nested "required" works correctly
* add "required" to nested model schema
* update ensure-up-to-date to include openapi v3's jaxrs
* change test required field
* fix sample shell script, hide timestamp
* fix NPE
* move test case to petstore-with-fake-endpoints-models-for-testing.yaml
* fix jaxrs-jersey (oas3) example generate shell script to use petstore-with-fake-endpoints-models-for-testing.yaml
* add default value
* re-generate samples
2018-10-23 16:51:55 +08:00
William Cheng
c1afba7194
Fix jackson-databind security issue ( #1259 )
...
* fix jackson databind security issue
* fix java jersey 1 dependency
* fix java webclient dep
2018-10-18 16:29:38 +08:00
William Cheng
9e3c7781bb
Merge remote-tracking branch 'origin/3.4.x' into 4.0.x
2018-10-16 16:08:11 +08:00
William Cheng
257a97b6cd
update petstore samples
2018-10-16 13:19:40 +08:00
William Cheng
ffd72767af
Prepare 3.3.2 snapshot version ( #1249 )
...
* release_version_update
* update readme
* restore felix version
* update petstore samples
2018-10-16 10:53:12 +08:00
William Cheng
999f472e4b
Refactor default and example values in Java generators ( #1045 )
...
* fix default, example for java okhttp
* update java feign samples
* update samples, doc
* add new doc for dart-jaguar
* update model template
* update jaxrs spec model
* update resteasy sample
* update java samples
2018-10-07 03:56:16 +08:00
William Cheng
5490bb8e9c
update petstore
2018-10-03 18:36:12 +08:00
William Cheng
4e8844273b
Prepare 3.3.1-SNAPSHOT ( #1154 )
...
* update version
* update petstore samples
2018-10-02 09:40:27 +08:00
William Cheng
1b2f3fbfb6
Fix alias to map response ( #1067 )
...
* fix response reference to map
* update samples
* add null check for openapi
2018-09-20 19:29:33 +08:00
Vladislav Cheparin
5fc76ba834
[Java][Retrofit2] The part name is not added to the annotation ( #1029 )
...
* fixed retrofit2/formParams.mustache
* added play26 to retrofit2-all.sh
* fixed samples
2018-09-16 16:00:38 +08:00
William Cheng
39c734fc25
Better code format for Java (okhttp-gson) client ( #971 )
...
* better code format for java okhttp client
* update java petstore samples
2018-09-06 14:24:14 +08:00
William Cheng
e7c05f16db
update samples, re-enable ensure-up-to-date
2018-08-30 20:25:56 +08:00
William Cheng
b8db2af4bb
Update swagger annotation version in Java clients ( #915 )
...
* update swagger annotation version in java client
* add java retrofit2 play 2.6 to java petstore all bin script
* remove empty line in pom.xml
2018-08-29 16:43:41 +08:00
lukoyanov
4558e49c7e
[Java] Retrofit2 Play! Framework 2.6.x support ( #901 )
...
* added play framework 2.6 support
* generated petstore sample
* generated petstore sample #2
* generated petstore sample #3
* Revert "generated petstore sample #3 "
* generated petstore sample #4
* fixed circleci configs
* one more time samples regen
2018-08-28 22:48:05 +08:00