ngx-admin-bundle-support icon indicating copy to clipboard operation
ngx-admin-bundle-support copied to clipboard

API documentation not working (Swagger)

Open robledosm opened this issue 6 years ago • 3 comments

The url on INSTRUCTION_BACKEND.pdf returns 404 error. I have replaced the <api_url> placeholder with the url where the api is running on my local

image

robledosm avatar Oct 16 '19 16:10 robledosm

this works for me: http://localhost:52471/swagger/index.html

CorpSmart avatar Jan 23 '20 19:01 CorpSmart

Yep, the documentation needs a refresher.

MIchaelMainer avatar May 01 '20 16:05 MIchaelMainer

For .Net bundle, I suggest an update to launchsettings.json to include the launchUrl setting:

    "ECommerce.WebApiCore": {
      "commandName": "Project",
      "launchBrowser": true,
      "launchUrl": "https://localhost:5001/swagger/index.html",
      "environmentVariables": {
        "ASPNETCORE_ENVIRONMENT": "Development"
      },
      "applicationUrl": "https://localhost:5001;http://localhost:5000"
    }

MIchaelMainer avatar Jul 28 '20 01:07 MIchaelMainer