setMaxFields

public final void setMaxFields(int value)

Maximum total number of properties across the whole generated schema, counting nested objects and union variants. Schemas exceeding the bound are truncated, keeping the most relevant fields first. Values above 200 are clamped to 200. Default is 50.

Parameters

value

The value to set for the MaxFields property.