Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swashbuckle swagger stops working with beta version #539

Closed
thechadc opened this issue Nov 14, 2016 · 2 comments
Closed

Swashbuckle swagger stops working with beta version #539

thechadc opened this issue Nov 14, 2016 · 2 comments
Labels

Comments

@thechadc
Copy link

After upgrading the to the beta version I receive the following error

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<Error>
<Message>An error has occurred.</Message>
<ExceptionMessage>No non-OData HTTP route registered.</ExceptionMessage>
<ExceptionType>System.InvalidOperationException</ExceptionType>
<StackTrace>
at System.Web.OData.Extensions.HttpConfigurationExtensions.GetNonODataRootContainer(HttpConfiguration configuration) at System.Web.OData.Extensions.HttpRequestMessageExtensions.GetRootContainer(HttpRequestMessage request, String routeName) at System.Web.OData.Extensions.HttpRequestMessageExtensions.CreateRequestScope(HttpRequestMessage request, String routeName) at System.Web.OData.Extensions.HttpRequestMessageExtensions.CreateRequestContainer(HttpRequestMessage request, String routeName) at System.Web.OData.Extensions.HttpRequestMessageExtensions.GetRequestContainer(HttpRequestMessage request) at System.Web.OData.Extensions.HttpRequestMessageExtensions.GetModel(HttpRequestMessage request) at System.Web.OData.ETagMessageHandler.<SendAsync>d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.HttpServer.<SendAsync>d__0.MoveNext()
</StackTrace>
</Error>
@mikepizzo mikepizzo added the P3 label Jun 10, 2017
@robertmclaws
Copy link
Collaborator

By the way, I believe this will be fixed in Swashbuckle.OData 3.4. When it is released, I'll try to circle back and let you know, so you can double-check.

Thanks!

@robertmclaws
Copy link
Collaborator

Closing due to now response. If you're still having the issue with the latest bits, please let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants