Is it possible to use nswag an generate custom constructor with additional param. When I run nswag to generate api client, I got this ctor:
WeatherClient(IConfiguration configuration, HttpClient httpClient)
how can I generate api client with this constructor:
WeatherClient(IConfiguration configuration, HttpClient httpClient, IMemoryCache memoryCache)
I know in nswag file I can set configuration class but how can I configure so I can have IMemoryCache injected in this generated client.