You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dup of #1459. TL;DR this version defaults to honoring System.Text.Json (as opposed to Newtonsoft) serializer behavior. You need to expicitly opt-in to honoring Newtonsoft as described here in the readme
Swagger api for an endpoint that accepts an enum query is generated as in values.
I'm with Swashbuckle.AspNetCore.SwaggerGen 5.0.0 and netcoreapp2.2
The enum I use
My controller
Generated swagger api
Swashbuckle.AspNetCore.SwaggerGen 4.0.0 used to generate proper enum values
The text was updated successfully, but these errors were encountered: