We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Group operations into meaningful chunks via Rust structs.
given a file named: some_api.rs
some_api.rs
and operation fn defined as:
pub fn some_operation0(configuration: &configuration::Configuration,) -> Result<models::SomeData0, Error<SomeError>> ... pub fn some_operation1(configuration: &configuration::Configuration,) -> Result<models::SomeData1, Error<SomeError>> ...
group operations togetrher in a SomeApi struct:
SomeApi
pub struct SomeApi; impl SomeApi { pub fn some_operation0(configuration: &configuration::Configuration,) -> Result<models::SomeData0, Error<SomeError>> ... pub fn some_operation1(configuration: &configuration::Configuration,) -> Result<models::SomeData1, Error<SomeError>> ... }
Leaving the generator as is.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Is your feature request related to a problem? Please describe.
Group operations into meaningful chunks via Rust structs.
Describe the solution you'd like
given a file named:
some_api.rs
and operation fn defined as:
group operations togetrher in a
SomeApi
struct:Describe alternatives you've considered
Leaving the generator as is.
Additional context
The text was updated successfully, but these errors were encountered: