title: Why is HttpRepl unable to find an OpenAPI description? The command "ls" does not show available endpoints
body: <p>I am working through the Microsoft Learn tutorials to &quot;<a href="https://docs.microsoft.com/en-us/learn/modules/build-web-api-aspnet-core/3-exercise-create-web-api" rel="noreferrer">Create a web API with ASP.Net Core</a>&quot;.</p>
  <p>Under the heading, &quot;Build and test the web API&quot;, at instruction (5) I am getting a response, &quot;Unable to find an OpenAPI description&quot;.</p>
  <p>For step (6) when executing the &quot;ls&quot; command I get the response, &quot;No directory structure has been set, so there is nothing to list. Use the 'connect' command to set a directory structure based on an OpenAPI description&quot;. I have tried the &quot;connect&quot; command suggested here and have tried &quot;dir&quot; as an alternative to &quot;ls&quot;.</p>
  <p>I can successfully change directories in step (7) and execute the GET request for step (8) and receive the expected reply. However, it really bothers me the &quot;ls&quot; command is not working here and seems like an important function of the httprepl tool.</p>
  <p>How can I get the &quot;ls&quot; command to work here or tell me why does it not work?</p>
  <pre><code>C:\Users\xxxx\source\repos\Learn\ContosoPizza&gt;httprepl http://localhost:5000
  (Disconnected)&gt; connect http://localhost:5000
  Using a base address of http://localhost:5000/
  Unable to find an OpenAPI description
  For detailed tool info, see https://aka.ms/http-repl-doc
  
  http://localhost:5000/&gt; ls
  No directory structure has been set, so there is nothing to list. Use the &quot;connect&quot; command to set a directory structure based on an OpenAPI description.       
  
  http://localhost:5000/&gt;
  </code></pre>
  <p>ADDED RESULTS OF SUGGESTIONS--</p>
  <pre><code>C:\Users\xxxx\source\repos\Learn\ContosoPizza&gt;dotnet --version
  3.1.412
  
  C:\Users\xxxx\source\repos\Learn\ContosoPizza&gt;dotnet add WebAPI.csproj package Swashbuckle.AspNetCore -v 5.6.3
  Could not find project or directory `WebAPI.csproj`.
  </code></pre>
  <p><a href="https://github.com/dotnet/HttpRepl" rel="noreferrer">httprepl GitHub repo</a> and <a href="https://docs.microsoft.com/en-us/aspnet/core/web-api/http-repl/?view=aspnetcore-5.0&amp;tabs=windows" rel="noreferrer">MS Docs page</a></p>