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

FEATURE Support for Swashbuckle.AspNetCore 5.0.0-beta or later #2

Closed Advitalitum closed 4 years ago

Advitalitum commented 4 years ago

Will there be support for Swashbuckle.AspNetCore 5.0.0-beta or later?

unchase commented 4 years ago

Yes, I’ll add this feature soon (along with the release version of Swashbuckle.AspNetCore 5.0.0).

ZeVS777 commented 4 years ago

as for now, I have a workaround like this: https://gist.github.com/ZeVS777/55e0139f9533976c1ae15d24fb0f32f5

It does not support Description attribute, and in this solution DisplayEnumsWithValuesDocumentFilter depends on XEnumNamesSchemaFilter. So you can only add options.AddEnumsWithValuesFixFilters()

tested for enum parameters (body, query, head, path) using Swashbuckle.AspNetCore 5.0.0-rc

andreslozadamosto commented 4 years ago

There is no fix deployed yet, right?

unchase commented 4 years ago

Waiting Swashbuckle.AspNetCore release version.

amphasis commented 4 years ago

Waiting Swashbuckle.AspNetCore release version.

Swashbuckle.AspNetCore released 24 days ago. When does Extensions release planned?

unchase commented 4 years ago

@amphasis In a process. I plan to complete it on this weekend.