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
167
stars
38
forks
source link
make PS1 scripts friendly to PowerShell 7 when encountering exception. #168
$response = $_.Exception.Response.GetResponseStream()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Method invocation failed because [System.Net.Http.HttpResponseMessage] does not contain a method named
| 'GetResponseStream'.
Current in PwSh.exe, when http exception occurs: