Skip to content

Commit 7ec8ad9

Browse files
committed
feat(config): add tls as an alias for client config
1 parent 381b762 commit 7ec8ad9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

htsget-config/src/config/advanced/auth/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ pub struct AuthConfigBuilder {
154154
)]
155155
trusted_authorization_urls: Vec<Uri>,
156156
authorization_path: Option<String>,
157-
#[serde(rename = "http", skip_serializing)]
157+
#[serde(rename = "http", alias = "tls", skip_serializing)]
158158
http_client: Option<HttpClient>,
159159
authentication_only: bool,
160160
#[cfg(feature = "experimental")]

htsget-config/src/config/advanced/url.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pub struct Url {
2424
forward_headers: bool,
2525
#[serde(default)]
2626
header_blacklist: Vec<String>,
27-
#[serde(skip_serializing, default)]
27+
#[serde(alias = "tls", skip_serializing, default)]
2828
http: HttpClientConfig,
2929
#[cfg(feature = "experimental")]
3030
#[serde(skip_serializing, default)]

0 commit comments

Comments
 (0)