zijianhuang / webapiclientgen

Strongly Typed Client API Generators generate strongly typed client APIs in C# .NET and in TypeScript for jQuery and Angular 2+ from ASP.NET Web API and .NET Core Web API
MIT License
168 stars 38 forks source link

ActionNameAttribute works in .NET but not in .NET Core #77

Closed zijianhuang closed 4 years ago

zijianhuang commented 4 years ago

In .NET, the generated codes respect ActionName, however, the in-source XML generated by ASP.NET scaffolding codes uses the original controller function/action name, thus the lookup for copying the doc to generated codes is missing.

In .NET Core, either using ActionNameAttribute or the Name property of GetAttribute is not working either.

zijianhuang commented 4 years ago

ActionNameAttribute is actually working in both. But I fixed the problem of mapping with in-source docs.