romanblack1
622a936358
Define content type if and only if the body is not empty ( #9910 )
...
* rubypatch
* moving change to api.must
* fix content_type to content-type
* added end to if
2021-09-25 14:53:58 +08:00
William Cheng
acd747ca6d
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-09-22 12:13:44 +08:00
Peter Leibiger
a558554961
Add OAS3 allowEmptyValue for query params ( #10312 )
...
* add the special case of empty query parameters to the fake API
2021-09-03 16:32:51 +08:00
William Cheng
0357b80f19
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-09-01 14:16:17 +08:00
Nathan Baulch
5d68bd6a03
Fix thousands of spelling typos ( #10272 )
2021-08-28 22:58:24 +08:00
agilob
7edddb6531
Add map property in url params ( #10154 )
...
* Add map property in request params
* Regenerate samples to include map in url property
2021-08-17 18:31:53 +08:00
William Cheng
ab5ab94bf2
update samples
2021-07-27 11:58:05 +08:00
William Cheng
b799ca9ee0
Merge remote-tracking branch 'origin/5.3.x' into 6.0.x
2021-07-27 11:52:19 +08:00
William Cheng
3825a20ddc
update samples
2021-07-27 11:42:45 +08:00
William Cheng
56aafe30d9
Merge remote-tracking branch 'origin/master' into 5.3.x
2021-07-27 11:33:35 +08:00
William Cheng
e263e6acc0
[Java] update test samples ( #9972 )
...
* remove new java samples
* java feign, webclient use fake petstore for tests
* update samples
2021-07-19 11:08:44 +08:00
Jon Jensen
bd070308d9
[Java][*] Annotate deprecated operations and schemas ( #9478 )
...
Refs #3358
Ensure `deprecated` operations are annotated/documented as such on the
generated methods. Libraries updated:
* [feign]
* [google-api-client]
* [microprofile]
* [okhttp-gson]
* [resttemplate]
* [retrofit]
* [retrofit/play*]
* [webclient]
* [vertx]
Ensure `deprecated` schemas are annotated/documented as such on the
generated classes/fields. Libraries updated:
* [feign]
* [google-api-client]
* [jersey2]
* [microprofile]
* [native]
* [okhttp-gson]
* [rest-assured]
* [resteasy]
* [resttemplate]
* [retrofit*]
* [webclient]
* [vertx]
Also fix two minor bugs to get the java sample tests working:
* Fix an invalid jackson-datatype-threetenbp version number in vertx/pom.mustache
* Fix a bad return type in webclient/api_test.mustache when uniqueItems=true
Since this commit updates petstore-with-fake-endpoints-models-for-testing.yaml,
several other samples were updated, but it's just new files to reflect the
deprecated schemas, so there should be no consequential differences.
Relevant bits of the spec:
* https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#user-content-operationdeprecated
* https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#user-content-schemadeprecated
2021-07-19 10:27:03 +08:00
William Cheng
05e4c3cf64
update samples
2021-07-12 17:15:22 +08:00
William Cheng
35f933b27f
Merge remote-tracking branch 'origin/5.3.x' into 6.0.x
2021-07-12 17:11:35 +08:00
William Cheng
39fbf53150
create v5.3.0
2021-07-10 00:12:23 +08:00
William Cheng
02835b35bc
Prepare v5.2.1 ( #9922 )
...
* bump verions to 5.2.1-SNAPSHOT
* update samples
* update readme
* fix gradle properties
2021-07-09 22:42:31 +08:00
William Cheng
90f7bcd909
Prepare v5.2.0 release ( #9920 )
...
* 5.2.0 release
* update samples
* update meta codegen
2021-07-09 17:06:55 +08:00
Peter Leibiger
afd65b3cb0
Update query parameter sample to include pipe delimiter ( #9590 )
2021-05-30 17:45:38 +08:00
Peter Leibiger
f7b93ebdf2
Update fake API to contain sample with binary body ( #9610 )
2021-05-29 10:26:01 +08:00
William Cheng
a35e9b590c
Merge remote-tracking branch 'origin/5.2.x' into 6.0.x
2021-03-30 13:18:35 +08:00
William Cheng
99ddd6d2f2
Merge remote-tracking branch 'origin/master' into 5.2.x
2021-03-30 11:41:09 +08:00
William Cheng
9fb97c6c29
postpone require models with parent ( #9103 )
2021-03-29 11:07:57 +08:00
William Cheng
47483e60cb
update version to 5.2.0-SNAPSHOT, update samples
2021-03-21 00:10:10 +08:00
William Cheng
0dc62e8b79
Prepare v5.1.1 in the master ( #9027 )
...
* Prepare v5.1.1 in the master
* move dart dio next to configs/other
2021-03-20 23:05:11 +08:00
William Cheng
e023eaa821
Prepare v5.1.0 release ( #9017 )
...
* prepare v5.1.0 release
* update samples (dart-dio-next)
2021-03-20 16:45:05 +08:00
William Cheng
ad137ec84a
update samples
2021-03-13 23:38:17 +08:00
William Cheng
3909505c5b
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-03-13 23:26:43 +08:00
Jiri Kuncar
8cb4741248
[go][client] Fix example value for non string enums ( #8900 )
...
* [go][client] Fix example value for non string enums
* regenerated samples
2021-03-08 18:11:50 +08:00
William Cheng
c653051997
Revert "[Ruby] force users to specify the temp folder path to address security concerns ( #8730 )" ( #8807 )
...
This reverts commit 18a6f5a941f3b5777977693f3b59ac5d200928a8.
2021-02-24 00:31:43 +08:00
William Cheng
18a6f5a941
[Ruby] force users to specify the temp folder path to address security concerns ( #8730 )
...
* address security issue when downloading files in the ruby client
* update samples
* fix double quote
2021-02-20 11:49:10 +08:00
William Cheng
b4f4d7434b
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-02-12 18:48:20 +08:00
miyucy
3c4b1a0c4c
Fix syntax error ( #8675 )
...
Added missing closing brace in list_invalid_properties model method.
2021-02-11 23:43:19 +08:00
William Cheng
3e81876e2c
Merge remote-tracking branch 'origin/master' into 5.1.x
2021-02-06 17:52:32 +08:00
William Cheng
c7fcb39a2d
Prepare v5.0.1 release ( #8627 )
...
* release 5.0.1
* update samples
2021-02-06 16:37:22 +08:00
Peter Leibiger
769b0e0e38
[feature][dart] Add support for uniqueItems/sets ( #8375 )
...
* [dart][dart-dio] Add support for set types
* copy `uniqueItems` usage from 2.0 fake spec to `3.0`
* add support for sets in parameters, responses and properties
* Regenerate all other samples
* Fix broken tests due to invalid cast
* Update documentation
* Regenerate samples
* update samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
2021-02-02 18:42:45 +08:00
William Cheng
64ae0eed04
Merge remote-tracking branch 'origin/5.1.x' into 6.0.x
2021-01-09 00:15:53 +08:00
William Cheng
18bec1da28
Merge remote-tracking branch 'origin/master' into 5.1.x
2021-01-08 21:06:47 +08:00
Hippolyte HENRY
a9c168c400
[ruby] Support aliasing of API keys ( #8124 )
...
* Allow aliasing of auth keys
* update sample and add config for feature
* update samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
2021-01-05 20:04:08 +08:00
William Cheng
25b0cbe2f1
Prepare 5.0.1 snapshot ( #8249 )
...
* update version to 5.0.1-SNAPSHOT
* update samples
* update meta codegen
2020-12-21 17:14:18 +08:00
William Cheng
4261252491
prepare 6.0.0 snapshot release
2020-12-21 16:39:40 +08:00
William Cheng
345b68a107
prepare 5.1.0 snapshot release
2020-12-21 16:35:12 +08:00
William Cheng
d7d5e53f2b
Prepare v5.0.0 release ( #8247 )
...
* update to 5.0.0
* update samples
2020-12-21 13:04:11 +08:00
William Cheng
0be3fe6104
Set skipFormModel to true by default ( #8125 )
...
* set skipFormModel to true by default
* update tests
* regenerate ruby faraday client
* remove inline object spec files
* more clean up on inline object files
* update samples
2020-12-18 23:57:19 +08:00
Julien Feltesse
522faf835a
[ruby] fix oneOf handling ( #5706 )
...
* [ruby] fix oneOf handling
* use previous ruby configs due to issue #4690
* check for oneOf model in base_object
* validate the attributes in partial_oneof_module
2020-11-23 22:43:34 +08:00
William Cheng
2578ef5e63
Prepare snapshot (v5.0.0) ( #7986 )
...
* Revert "prepare 5.0.0-beta3 release"
This reverts commit 3ebe774df37b43348bac1310a272de53a2d7040b.
* revert to snapshot
* update samples
2020-11-20 19:19:59 +08:00
William Cheng
2715f1371a
Prepare 5.0.0 beta3 ( #7984 )
...
* prepare 5.0.0-beta3 release
* update samples
* remove beta3 from readme
2020-11-20 15:18:58 +08:00
William Cheng
9377dbca56
Add "decimal" support ( #7808 )
...
* rename BigDecimal to decimal
* add isDecimal
* fix tests
* minor fixes
* fix mapping, update doc
* update test spec
* update c# samples
2020-11-02 21:31:32 +08:00
Tomohiro Suwa
46b36c2e65
[Ruby][faraday] fix download_file ( #7842 )
...
* Fix download_file
* Generate samples with f1df6acdee6
* fixup! Fix download_file
* Generate samples with 3e3ea88b0dec7763c8
2020-10-31 16:20:31 +08:00
William Cheng
fe38a50365
[Ruby][faraday] fix response streaming ( #7734 )
...
* test file return
* fix stream response
* use options
* use local var
* fix nil tempfile
* fix tempfile
* fix tempfile
* use stream
* check content
* open temp file
* test ruby file download
* fix stream data
* test faraday
* catch connection error
* catch Faraday::ConnectionFailed
* catch all error
* use sream
* refactor
* fi download file in faraday
* local fix
* fi streaming download
* undo changess to spec, test
* undo changes to spec
2020-10-26 10:07:45 +08:00
William Cheng
ec74b06d2c
[Ruby] Replace DateTime with Time ( #7656 )
...
* replace DateTime with Time
* add require time
* update doc
2020-10-21 14:13:59 +08:00