I want to specify a List of dict and the keys of that dicts also in my swagger documentation,
class GetCustomerDetailsByIdPOUT(BaseModel):
profileData: Customer
scanData : Reports
Scan: list
Currently, I am getting this
"Scan": [
"string"
]
You can also see in the image
I want something like this
"scans": [
{
"id": 0,
"cameraId": 0,
"reportId": 0,
"sequenceNo": 1,
"raw": [
"string"
],
"spectrum": 1,
"view": 1
}
]
