title: ServiceStack + .NET Core + Kestrel = Swagger (OpenAPI) not working
body: <p>I am trying to create a ServiceStack REST API project.  So far I have everything working except Swagger (OpenAPI).  When I load the Swagger UI it shows no APIs and I can see from the /openapi endpoint that there are no APIs discovered.</p>
  
  <p>The /metadata endpoint is working fine, except for the "Swagger UI" link.</p>
  
  <p>I have cut the code to the minimum:</p>
  
  <pre><code>using System;
  using System.IO;
  using Microsoft.AspNetCore.Builder;
  using Microsoft.AspNetCore.Hosting;
  using Microsoft.Extensions.Logging;
  using ServiceStack;
  using ServiceStack.Api.OpenApi;
  using ServiceStack.Host.Handlers;
  
  namespace ApiTest
  {
      class Program {
  
          [Route("/hello/{Name}", "GET", Summary = @"Hello somebody", Notes = @"Welcomes the caller")]
          public class Hello : IReturn&lt;HelloResponse&gt; {
              [ApiMember(Name="Name", Description = "Name of the caller", IsRequired = true)]
              public string Name { get; set; }
          }
  
          public class HelloResponse {
              public string Result { get; set; }
          }
  
          public class HelloService : Service
          {
              public object Any(Hello request) 
              {
                  return new HelloResponse { Result = "Hello, " + request.Name };
              }
          }
  
          //Define the Web Services AppHost
          public class AppHost : AppHostBase {
              public AppHost() 
              : base("HttpListener Self-Host", typeof(HelloService).Assembly) { }
  
              public override void Configure(Funq.Container container) {
                  Plugins.Add(new OpenApiFeature());
              }
          }
  
          static void Main(string[] args)
          {
              var host = new WebHostBuilder()
                  .UseKestrel()
                  .UseContentRoot(Directory.GetCurrentDirectory())
                  .UseStartup&lt;Startup&gt;()
                  .Build();
  
              host.Run();
          }
  
          public class Startup
          {
              public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
              {
                  app.UseServiceStack(new AppHost());
                  app.Use(new RequestInfoHandler());
              }
          }
      }
  }
  </code></pre>
  
  <p>Any suggestions?</p>
  
  <p>BTW here is my project file; also kept to a bare minimum:</p>
  
  <pre><code>&lt;Project Sdk="Microsoft.NET.Sdk"&gt;
  
    &lt;PropertyGroup&gt;
      &lt;OutputType&gt;Exe&lt;/OutputType&gt;
      &lt;TargetFramework&gt;netcoreapp2.0&lt;/TargetFramework&gt;
      &lt;RestoreSources&gt;https://www.myget.org/F/servicestack;$(RestoreSources)&lt;/RestoreSources&gt;
    &lt;/PropertyGroup&gt;
  
    &lt;ItemGroup&gt;
      &lt;PackageReference Include="ServiceStack.Core"&gt;
        &lt;Version&gt;1.0.*&lt;/Version&gt;
      &lt;/PackageReference&gt;
  
      &lt;PackageReference Include="ServiceStack.Common.Core"&gt;
        &lt;Version&gt;1.0.*&lt;/Version&gt;
      &lt;/PackageReference&gt;
  
      &lt;PackageReference Include="ServiceStack.Client.Core"&gt;
        &lt;Version&gt;1.0.*&lt;/Version&gt;
      &lt;/PackageReference&gt;
  
      &lt;PackageReference Include="ServiceStack.Interfaces.Core"&gt;
        &lt;Version&gt;1.0.*&lt;/Version&gt;
      &lt;/PackageReference&gt;
  
      &lt;PackageReference Include="ServiceStack.Api.OpenApi.Core"&gt;
        &lt;Version&gt;1.0.*&lt;/Version&gt;
      &lt;/PackageReference&gt;
  
      &lt;PackageReference Include="ServiceStack.Text.Core"&gt;
        &lt;Version&gt;1.0.*&lt;/Version&gt;
      &lt;/PackageReference&gt;
  
      &lt;PackageReference Include="ServiceStack.Kestrel"&gt;
        &lt;Version&gt;1.0.*&lt;/Version&gt;
      &lt;/PackageReference&gt;
    &lt;/ItemGroup&gt;
  
  &lt;/Project&gt;
  </code></pre>