Oleg Deribas

Results 18 comments of Oleg Deribas

So it looks like NSwag.MSBuild 14.x is not get flagged by Mend/WhiteSource any more after #4561 is merged. I guess this issue can be closed?

@Numpsy Yes, looks like it is transitional reference. Can be fixed by explicitly referencing it from the project. Can you get a list of all transitional references which need to...

@alvipeo `CreateLogger()` is an extension method so you need to substitute `CreateLogger(string)` (which is called from extension) instead: ```csharp var loggerFactory = Substitute.For(); loggerFactory.CreateLogger(null).ReturnsForAnyArgs(NullLogger.Instance); ``` Or maybe just use `NullLoggerFactory`...

@alvipeo Could you please close this issue if your question was answered?

It looks like it was fixed by #4402 @oduis can you test it with v13.18.3 or later?

Does this cover your needs: https://github.com/RicoSuter/NSwag/wiki/CSharpClientGenerator#extend-the-generated-partial-class ?

So it looks like a problem with the API you're consuming. If it has parameters which need to be passed in HTTP headers, those should be included into the OpenAPI...