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
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
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
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
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
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
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
Justin Black
ac55ac9d55
Samples and docs regenerated ( #11194 )
2021-12-28 11:39:13 -08:00
William Cheng
6269a9810c
Prepare 5.3.1 release ( #11161 )
...
* prepare v5.3.1 release
* update samples
2021-12-21 18:20:13 +08:00
WILLIAM CHENG
eb75515715
Merge branch '5.4.x' into 6.0.x
2021-11-21 09:50:47 +08:00
WILLIAM CHENG
78fe5dc427
Merge remote-tracking branch 'origin/master' into 5.4.x
2021-11-21 09:43:21 +08:00
WILLIAM CHENG
70737fb1e6
update rust samples
2021-11-11 14:30:32 +08:00
WILLIAM CHENG
42f4e863b7
prepare 5.4.0-SNAPSHOT
2021-10-25 12:13:33 +08:00
William Cheng
378465702c
Prepare v5.3.1 in the master ( #10681 )
...
* prepare v5.3.1
* update doc
* update readme
2021-10-25 01:16:07 +08:00
William Cheng
0bfa28f844
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-10-06 12:00:02 +08:00
William Cheng
d22e9fb1c1
update rust samples
2021-09-28 11:34:07 +08:00
Pi Delport
5096a00087
Rust client docs improvements ( #10461 )
...
* docs(rust,client): link from parameter structs to operation methods
* docs(rust,client): move "more information" text up
This prevents the "more information" text from flowing into the previous
bullet point.
* docs(rust,client): use code formatting for generatorClass
* docs(rust,client): use packageName variable for Cargo.toml dependencies example
* chore(rust,client): capture sample updates
2021-09-24 01:03:01 +08:00
Pi Delport
31342580cb
feat(rust,client): derive Default for operation parameter structs ( #10432 )
...
* feat(rust,client): derive Default for model & api structs
This makes operations with many parameters easier to work with.
* chore(rust,client): capture sample changes: derive Default
2021-09-23 11:31:09 +08:00
William Cheng
acd747ca6d
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-09-22 12:13:44 +08:00
Pi Delport
de95e2a144
fix(rust,client): re-enable TLS support for reqwest with supportAsync ( #10439 )
...
* fix(rust,client): keep default reqwest features with supportAsync
This avoids disabling TLS support entirely.
* chore(rust,client): capture sample changes
This avoids disabling TLS support entirely.
2021-09-22 12:08:56 +08:00
Pi Delport
2bd20a08de
fix(rust,client): use local_var prefix for configuration ( #10419 )
...
* fix(rust,client): use local_var prefix for configuration
This avoids conflicting with params named "configuration".
* chore(rust,client): capture updated samples
2021-09-19 11:44:42 +08:00