-
Notifications
You must be signed in to change notification settings - Fork 711
OData Swagger sample broken on 5.0.0 rc1 #670
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
Comments
Thanks for reporting this. This is definitely strange behavior. Here's some things I've discovered:
Under most attribute routing scenarios, the name would probably be I need to think about how this should work. OData 8.0 is almost upon us and I'm coordinating with the team. Depending on the release will depend on whether I promote this to official or defer. There's going to be more changes. Marking this release RC may have been premature (with respect to supporting 8.0). The simplest solution is to add a custom services.AddSwaggerGen( options => options.CustomOperationIds( api => null ) ); I hope that helps - for now. |
Alright, brilliant! Thanks (again) for the quick workaround. Good luck fixing it for good 👍 |
I'll be swapping out the use of the |
Hi,
I just cloned the newest version and started the Core Swagger OData sample.
Repro:
Expected behavior:
Only the selected definition expands in the UI
Actual behavior:
Every Acme definition expands.
I've crossed paths with this before, but can't really guess what is the problem. The behaviour is present in 5.0.0 rc1.
Probably related: swagger-api/swagger-ui#5032
The text was updated successfully, but these errors were encountered: