Add guides for `required` model generator option.

Related to this PR #16062

[ci skip]
Merge pull request #17988 from caike/master

Add guides for `required` model generator option