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
@marcelstoer do you really need to have this property in your class? If you don't have one, there is no need in it, it can be solved by visible = "false". So, shouldn't the question be rephrased to "why swagger uses visible = true"?
Origin: https://stackoverflow.com/q/50163882/131929
Is it correct that the generator produces a dedicated field for the discriminator?
errorType
is the declared discriminator.When Jackson serializes a
SpecificError
object it includeserrorType
twice:The text was updated successfully, but these errors were encountered: