From f2179cc9071c4e95c307f7506e764ada9f484052 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 11 Aug 2022 19:39:44 -0700 Subject: re-codegen fatcat-openapi module this includes manual reconsiliation of cargo deps (Cargo.toml) --- fatcat-openapi/src/context.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fatcat-openapi/src/context.rs') diff --git a/fatcat-openapi/src/context.rs b/fatcat-openapi/src/context.rs index d782855..33702b8 100644 --- a/fatcat-openapi/src/context.rs +++ b/fatcat-openapi/src/context.rs @@ -102,9 +102,9 @@ where { use std::ops::Deref; - use swagger::auth::Basic; - if let Some(basic) = swagger::auth::from_headers::(&headers) { - let auth_data = AuthData::Basic(basic); + use swagger::auth::Bearer; + if let Some(bearer) = swagger::auth::from_headers::(&headers) { + let auth_data = AuthData::Bearer(bearer); let context = context.push(Some(auth_data)); let context = context.push(None::); -- cgit v1.2.3