getMaxNestingDepth

public final int getMaxNestingDepth()

Maximum object nesting depth of the generated schema. Structures deeper than the bound are flattened. The root object is depth one. Dialect presets may cap this further (OpenAI strict mode and the portable intersection allow at most five levels). Default is three.

Return

The value of the MaxNestingDepth property.