forked from loafle/openapi-generator-original
* If required and readonly, a field should be optional. This is to allow people to get and easily put back. * Use list instead of array, use String instead of kotlin.String etc * Update samples * code review: fix annotation formatting * code review: revert change to use listOf