Create one code client / flatten controllers with NSwag and AutoREST
问题 I'm trying to create a code wrapper for an api with NSwag and Autorest. Previously I was using Swashbuckle to generate the swagger file. It generated the swagger file with operationIds in the format actionMethod . This resulted in Autorest generating a code client that was 1-deep. All of the actions were on the top-level class. For various reasons, I needed to change swagger generation to NSwag. This generates operationIds in the format controller_actionMethod . This results in AutoRest