Swagger tools for documenting and testing API’s built on ASP.NET Core
- Install Swashbuckle.AspNetCore from nuget
- In Startup.cs (ConfigureServices) add
1 | services.AddMvc(); |
- In Startup.cs (Configure) add
1 | //In the Configure method, insert middleware to expose the generated Swagger as JSON endpoint(s) |
- Run your application and browse to /swagger
Example project this has been added to : https://github.com/charleyza/VodacommessagingXml2sms