I am using Swashbuckle to generate Swagger in my .Net Core WebAPI project. As you can see below, it generates a GUID of type string. I would like to generate a random Guid and replace "string" with "" or an empty guid "00000000-0000-0000-0000-000000000000". This would allow my example to actually work when I post it.
{
"payload": [
{
"GUID": "string",
"status": "string"
}
]
}
while I am at it, would it be possible to the same with any string so that JSON is different each time?
GUID
property defined in your C# code? – Madura