diff options
| author | LukePulverenti <luke.pulverenti@gmail.com> | 2013-03-04 22:34:02 -0500 |
|---|---|---|
| committer | LukePulverenti <luke.pulverenti@gmail.com> | 2013-03-04 22:34:02 -0500 |
| commit | 4c725e69a8bb96da1f69fc3d958c680b77712f81 (patch) | |
| tree | f3c401132177e5f88c029fc1400866f8e6d31737 /MediaBrowser.ServerApplication/MainWindow.xaml.cs | |
| parent | 32ba557fe5293001b6c89d522e44ee92362a6390 (diff) | |
added swagger api docs
Diffstat (limited to 'MediaBrowser.ServerApplication/MainWindow.xaml.cs')
| -rw-r--r-- | MediaBrowser.ServerApplication/MainWindow.xaml.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/MediaBrowser.ServerApplication/MainWindow.xaml.cs b/MediaBrowser.ServerApplication/MainWindow.xaml.cs index 22695602c..8306ec541 100644 --- a/MediaBrowser.ServerApplication/MainWindow.xaml.cs +++ b/MediaBrowser.ServerApplication/MainWindow.xaml.cs @@ -162,6 +162,12 @@ namespace MediaBrowser.ServerApplication Kernel.Instance.WebApplicationName + "/metadata"); } + void cmdSwaggerApiDocs_Click(object sender, EventArgs e) + { + App.OpenUrl("http://localhost:" + _configurationManager.Configuration.HttpServerPortNumber + "/" + + Kernel.Instance.WebApplicationName + "/swagger-ui/index.html"); + } + /// <summary> /// Occurs when [property changed]. /// </summary> |
