mattfrear/Swashbuckle.Examples

Any jsonConverter in SwaggerRequestExample override WebApiConfig in v3.3.1

Closed this issue · 4 comments

As title, when I'm trying to add StringEnumConverter into SwaggerRequestExample it will override my global JsonSerializerSettings in WebApiConfig. Is there anyway to avoid this to override global settings and make it independently.

Hmm that sounds unlikely, it shouldn't do that. I will investigate when I get a chance

Hmm, you're right. I will see if I can come up with a fix. In the meantime, if this is causing you problems, then perhaps downgrade to version 3.0.0 of this package.

Is ok for me, just temporary don't use json converter in swagger request example and it will be fine.