Merge pull request #17988 from caike/master

Add guides for `required` model generator option