-
Notifications
You must be signed in to change notification settings - Fork 82
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
upgrade openapi to 1.2.2 (#154) #155
Conversation
Hmm, this looks like a bit of a mess. I guess the OpenApi developers thought that adding a new optional parameter is not a breaking change. I probably would have made the same mistake. I've pulled down your fix locally and it's not working for me - I get the same |
Yeah, optional parameters are a bit tricky :( Hmm, do you get it after recompiling too? I'll double check, but after recompiling it binds to the new 2 parameter ctor normally. Something for this evening :) |
I didn't spend too long on it but yes I pulled down your changes, did a Build -> Clean, and still hit the exception. |
Ah but it seems now it is being thrown from
Let me check, this has still a dep on 5.0.0 and they are at 5.5.0 |
domaindrivendev/Swashbuckle.AspNetCore#1717 Let's see if we can get it moving: https://twitter.com/cumpsd/status/1275852096185778176 |
I've updated the PR to pin on 1.1.4 until they fix it. It runs now :) |
Wait a bit with merging @mattfrear, I'm fixing it at the source: microsoft/OpenAPI.NET#492 |
@mattfrear ready! MS released 1.2.2 with all the breaking changes solved. |
Nice work David, thanks! I've released it https://www.nuget.org/packages/Swashbuckle.AspNetCore.Filters/5.1.2 |
Fix for #154