Permalink
Browse files

Fixed redirecturl, #961

  • Loading branch information...
RSuter committed Dec 6, 2017
1 parent 3c57bbe commit 73bef6bc9d7a578113bb8dc6b115edf1a201508a
@@ -82,7 +82,7 @@
var ui = SwaggerUIBundle({
url: url,
validatorUrl: {ValidatorUrl},
oauth2RedirectUrl: {RedirectUrl},
oauth2RedirectUrl: "{RedirectUrl}",
docExpansion: "{DocExpansion}",
dom_id: '#swagger-ui',
@@ -82,7 +82,7 @@
var ui = SwaggerUIBundle({
url: url,
validatorUrl: {ValidatorUrl},
oauth2RedirectUrl: {RedirectUrl},
oauth2RedirectUrl: "{RedirectUrl}",
docExpansion: "{DocExpansion}",
dom_id: '#swagger-ui',
@@ -29,7 +29,7 @@ public class SwaggerUi3Settings : SwaggerUiSettingsBase
public string DocExpansion { get; set; } = "none";
/// <summary>Gets or sets the server URL.</summary>
public string ServerUrl { get; set; }
public string ServerUrl { get; set; } = "";
internal override string TransformHtml(string html)
{

0 comments on commit 73bef6b

Please sign in to comment.