Наконец-то я могу решить проблему с кодом ниже
nested_fields = api.schema_model('NestedModel', {'name': fields.String})
person = address = api.schema_model('Person', {
'required': ['address'],
'properties': {
'name': {
'type': 'string'
},
'age': {
'type': 'integer'
},
'birthdate': {
'type': 'string',
'format': 'date-time'
},
'address': {
'properties': {
'arguments': {
'type': 'array',
'items': {
}
}
},
'type': 'object'
}
},
'type': 'object'
})