Skip to content

Commit

Permalink
#20 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yuka-abn committed Nov 29, 2019
1 parent fe0ec65 commit 235cd57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -8,7 +8,7 @@
<Product />
<Description>Swagger and Swagger UI in Azure Functions by Swashbuckle</Description>
<AssemblyName>AzureFunctions.Extensions.Swashbuckle</AssemblyName>
<Version>1.4.1</Version>
<Version>1.4.2</Version>
<RootNamespace>AzureFunctions.Extensions.Swashbuckle</RootNamespace>
<Copyright>yuka1984</Copyright>
<PackageProjectUrl>https://github.com/yuka1984/azure-functions-extensions-swashbuckle</PackageProjectUrl>
Expand Down
Expand Up @@ -10,7 +10,7 @@ public static class SwashBuckleClientExtension
public static HttpResponseMessage CreateSwaggerDocumentResponse(this ISwashBuckleClient client,
HttpRequestMessage requestMessage, string documentName = "v1")
{
var stream = client.GetSwaggerDocument(requestMessage.RequestUri.Host, documentName);
var stream = client.GetSwaggerDocument(requestMessage.RequestUri.Authority, documentName);
var reader = new StreamReader(stream);
var document = reader.ReadToEnd();

Expand Down

0 comments on commit 235cd57

Please sign in to comment.