-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Rust][Client] Unify sync/async client structure (#6753)
* Unify sync/async client structure (configuration as first param instead of a struct). * Fix: Hyper client requires the client.rs file. Co-authored-by: Henning Holm <git@henningholm.de> * Add API method comments (description and/or notes when available). Co-authored-by: Henning Holm <git@henningholm.de>
- Loading branch information
1 parent
6224f5e
commit fa72c63
Showing
20 changed files
with
1,300 additions
and
1,534 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
471 changes: 219 additions & 252 deletions
471
modules/openapi-generator/src/main/resources/rust/reqwest/api.mustache
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 0 additions & 52 deletions
52
modules/openapi-generator/src/main/resources/rust/reqwest/client.mustache
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,5 +40,4 @@ pub fn urlencode<T: AsRef<str>>(s: T) -> String { | |
|
||
pub mod default_api; | ||
|
||
pub mod client; | ||
pub mod configuration; |
Oops, something went wrong.