Open themultiplexer opened 6 years ago
The JArray problem was an actual bug, but this here shouldnt be fixed the same way... Your controller must somehow expose this class (e.g. in a base class?).
I searched for "HttpApplicationStateBase" and "HttpApplicationState" but got 0 results and an empty project also leads to this exception. The Global.asax Class is actually a HttpApplication so that may be the problem...
I am using NSwag it self as a Controller now and it works perfectly 👍 As this is not a problem with ASP.NET Core you may close this according to me.
I am trying to generate a specification for a .NET Assembly with NSwagStudio. It works for simple Data Transfer Objects but when I select a Controller this happens:
My controller does not use a HttpApplicationStateBase but I suggest, that it gets loaded anyway.
I think this is the problem:
Can you fix it for HttpApplicationStateBase as for JArray in #755
Reproduction: