Closed aibars closed 4 years ago
Hi,
Did you find any solution for path root constraint null exception problem.
Regards, Abhishek.
HI Abhishek,
I'm sorry, but we stopped using OData on the project I'm working on approximately a year ago. So, I didn't insist too much on this after I had this issue.
Thank you
Hi,
Bump, we are facing the same issue :(
Hi,
I have the following question. I have a normal versioned Web API application which I have added recently some OData controllers to it. Such controllers work fine. The solution also has Swashbuckle configured. I now want to be able to list the OData controllers and endpoints as well. The problem is that after adding the configuration on the example here, I'm getting a
NullReferenceException
on the following line fromHttpConfigurationExceptions
in theGetODataRootContainer
method:It seems that the oDataRoute.PathRouteConstraint is null. Could you tell me what am I doing wrong? The app does not use OWIN.
Here's my Swagger config:
Thank you. Agustín