unchase / Unchase.Swashbuckle.AspNetCore.Extensions

:hammer: A library contains a bunch of extensions (filters) for Swashbuckle.AspNetCore.
https://www.nuget.org/packages/Unchase.Swashbuckle.AspNetCore.Extensions
Apache License 2.0
115 stars 16 forks source link

fixed schema null object reference #19

Closed chris-tty closed 2 years ago

chris-tty commented 2 years ago

same problem as issue 17 https://github.com/unchase/Unchase.Swashbuckle.AspNetCore.Extensions/issues/17

workaround can be new schema image

this commit add filter Schema != null to bypass this problem

unchase commented 2 years ago

Hi, @chris-tty Thanks for your help. I added the change as a separate commit, since I needed to fix a bug in the CI/CD (appveyor) and increase the version of the library before publishing.

Please check if the issue occurs in the latest version of the library.