pub fn urls(mut self, urls: Vec<(Url<'static>, OpenApi)>) -> Self {
        self.urls = urls;

        self
    }
/// Add multiple [`Url`]s to Swagger UI.
///
/// Takes one [`Vec`] argument containing tuples of [`Url`] and [`OpenApi`].
///
/// Situations where this comes handy is when there is a need or wish to separate different parts
/// of the api to separate api docs.
///
/// # Examples
///
/// Expose multiple api docs via Swagger UI.
/// ```rust
/// # use utoipa_swagger_ui::{SwaggerUi, Url};
/// # use utoipa::OpenApi;
/// # #[derive(OpenApi)]
/// # #[openapi(handlers())]
/// # struct ApiDoc;
/// # #[derive(OpenApi)]
/// # #[openapi(handlers())]
/// # struct ApiDoc2;
/// let swagger = SwaggerUi::new("/swagger-ui/{_:.*}")
///     .urls(
///       vec![
///          (Url::with_primary("api doc 1", "/api-doc/openapi.json", true), ApiDoc::openapi()),
///          (Url::new("api doc 2", "/api-doc/openapi2.json"), ApiDoc2::openapi())
///     ]
/// );
/// ```
Add multiple [`Url`]s to Swagger UI.

Situations where this comes handy is when there is a need or wish to separate different parts
of the api to separate api docs.
Add multiple [ ` Url ` ] s to Swagger UI . Situations where this comes handy is when there is a need or wish to separate different parts of the api to separate api docs .
pub fn urls(mut self, urls: Vec<(Url<'static>, OpenApi)>) -> Self {
        self.urls = urls;
        self
    }
pub fn urls ( mut self , urls : Vec < ( Url < ' static > , OpenApi ) > ) -> Self { self . urls = urls ; self }
Add multiple [`Url`]s to Swagger UI.
Add multiple [ ` Url ` ] s to Swagger UI .
mut self
urls
Vec<(Url<'static>, OpenApi)>
examples
Expose multiple api docs via Swagger UI.
Expose multiple api docs via Swagger UI .
use utoipa_swagger_ui::{swaggerui, url};
None
use utoipa::openapi;
None
#[derive(openapi)]
None
#[openapi(handlers())]
None
struct apidoc;
None
#[derive(openapi)]
None
#[openapi(handlers())]
None
struct apidoc2;
None