E27: Mastering External Web API's in ABP with Swagger, ApiExplorer, and NSwag
Channel: Lee Richardson
Date: 2020-05-27

How to expose a second ASP.Net Core Web API in Swagger with Swashbuckle and consume it in a command line app with an NSwag generated Proxy.  Along the way Lee explains:

* How Swashbuckle uses ASP.Net Core's ApiExplorer, 
* How to control which endpoints go in which swagger files using ControllerModelConventions, and
* How to code generate a C# Proxy from a swagger file with Nswag in Cake

A summary of this content is available on a blog post at Lee's Blog: http://www.leerichardson.com/2020/06/securing-external-web-apis-with-api.html

All code is available in the Multiple API's Pull Request (https://github.com/lprichar/LeesStore/pull/15) of the LeesStore (https://github.com/lprichar/LeesStore) demo site.