Rémi Kalbe
099f138dd5
[RUST] Upgrade reqwest-middleware ( #14819 )
...
* [RUST] Upgrade reqwest-middleware
Bump reqwest-middleware from 0.1.6 to 0.2.0
* Bump sample
2023-02-27 09:05:37 +08:00
William Cheng
c50a775e0c
prepare 6.5.0 release ( #14749 )
2023-02-19 20:36:23 +08:00
William Cheng
93df0ff444
Prepare 6.4.0 release ( #14748 )
...
* prepare 6.4.0 release
* update samples
2023-02-19 18:53:20 +08:00
John Vandenberg
11d9d4346e
[rust] Fix content-type in templates ( #14702 )
2023-02-16 17:54:02 +08:00
William Cheng
31a89e35cb
Prepare 6.4.0 ( #14582 )
...
* update to 6.4.0 snapshot
* update samples
* update doc
2023-02-01 22:44:40 +08:00
William Cheng
8f2676c5c2
Prepare v6.3.0 release ( #14580 )
...
* 6.3.0 release
* fix maven plugin test
* update samples
* update doc
* fix tests in windows
2023-02-01 20:52:29 +08:00
Thomas von Rosenberg
88fa9ef3c2
[rust] Fix declaration for arrays with object and array references ( #14198 )
...
* [rust] Fix declaration for arrays with object and array references
For arrays with an item defined by reference to an array or an object,
the generated type declaration was `Vec<core::models::Array>` or
`Vec<core::models::Map>` without defining a `Array` or `Map` so that the
code didn't compile.
* [rust] Fix trailing whitespace in petstore definition
2022-12-28 15:08:21 +08:00
Thomas von Rosenberg
63f6569e6f
[rust] Fix model constructor for required enum array ( #14196 )
...
For a required enum array property the generated model constructor used
the type `RequiredEnums` instead of `Vec<RequiredEnums>`.
2022-12-27 23:25:01 +08:00
Sorin Florea
fdf1ce6c51
Fix apache http client query parameters ( #14193 )
2022-12-07 13:57:00 +08:00
Dillen Meijboom
6686ba2dc7
Add support for style=deepObject with query parameters in the Rust generator ( #13381 )
...
* Add support for style deepObject in the Rust generator
* Add support for arrays in deepObject query parameters and fixed issue with strings
2022-12-07 00:15:36 +08:00
William Cheng
4a5c9ff2d2
Add tests for rust reqwest middleware client ( #13990 )
...
* add tests for rust reqwest middleware client
* add github workflow
* trigger build
* fix rust
* trigger build failure
* Revert "trigger build failure"
This reverts commit 42d8ff42ee04d207d8c2dad4a9714a9c7ad3b1c5.
* Update pom.xml
Co-authored-by: Nathan Shaaban <86252985+nshaaban-cPacket@users.noreply.github.com>
* simplify folder
Co-authored-by: Nathan Shaaban <86252985+nshaaban-cPacket@users.noreply.github.com>
2022-11-13 10:24:29 +08:00
Elric Milon
1670e952ff
[Rust] Add support for reqwest-middleware when using reqwest ( #13946 )
...
Co-authored-by: Elric Milon <whirm@gmx.com>
2022-11-11 18:25:01 +08:00
Nathan Baulch
9f1fa0e440
Fix another batch of spelling typos ( #13915 )
...
* Fix typos
* Remove repeated words
* Minor grammar fixes
2022-11-07 21:30:24 +08:00
William Cheng
2947d147b4
Merge remote-tracking branch 'origin/master' into 6.3.x
2022-11-01 17:42:59 +08:00
William Cheng
b0ce532bdc
Prepare 6.2.1 release ( #13871 )
...
* prepare 6.2.1 release
* revert change
* fix maven plugin test
* update meta
2022-11-01 17:16:46 +08:00
John Vandenberg
3d578164e8
Sync Cargo.toml project metadata attributes ( #13824 )
2022-10-28 18:00:02 +08:00
John Vandenberg
413d3c33d7
Remove unused tokio in rust hyper client ( #13835 )
...
This crate version has an indirect security vuln,
as tokio-core 0.1.18 (latest) is two years old,
and uses tokio 0.1.5.
https://rustsec.org/advisories/RUSTSEC-2021-0124
2022-10-28 11:45:00 +08:00
John Vandenberg
e0043130c7
Remove unused serde_yaml ( #13820 )
...
This crate version has a security vuln
https://rustsec.org/advisories/RUSTSEC-2018-0005
2022-10-26 17:02:01 +08:00
Jacob Halsey
c1c9cb2192
[rust] Fix generation for optional and nullable fields (double option pattern) ( #13177 )
...
* Fix generation for optional and nullable fields (double option pattern)
* Only import serde_with if necessary
2022-10-17 15:44:18 +08:00
William Cheng
4d03c9272b
prepare 6.3.0 snapshot
2022-10-15 15:40:47 +08:00
William Cheng
ac7ebf67dd
Prepare 6.2.1 ( #13517 )
...
* update to 6.2.1-SNAPSHOT
* update samples
* update doc
2022-09-25 00:10:30 +08:00
William Cheng
24f476a381
prepare 6.2.0 release ( #13514 )
...
* set release version to 6.2.0
* update samples
* comment out rust server test in travis
2022-09-24 21:44:42 +08:00
Jacob Halsey
e6dd608897
Rust: Issue #13453 - Empty enum variant names ( #13454 )
2022-09-20 22:52:13 +08:00
William Cheng
928070c57a
Prepare 6.1.1 SNAPSHOT version ( #13399 )
...
* prepare v6.1.1
* update samples
* update doc
2022-09-11 19:08:23 +08:00
William Cheng
43dbb5ff9c
6.1.0 release ( #13398 )
2022-09-11 17:16:07 +08:00
Jacob Halsey
dc7ae051b8
[rust] [rust-server] Add AbstractRustCodegen ( #13231 )
...
* Add AbstractRustCodegen
* Fix minor bug
* Fix copy-pasting mistake
* Simplify addApiNamePrefixAndSuffix
2022-08-26 12:11:19 +08:00
Jacob Halsey
6d82ac0806
[rust]: Remove unmaintained samples and specs ( #13193 )
...
* [rust]: Remove unmaintained samples and specs
* Fix checks
* move test file
* Fix test file
2022-08-19 15:45:48 +08:00
William Cheng
cfb35f97ef
update samples
2022-08-16 15:35:01 +08:00
William Cheng
456d7d0159
Add tests to Rust (hyper, reqwest) clients ( #13165 )
...
* add tests to rust clients
* add new file
2022-08-12 13:50:32 +08:00
Flux Xu
6d1c51c95b
[rust] fix incorrect Cargo.toml generated when supportAsync & withAWSV4Signature are both enabled. ( #13015 )
2022-08-04 00:11:08 +08:00
William Cheng
c26e19cbc0
Revert "Add support for string response deserialization ( #12910 )"
...
This reverts commit b8524bee232a55e28693354ab543b91e3f65629a.
2022-07-21 12:58:46 +08:00
Emanuele Saccomandi
b8524bee23
Add support for string response deserialization ( #12910 )
...
* Add support for string response deserialization
* updated samples
* updated samples
* realigned to master
* fix: errors were not getting thrown
* updated samples
* fix: errors were not getting thrown
* updated samples
2022-07-21 12:45:50 +08:00
William Cheng
b88666b87a
add uuid test, better hyper test ( #12916 )
2022-07-19 11:22:29 +08:00
Taufik Rama
4ee336a9da
[Rust] Changed 'UUID' handling into 'uuid' crate ( #12895 )
...
* [Rust] Changed 'UUID' handling into 'uuid' crate
* [Rust] updated 'samples/'
2022-07-19 11:03:53 +08:00
William Cheng
5aa0e0a456
update samples
2022-07-13 17:32:31 +08:00
devhl-labs
636820b541
Add nonNullableVars to CodegenModel ( #12815 )
...
* added nonNullableVars
* build samples
2022-07-13 16:48:23 +08:00
William Cheng
574f6f3192
fix tests ( #12820 )
2022-07-10 17:16:45 +08:00
William Cheng
bf2083c22f
add new rust test files
2022-07-10 16:14:44 +08:00
William Cheng
e93be506da
upadte samples
2022-07-10 16:00:25 +08:00
William Cheng
82b7859c19
add tests for rust nullable required parameter ( #12814 )
2022-07-10 15:54:33 +08:00
Justin Black
35c31c129a
Fixes rust sample so CI test will pass ( #12817 )
2022-07-09 17:32:11 -04:00
William Cheng
5bd94b8fa0
prepare 6.1.x
2022-05-26 12:58:25 +08:00
William Cheng
36a9cf394d
update samples ( #12466 )
2022-05-26 12:13:59 +08:00
William Cheng
69f79fb789
Prepare 6.0.0 release ( #12463 )
...
* prepare 6.0.0 release
* update samples
* update meta codegen
2022-05-26 10:28:01 +08:00
William Cheng
2d4a01aa70
Revert "Prepare 6.0.0 beta release ( #12039 )"
...
This reverts commit 914b539eea7097ad2b4323d20c8f95144782cb68.
2022-04-04 12:17:12 +08:00
William Cheng
914b539eea
Prepare 6.0.0 beta release ( #12039 )
...
* update to 6.0.0-beta
* update samples
2022-04-04 10:29:49 +08:00
Jérôme Jutteau
21f649e087
[Rust] Support for withAWSV4Signature option ( #11690 )
...
* [rust] add support for withAWSV4Signature option in reqwest (#11193 )
Signed-off-by: Jérôme Jutteau <jerome.jutteau@outscale.com>
* [rust] add petstore sample for withAWSV4Signature option for reqwest (#11193 )
Signed-off-by: Jérôme Jutteau <jerome.jutteau@outscale.com>
* [rust] update all samples (#11193 )
Signed-off-by: Jérôme Jutteau <jerome.jutteau@outscale.com>
2022-03-02 01:20:58 +08:00
William Cheng
df05e6f4bc
Update parser to 2.0.29 ( #11388 )
...
* update parser to 2.0.29
* better handling of null in dereferencing
* update parser to 2.0.30
* update core to newer version
* add new files
* rollback to previous stable version
* remove files
* Fixes for python-experimental NullableShape component
Co-authored-by: Justin Black <justin.a.black@gmail.com>
2022-02-21 18:37:52 +08:00
William Cheng
12e03b1937
Merge remote-tracking branch 'origin/master' into 6.0.x
2022-01-02 15:41:37 +08:00
William Cheng
d485391051
update rust samples
2021-12-29 11:54:45 +08:00