Closed
Description
Using WebApi and oData v4. Getting exception in MultipleVersion block for EF models having navigation property. Do I have add IncludeNavigationPropery in Swagger Config file or exclude controllers having navigation property? Please advise!
The invoked member is not supported before the type is created.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NotSupportedException: The invoked member is not supported before the type is created.
foreach (var group in apiExplorer.ApiDescriptions)....................Line 152: