pub fn bearer_format<S: Into<String>>(mut self, bearer_format: S) -> Self {
        if self.scheme == HttpAuthScheme::Bearer {
            self.bearer_format = Some(bearer_format.into());
        }

        self
    }
/// Add or change informative bearer format for http security schema.
///
/// This is only applicable to [`HttpAuthScheme::Bearer`].
///
/// # Examples
///
/// Add JTW bearer format for security schema.
/// ```rust
/// # use utoipa::openapi::security::{HttpBuilder, HttpAuthScheme};
/// HttpBuilder::new().scheme(HttpAuthScheme::Bearer).bearer_format("JWT").build();
/// ```
Add or change informative bearer format for http security schema.
This is only applicable to [`HttpAuthScheme::Bearer`].
Add or change informative bearer format for http security schema . This is only applicable to [ ` HttpAuthScheme :: Bearer ` ] .
pub fn bearer_format<S: Into<String>>(mut self, bearer_format: S) -> Self {
        if self.scheme == HttpAuthScheme::Bearer {
            self.bearer_format = Some(bearer_format.into());
        }
        self
    }
pub fn bearer_format < S : Into < String > > ( mut self , bearer_format : S ) -> Self { if self . scheme == HttpAuthScheme :: Bearer { self . bearer_format = Some ( bearer_format . into ( ) ) ; } self }
Add or change informative bearer format for http security schema.
Add or change informative bearer format for http security schema .
mut self
bearer_format
S
examples
Add JTW bearer format for security schema.
Add JTW bearer format for security schema .
use utoipa::openapi::security::{httpbuilder, httpauthscheme};
None