Skip to content

Commit

Permalink
chore: comment out example which is specific to api...
Browse files Browse the repository at this point in the history
Signed-off-by: Tiago Castro <[email protected]>
  • Loading branch information
tiagolobocastro committed Jan 26, 2024
1 parent 5cff577 commit fa44647
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ async fn main() {
Some(1),
)
.unwrap();
let client = openapi::clients::tower::ApiClient::new(config);
let _client = openapi::clients::tower::ApiClient::new(config);
match client.nodes_api().get_nodes().await {
Ok(resp) => {
println!("resp: {resp:#?}");
}
Err(resp) => {
println!("resp: {resp:#?}");
}
}
// match client.nodes_api().get_nodes().await {
// Ok(resp) => {
// println!("resp: {resp:#?}");
// }
// Err(resp) => {
// println!("resp: {resp:#?}");
// }
// }
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub struct ApiClient {
{{/apiInfo}}
}

/// Same as `ApiClient` but returns the body directly
/// Same as `ApiClient` but returns the body directly.
pub mod direct {
#[derive(Clone)]
pub struct ApiClient {
Expand Down

0 comments on commit fa44647

Please sign in to comment.