Skip to content

Commit

Permalink
fix gitcredentials openapi client
Browse files Browse the repository at this point in the history
  • Loading branch information
mach-kernel committed Jul 16, 2024
1 parent 3d264db commit 60f5958
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion databricks-rust-git-credentials/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "databricks_rust_git_credentials"
version = "2.1.1"
version = "2.1.2"
authors = ["OpenAPI Generator team and contributors"]
edition = "2018"

Expand Down
10 changes: 5 additions & 5 deletions databricks-rust-git-credentials/src/apis/default_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ pub async fn create_git_credential(

let local_var_client = &local_var_configuration.client;

let local_var_uri_str = format!("{}/git-credentials", local_var_configuration.base_path);
let local_var_uri_str = format!("{}/2.0/git-credentials", local_var_configuration.base_path);
let mut local_var_req_builder =
local_var_client.request(reqwest::Method::POST, local_var_uri_str.as_str());

Expand Down Expand Up @@ -116,7 +116,7 @@ pub async fn delete_git_credential(
let local_var_client = &local_var_configuration.client;

let local_var_uri_str = format!(
"{}/git-credentials/{credential_id}",
"{}/2.0/git-credentials/{credential_id}",
local_var_configuration.base_path,
credential_id = crate::apis::urlencode(credential_id)
);
Expand Down Expand Up @@ -167,7 +167,7 @@ pub async fn get_git_credential(
let local_var_client = &local_var_configuration.client;

let local_var_uri_str = format!(
"{}/git-credentials/{credential_id}",
"{}/2.0/git-credentials/{credential_id}",
local_var_configuration.base_path,
credential_id = crate::apis::urlencode(credential_id)
);
Expand Down Expand Up @@ -216,7 +216,7 @@ pub async fn get_git_credential_list(

let local_var_client = &local_var_configuration.client;

let local_var_uri_str = format!("{}/git-credentials", local_var_configuration.base_path);
let local_var_uri_str = format!("{}/2.0/git-credentials", local_var_configuration.base_path);
let mut local_var_req_builder =
local_var_client.request(reqwest::Method::GET, local_var_uri_str.as_str());

Expand Down Expand Up @@ -265,7 +265,7 @@ pub async fn update_git_credential(
let local_var_client = &local_var_configuration.client;

let local_var_uri_str = format!(
"{}/git-credentials/{credential_id}",
"{}/2.0/git-credentials/{credential_id}",
local_var_configuration.base_path,
credential_id = crate::apis::urlencode(credential_id)
);
Expand Down

0 comments on commit 60f5958

Please sign in to comment.