pub fn new<P: Into<Cow<'static, str>>>(path: P) -> Self {
        Self {
            path: path.into(),
            urls: Vec::new(),
            oauth: None,
        }
    }
/// Create a new [`SwaggerUi`] for given path.
///
/// Path argument will expose the Swagger UI to the user and should be something that
/// the underlying application framework / library supports.
///
/// # Examples
///
/// Exposes Swagger UI using path `/swagger-ui` using actix-web supported syntax.
///
/// ```rust
/// # use utoipa_swagger_ui::SwaggerUi;
/// let swagger = SwaggerUi::new("/swagger-ui/{_:.*}");
/// ```
Create a new [`SwaggerUi`] for given path.
Path argument will expose the Swagger UI to the user and should be something that
the underlying application framework / library supports.
Create a new [ ` SwaggerUi ` ] for given path . Path argument will expose the Swagger UI to the user and should be something that the underlying application framework / library supports .
pub fn new<P: Into<Cow<'static, str>>>(path: P) -> Self {
        Self {
            path: path.into(),
            urls: Vec::new(),
            oauth: None,
        }
    }
pub fn new < P : Into < Cow < ' static , str > > > ( path : P ) -> Self { Self { path : path . into ( ) , urls : Vec :: new ( ) , oauth : None , } }
Create a new [`SwaggerUi`] for given path.
Create a new [ ` SwaggerUi ` ] for given path .
path
P
examples
Exposes Swagger UI using path `/swagger-ui` using actix-web supported syntax.


Exposes Swagger UI using path ` / swagger - ui ` using actix - web supported syntax .
use utoipa_swagger_ui::swaggerui;
None