我使用drf-yasg库为开发人员前端生成项目文档。我不知道如何将我的数据添加到字段参数和响应
比如这个类
class VendorsCreateView(APIView):
"""
:param:
data = {
"vendor_name": "TestName",
"country": "Belarus",
"nda": "2020-12-12",
"parent": "",
"contacts": [{"contact_name": "Mrk", "phone": "2373823", "email": "dRqT@rgmail.com"},
{"contact_name": "Uio", "phone": "34567", "email": "rdq@gmail.com"}
]
}
:return: swagger name
"""
如何添加这些参数?