pub fn new<S: AsRef<str>>(url: S) -> Self {
        Self {
            url: url.as_ref().to_string(),
            ..Default::default()
        }
    }
/// Construct a new [`ExternalDocs`].
///
/// Function takes target url argument for the external documentation location.
///
/// # Examples
///
/// ```rust
/// # use utoipa::openapi::external_docs::ExternalDocs;
/// let external_docs = ExternalDocs::new("https://pet-api.external.docs");
/// ```
Construct a new [`ExternalDocs`].
Function takes target url argument for the external documentation location.
Construct a new [ ` ExternalDocs ` ] . Function takes target url argument for the external documentation location .
pub fn new<S: AsRef<str>>(url: S) -> Self {
        Self {
            url: url.as_ref().to_string(),
            ..Default::default()
        }
    }
pub fn new < S : AsRef < str > > ( url : S ) -> Self { Self { url : url . as_ref ( ) . to_string ( ) , .. Default :: default ( ) } }
Construct a new [`ExternalDocs`].
Construct a new [ ` ExternalDocs ` ] .
url
S
examples
None
use utoipa::openapi::external_docs::externaldocs;
None