diff --git a/lib/open_api_spex/plug/swagger_ui.ex b/lib/open_api_spex/plug/swagger_ui.ex index 0ffdbabf..a1b0fea7 100644 --- a/lib/open_api_spex/plug/swagger_ui.ex +++ b/lib/open_api_spex/plug/swagger_ui.ex @@ -63,7 +63,7 @@ defmodule OpenApiSpex.Plug.SwaggerUI do - Swagger UI + <%= config[:title] || "Swagger UI" %> " > @@ -192,6 +192,7 @@ defmodule OpenApiSpex.Plug.SwaggerUI do * `:swagger_ui_js_standalone_preset_url` - Optional. An URL to SwaggerUI JavaScript Standalone Preset. * `:swagger_ui_css_url` - Optional. An URL to SwaggerUI CSS bundle. * all other opts - forwarded to the `SwaggerUIBundle` constructor + * `:title` - Optional. Page title. Defaults to "Swagger UI". ## Example