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
var schema = new OpenApiSchema();
if (context.Settings.IEEE754Compatible)
{
schema.OneOf = new List<OpenApiSchema>
{
new OpenApiSchema { Type = "number", Format = "decimal" },
new OpenApiSchema { Type = "string" },
};
}
The expected serialization for v2 should look like below: