@page "/"
@inject NavigationManager Navigation
Index
@*
Hello, world!
Welcome to your new app, powered by MudBlazor!
You can find documentation and examples on our website here: www.mudblazor.com
/api-docs/index.html
*@
@*
*@
ReDoc version
GitHub version
Display
@code {
private static string GetUrl(string url) => "openapi-ui?url=" + Uri.UnescapeDataString(url);
UrlModel model = new UrlModel();
public class UrlModel
{
public string Url { get; set; } = "";
}
private Task Submit()
{
Navigation.NavigateTo(GetUrl(model.Url));
return Task.CompletedTask;
}
}